Developing (v7+)

Upgrade Problem 2

Hi, I found another problem. With this code [code] $pageType = \CollectionType::getByHandle('home'); if(!is_object($pageType)) { $data['ctHandle'] = 'home'; $data['ctName'] = t('Home'); $newPage = \CollectionType::add($data, $pkg)…

Upgrade Problem

Hi, I am trying to upgrade some old code to concreate5 version 8.3. By the process of elimination I discovered that this line of code [code] \Config::save('ENABLE_CACHE', 0); [/code] is generating this error [code] Argument 1 passed to Co…

Can't assign group to users.

Site breaks when I'm trying to assign a group to users. I get the js error : "ccm_setupAttributeTypeAddressSetupStateProvinceSelector is not defined" so I think some script is not loading correctly. How can I fix this?

Override Package block controller

Can someone explain how i can override a block controller from an installed package? Package Location: root/packages/{package}/blocks/{package}/controllers/{filename.php} Override location: root/application/blocks/{package}/controllers/{filename.p…

Multilingual Page List

Any reason why this will only work if im in edit mode?? $parentPage = Page::getByID($c->getCollectionParentID()); $tree = $parentPage->getSiteTreeObject(); $eventlist->setSiteTreeObject($tree); I have added a page list into my page and i see it to…

Setting an a Select attribute to display a relevant image.

Hi all, Can someone point me in the right direction. I'm creating a custom attribute which is a Select list of say 5 options. When this will be displayed via a page list block I would like to replace each option with a relevant image. Whats the best…

singlepage ajax request give back error

Hello everybody, i try to get a ajax request from a single page! but only an error occures. the firefox netzanalysis shows as answer the full html document. controller method: [code] public function action_get_fieldtyp_request(){ …

form

Hey, I have a form on my website polparol.be The problem is now that I don't receive an email (this is set in the options of the form) The message is nevertheless well received in the report section on the dashboard can you help me out of this. …

Overriding maintenance_mode.php

Hi, I tried to override the maintenance_mode.php in my active theme with no success. I used this guideline: https://documentation.concrete5.org/developers/designing-for-concrete5/applying-your-theme-to-single-pages-with-theme-paths and add below code …

express form

hi there i am struggling quite a bit with the new form. i really like it but it's somehow buggy. can you tell me how to delete form which are not used anymore? i am also keen in doing that in the database. thanks simon

Filter Posts