Developing (v7+)

MySQL Slow Queries

I noticed on some of our C5 sites, there are multiple error logs being generated every day in tmp > mysql_slow_queries. Our clients web hosting company said that these types of errors can really slow a website down. Does anyone know anything about this…

Block ID on Submit or Register Button?

Can you manually assign a block ID for the Register Button on the user registration page? If so, can someone guide me in the right direction?

Remove Width and Height attributes for all images

Hi I hope someone can help me. I am currently building a website using Twitter Bootstrap and I am hoping in the future to make it responsive if the client decides to do this however I have noticed all my images on the site have 'width' and 'height' …

Page Search by permissions?

I've got a site with 300+ pages and I've unchecked the "Guest" box on "Who can view this page" for several pages. This was done to hide pages from the public while we were working on them, but now I want to find all the ones that I've hidden. Is there …

Creating a page Programmatically

I'm trying to create a page but i end up with an error message. Could a good soul help me ? here's my code from the controller.php

How to hardcode add and move pages in php

Hi. I need to add a page and then move it under the correct parent in php. I was wondering if I could get some examples on how to do this. So far, I've found the functions: [code] Concrete5_Model_Page->add(collectiontype $ct, array $data); Conc…

How can i use page_types with its own php file in packages?

I need a package that adds a single_page with its own page_type. Unfortunately, the single_page uses the standard-view of the theme and not the page_type. These are my folder [code]packages rss page_types rss.php single_pages rss.php …

Stacks not updating

This thing is driving me up the wall !! Can anyone explain what is the point being able to choose to insert a specific block from a stack if this one does not update when you modify it ?? Is there a documentation about how to use this new feature ??? …

Query string doesnt work when not logged in.

Hi Guys, I'm working with a custom Block which involved a query string. When I'm logged in as Administrator, everything works perfect unfortunately when I'm logged out, I my query string string is shoing on the address bar but the page is not displayin…

Filter Posts