Developing (v7+)

reCAPTCHA 3 c5 8.5.2

When i enable reCAPTCHA 3 (c5 8.5.2) I got console warnings "DOM7009:" in edge and "A cookie associated with a cross-site resource at was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests …

Load scripts backend strange problem

Hello. I have a strange problem loading resources after logging into the backend. Therefore, e.g. site map or other backend functions do not work. It's exactly about 2 resources. Errors: GET domainname/ccm/assets/localization/jquery/ui/js net::ER…

Loader::helper('concrete/interface');

In older blocks we could use the interface helper, like the Add Image button in the old slideshow block did. $ah = Loader::helper('concrete/interface'); $ah->button_js(t('Add Image'), 'SlideshowBlock.chooseImg()', 'left') This doesn't work anymor…

Routing using a Controller - concrete5 Route Example - c5-8.5.2

I have attempted to get the Developer Documentation example for Routing using a Controller to work but I am stuck. I just get the error message: "The requested URL was not found on this server. Additionally, a 404 Not Found error was encountered..." …

how to Install Page Type

I want to create page type via controller.php and below code is working in 5.6... $ct = CollectionType::getByHandle('home'); if((!is_object($ct)) || ($ct->getCollectionTypeID() < 1)) { $data['ctHandle'] = 'home'; $data['ctName'] = t('Home'); $hpt =…

Page Default Blocks Not Added When Page Added Programatically

I have a page type where the default template has been setup with a composer control. When a page is added through the dashboard, the default blocks are added as expected. When the page is added programatically, this does not happen. The page's areas a…

Event List on an Event Page

Hey all. I am trying to have an "Additional Events" event list on each event details page. But I want to remove the event that is currently being shown from the event list. How do you get the occurrenceID of the currently shown event/page?

get TABLE NOT FOUND in production

hi.. i'm getting crazy.. a Block works perfect in WAMP but get TABLE NOT FOUND in production (i've attached a screenshot) Below my code for reproduction, very essential ! Can someone help me please ? Thank you all in advance Michele

Filter Posts