Developing (v7+)

C5-8.2.1: How to check if token protection and $bID check work?

Hello, Following these examples: https://documentation.concrete5.org/developers/working-with-blocks/creating-a-new-block-type/implementing-ajax-block-view-templates , and https://documentation.concrete5.org/developers/security/protecting-against-csr…

Search Block 'Tag Cloud' Template

Is this still a thing? I can't get it to do anything. Could it be a vestige from pre-topic days? Why I'm asking: I've written a search block that handles (some) advanced search queries, and I don't know if I need to include a 'tag cloud' template.

How to remove .html from URL in .htaccess

How to remove .html from url? Like from www.example.com/page.html to www.example.com/page I followed answers in this stackoverflow question https://stackoverflow.com/questions/5730092/how-to-remove-html-from-url but it didn't work and missed up my pa…

Add onbeforeunload event to page

I want to add an onbeforeunload event to a page. It is a form page with multiple sections and I am finding that people are leaving the page without submitting the form. I want to verify that they really want to leave the page. Is that possible in Concrete…

How to override Core class in 8+ ?

I trying to override core User class, but I'm not sure I'm doing this right way. So, what was done: 1) Copied concrete/src/User/User.php to /application/src/User/User.php 2) Namespace in this file is changed to Application\Src\User; 3) Added alias to…

Updating deprecated function, getToolsURL

Was wondering what the recommended method was to replace the helper function in helper/concrete/urls that gets a package tool's URL. Currently, I'm using something like this: $toolURL = Core::make('helper/concrete/urls')->getToolsURL('my_tool', 'my_pa…

Multiple Institutions Under One Website

If this is has been addressed before, any info would be appreciated. I am currently trying to build an enterprise level website with multiple content areas that would be installed on one site and used by multiple institutions. Trying to see if C5 can h…

C5-8.2.1: Ajax form

Hello, I took that code as a basis for my form: https://webdesign.tutsplus.com/tutorials/building-a-bootstrap-contact-form-using-php-and-ajax--cms-23068 , (my 3 files attached), but the form doesn't work even in such simple form. The "success" message …

Filter Posts