Developing (v7+)

Page Attribute Display Block - Add a seperator to Select attribute?

Hey All, 5.7.4 - Page Attribute Display block - I've got a select attribute that I can use to choose multiple items (think a Tasks list) to output on the page - wondering if there is anyway to add a seperator (like a comma) between them. So rather t…

Asterik before required fields

Hi! Easy question – Easy answer (I hope) I´m building a form extension where some fields are marked as required with: [code]$val->addRequired('zip', 'ZIP cannot be empty.');[/code] Is there any build in concrete5 way I can show the asterik at the re…

User group can't add new subpages: page not found error

First of all – hi. Second: I'm sorry if this is in the wrong forum. Down to business. I am building a small website for a non-profit organization. Everything's been going well, but I am having trouble with the blog section. I have a main blog pa…

function like $c->getNumChildren()

Is there a function like $c->getNumChildren() but one that gives me the number of children that are not "Exclude from Autonav" Thanks

Modal Contact form

Hi all, I've been banging my head against the wall trying to figure out the following: I have a contact form that appears as a bootstrap modal. I did what I could to make the form have a static backdrop and stay on screen. But when a user hits the su…

Attempting to fix a broken site

I have inherited a live site developed with C5 5.4.2.2. (I have tried to update it to 5.5.x.x and that failed - but let's put that aside for a moment.) My problem is that only the home page and, I have discovered, any other new page I create with the hom…

Adding data-live-search="true" to a select input

Hi all, Just wondering how to edit the form blocks inputs via PHP? I recall creating an array after the to add things like data-live-search="true" to the input code in my custom template but I can't remember how to do this. Any help would be greatl…

Adding data-live-search="true" to a select input

Hi all, Just wondering how to edit the form blocks inputs via PHP? I recall creating an array after the to add things like data-live-search="true" to the input code in my custom template but I can't remember how to do this. Any help would be greatl…

Adding data-live-search="true" to a select input

Hi all, Just wondering how I add element attributes to form items in the form block? I am guessing it can be done by adding array but for the life of me I can't remember how this is done. I basically want to edit the printed input field code to b…

How to activate typography.css in Stacks?

'typography.css' seems to work well in content block when placed directly on the page. However it does not seem to work on content blocks within Stacks. I have custom styles defined in 'typography.css' which do not load inside Stacks. Is there a way to ma…

Filter Posts