Developing (v7+)

CLI debugging question

I have a few C5 scripts that run on the CL and there, therefore, use the C5 program caller of .. [code] concrete/bin/concrete5 c5:exec src/myscript.php [/code] this works ok, but it makes it impossible to debug as I can't run the script from withi…

UserList cannot apply many filters

Hi, I cannot apply many filters on a UserList : $userList->filterByTopicTreeA(123); and then $userList->filterByTopicTreeB(123); Both filters work (A or B), but when I combine them I get en empty list, and I'm sure that some users do have both cr…

Events::addListener question

I can't seem to find an answer to this in info online, so I am hoping someone knows this. My custom 'on_page_update' event listener function seems to be called before the data is written to the database, not after. I change a page attribute from A to…

Editing Topic List display

Hi, I want to change the awful URL associated to Topic Lists. Currently it is /topic/ID/NAME and I want it to be just /NAME Editing the block controller to remove those bits changes the url alright, but when clicked, it doesn't work. Perhaps "topic"…

attributes author permissions

Created a group managers, permissions are set to basic. A manager can add pages and edit them, using composer but can change all other settings. Amongst them is attributes. The attributes pages loads and then gives a permission error. concrete/control…

Too many redirects issue

Hello Everyone, I keep getting the too many redirects issue, sometimes during login to concrete5 sometimes during logout. On opening it in incognito mode it works fine, during logout it causes issue. I have checked in other browser's too, but sti…

Create and moving files to the folder programmatically

Can someone help me on how I can create a folder in FileManager and move a file into that created folder programmatically? As I have learned so far, the new folder feature of Concrete5 has been made on the top of 'Topics'. But the documentation on this f…

Get all sets of for "users"

Hi, I'm simply looking for a list of all sets in the user attributes. I want to rebuild the registration page, but in 5.8 it's very complicated. Any help!? Best, Corretje

Custom Block Based on Legacy Form

Hey all. I'm hoping this is an easy answer for someone. I am trying to create a custom block based on the legacy form block. Ive copied it to my application/blocks folder, changed the name and all the name spaces, modified the db.xml file, and pointed the…

Filter Posts