Developing (v7+)

500 error when opening page attributes

when i want to change page attributes by opening from the page itself, setting, attributes, or by using the sitemap, clicking a page, and then page attributes, both ways i get an 500 error that something thats requested, is returning more than one, anyone…

Thumbnail type in 5.8.0

I'm trying to get thumbnail type by its handle. In 5.7 i'm using like this: [code] $type = \Concrete\Core\File\Image\Thumbnail\Type\Type::getByHandle( 'my_type' ); [/code] But in v5.8 we have [code] \Concrete\Core\Entity\File\Image\Thumbnail\Type…

Adding new block - custom block - best solution?

Hi guys, I am relatively new to Concrete 5 and have a question regarding a layout and the best solution to achieve it. Please see screenshot attached. I would like to create a section where the admin can add new blocks (snippet red outline). My guess …

express_entry_list: Calling an Image/File

I am working on my custom listing (express_entry_list —> boats.php) with express objects from the example boat/marina.I have added an image as attribute in the form. I getting an error when calling an image. I am newbie, so I am sure I have the wrong syn…

Error When Programmatically Creating Express Object Form

Hi, I run provided code for creating Express Objects Form on this document: https://documentation.concrete5.org/developers/express/programmatically-creating-express-objects [code] $student = Express::buildObject('student', 'students', 'Student', $pkg)…

Force a user out of edit mode.

Sometimes my client closes their browser while still in edit mode. Then they call me and ask me to edit the page for them... But I can't, because it says "So and so is currently editing this page". How does one kick everyone out of edit mode?

Output Multiple Express Objects in One List

I am new to this, so I am not fully sure I am asking this right. Taking Andrew’s example of Marina/Boats, let’s say I have another page, where I want to list all the boats with associated marina next to it. I created a templates folder in the express_ent…

Page List filter by multiple attributes OR, not AND

I'm trying to filter a Page List object by multiple attributes but I need them to be inclusive instead of exclusive. So for example if I have 3 select attributes: Fruits: — orange — apple — banana Furniture: — chair — table Languages: — Eng…

Filter Posts