Developing (v7+)

How do we add a lightbox popup when a visitor arrives at the page?

We are a nonprofit organization with a Concrete5 website. Is there a pop-up add-on we can use so that visitors will be asked for a donation when they visit? We want to use this for a limited time during a fundraising campaign. All we need is the ability t…

Member Attribute order not kept

I have the order of the Member Attributes set, however when the attributes/data is displayed, the order reverts back to the order of entry. I have set and reset the order many times, but they keep reverting back to the order of entry. Where in the cod…

Feature suggestion: Organizing filesets - folders for filesets?

Folders are a great tool for organizing, and we have now folders for files and for stacks. But as soon as we have to deal with a greater number of filesets, i think it would be equally useful to have folders for filesets. Especially as the pagination se…

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…

Filter Posts