Git Product home page Git Product logo

multi_page_selector_attribute's People

Contributors

dimger avatar mesuva avatar stephenr85 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

multi_page_selector_attribute's Issues

Use on page with 8.3.x?

Trying to fetch the pages on a page, but getting the error: Cannot use object of type Concrete\Core\Page\Page as array

Using this code:

products = $c->getAttribute('products', 'pageLinkArray');

if (!empty($products)) { 
   echo '<ul>';
   foreach($products as $prod) {
       echo '<li><a href="' . $prod['url'] . '">'. $prod['name']. '</a></li>';
   }
   echo '</ul>';
}

Version9/PHP 8 compatibility

This version seems to nearly work with Concrete CMS Version 9 and PHP 8 but while selections can be saved they then don't repopulate the selector when the Composer form is opened again.

Multi Page Selector Attribute :: Concrete 5 8.2 RC2

Cannot use this attribute in single page mode.

Argument 4 passed to Concrete\Core\Form\Service\Widget\PageSelector::selectFromSitemap() must be an instance of Concrete\Core\Entity\Site\SiteTree, array given, called in /packages/multi_page_selector_attribute/attributes/multi_page_selector/controller.php on line 72

work with v8.2 and express ?

hi
i've try to install on v8.2 an work if used as page attribute (but not with raw function).
I've try to use it on an express object but have this error
`Exception Occurred: /concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:131 An exception occurred while executing 'UPDATE CantanteExpressSearchIndexAttributes SET ak_can_link = ? WHERE exEntryID = ?' with params [{"siteTree":null,"cID":"169","error":false,"pkgID":"0","cPointerID":"0","cIsActive":"1","cFilename":null,"ptID":"7","cDisplayOrder":"12","cInheritPermissionsFrom":"PARENT","cOverrideTemplatePermissions":"1","cCheckedOutUID":null,"cIsTemplate":"0","uID":"1","cPath":"/fabri-fibra","cParentID":"1","cChildren":"0","cCacheFullPageContent":"-1","cCacheFullPageContentOverrideLifetime":"0","cCacheFullPageContentLifetimeCustom":"0"}, 4]:

Object of class Concrete\Core\Page\Page could not be converted to string (0)`

any ideas for solve this problem ?
If is possible without rewrite all the code.
thanks

Normalize selected pages into separate table

Right now the selected pages are saved using a comma separated string. That's okay in a lot of situations, but when we want to reverse the whole things, it becomes a bit of a pain.

I basically don't want to see the selected pages, but the pages where the current page has been selected.

I'd like to have another table with basically avID and cID so that we can search for both sides using a SQL query.

What are your thoughts about this?

Update from 8.5.12 to 9.1.3 possible but no functionality

Hello, I updated from 8.5.12 to 9.1.3 the updates was successfully, but you can not use the attribute anymore. If you you use the attribute in composer, the system do not remeber the value. Also the restrictions are not working. Is there any possibilty to fix that? I need this attribute for a project and it is very important to me :) I can also pay you for fixing! Thank you very much in advance! Georg

Error occur while deleting the attribute in Concrete5.8.4

An exception occurred while executing 'DELETE FROM AttributeKeys WHERE akID = ?' with params [99]: SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (concrete5-8.4.0.atemptysettings, CONSTRAINT FK_ED1BF189B6561A7E FOREIGN KEY (akID) REFERENCES attributekeys (akID))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.