Developing (v7+)

Block JS & CSS not loading on page_not_found page

Hi, I'm using a Lightbox Gallery block (Jordan Lev's Simple Image Gallery with the FancyBox lightbox effect) in the footer of my site. Everything is working fine, except for the "Page Not Found" page. I added a "page_not_found.php" file to my theme t…

mailer script for contact form

Hi I'm trying to build a contact form. I can't use the standard form block as I require greater customisation. Due to the requirements of the build I need to place the script which actually sends the email in a separate php file to the view.php of t…

Show memberpage when signed in only

Hi all! I have hidden the members page from navigation. But I would like the members page to be visible for people that are signed in. How can I do this? I tried to understand the autonav php files but i give up!

Relocating "Thank you" message on guestbook standard block

Standard guestbook block displays comment form and new comments at the bottom of page. Already tweaked the standard guestbook to make the comment form appear on top and newer comments appear on top of older ones. Before, I asked for advice to link t…

Problem with my Site after Update to 5.4.2.2

Hello, i updated now to 5.4.2.2 and after logout i cant log in .. this message came to me.. mysql error: [1054: Unknown column 'uDefaultLanguage' in 'field list'] in EXECUTE("select uID, uName, uIsActive, uIsValidated, uTimezone, uDefaultLanguage fr…

Sort Blocks - 'Add Block' Pop-Up Window

I'm running 5.5.1 and was wondering if there is a way to sort the block types that are displayed in the 'Add Block' pop-up window. It's not a huge issue, just an inconvenience for the content updaters since all of the custom blocks get placed at the botto…

Image Selector in Single Dashboard Page

I haven't been able to find a simple, clear answer to this. I need to have a simple image selector (just one image would be chosen) in a settings page in the dashboard for a theme. What's the best way to go about doing this? What code would I use?

get content of block as array

the way blocks are handled in concrete5 is still not totally clear to me :( let's say i have some self-made block type with the following fields: name phone bio i know that one instance of this block on the site has the id of 7. so i grab the b…

Filter Posts