Developing (v7+)

Locked Out by Unexpected Error

Hi I am a Concrete5 newbie but have many years of using html and 'tinkering' with php. I have installed C5 on my site and had started to explore. I tried to change the theme to vanilla, on saving I got this message :- An unexpected error occurred…

Best practice for customising block CSS

What are the best practices in C5 for customising a block's CSS? In this case I'm referring specifically to the Easy Accordion block (http://www.concrete5.org/marketplace/addons/easy-accordion). My first thought was to add my CSS customisations to my t…

Get array of scrapbook items

Hello world! I was wondering if there is a way to fetch an array of scrapbook items. Can some give me information on this subject? Thanks!

How to attach a css id and class to a block with PHP

Hello world! How can I set the css id and class of a newliy created block? I am creating a theme, and would like to put some css on specific elements, being of the same type and class, but needing different css depending on the id. Thanks!

Get the permissions assigned to a page

Hi I am editing the Autonav and within the loop I need to get the permissions of each page the loop is on. This is so I can highlight specific pages that the user has access to. [code] $permissions = new Permissions($_c); if ($permissions->ca…

Can file download URLs show the actual filename?

If I add a link to a file (for example within a content block, or a designer content block), the URL for the file download always appears something like /index.php/download_file/view/23/88/ even though the URL in the file properties specifies /files/8113/…

Managing the scrapbook - best practices

Hi gang, learning C5 and loving it so far. I have a situation where I will be dealing with 50 or so business units addresses and contact info. There will be an individual page built for each business unit, as well as a directory page that will conta…

package with different file import

Hi, I want a package to import images in a different way to normal upload (through the backend f.i.): when uploading on a single page in the package, the files have to be added to certain sets. In the package/controller.php i added in the on_start()…

Cache is on but CSS load times are slow

Hi I haven't had this problem before when developing with Concrete5 but I am now using a new Windows server which is on a local network running xampp. Using firebug's Net tab I can see that the load times for CSS is at least 5 seconds and then once…

Filter Posts