Developing (v7+)

Image Slider Custom Template and Caching

I have created a custom template for the Image slider block which randomises the slides and displays the first four slides only. [code] if(count($rows) > 0) { shuffle($rows); $rows = array_slice($rows, 0, 4); } [/code] This works perfectly …

"Setup on child pages" does not work

For some reason the "Setup on child pages" in "Page Types" => "Output" => "Edit Mode" does not work, it redirects the whole page to an unstyled form and when you click save it redirects to another page saying 1 out of 4 but then does nothing. I have to cl…

Get url for PageID on the fly for a block

I have created a block that will (eventually) use a switch case to feed certain categories of content via ID to anywhere its used and based on the category the page has been assigned. I have the content feeding through, but still stuck as to how you f…

Get the package url before adding a block

How can i retrive full package url while adding a block to the page i.e. controller->add function? I'm trying to do something like this: [code] $pkg = Package::getByHandle( 'my_package' ); $blockURL = $pkg->getRelativePath(); $fullURL = BASE_URL …

Unable to access dashboard

Trying to access dashboard and theme custom css via page settings icon for https://annabel.co.uk/ and it won't bring anything up. I recently installed an SSL certificate - could this be the problem? Any help much appreciated!

Override system messages

Scenario - you're a user registering with a site someone built in C5... you go to register a new account but something distracts you, e.g. phone call, boss, etc. You come back to your registration and complete the form and hit enter you see this: Inval…

Filter Posts