Developing (v7+)

Javascript Switch CSS

Hi all, Quick question. I wanted to add different CSS to the site if the user is on desktop / tablet / mobile phone. I can use the mobile switcher add-on for the mobile and desktop which is fine. I had been using a piece of JavaScript to switch when th…

Error when trying to add Basic_test block

Hi, I'm trying to work through the example of block development (http://www.concrete5.org/documentation/how-tos/developers/understanding-and-building-blocks-in-concrete5/) and I'm getting an error when I try and load the basic_test block. I've copied it i…

Advanced permissions directly in composer

Hi everyone, I am building a site with lots of posts that need to expire. I have given up on being able to set an expiry date using a page attribute and automated job as I have no idea how to do it but I have found how to make this happen with Advanced…

Test if block is empty and output default value, if true

I'm aware of this (http://www.concrete5.org/community/forums/customizing_c5/check-if-block-is-empty/) related question, but it seems not really suitable to the problem I have. Say you have some 'Header Image' area in your header.php and want to output …

Login with username or email

Hi, Currently there is a feature to set login to work with email instead of username. Is there any way to make it so that the user has a choice to login in either with username or email (both can be used)? Thanks

Ecom Product reviews

Hi Team.. I have been modifying the ecom template to enable Rich Snippets to work with product reviews using schema.org. all Is going well I have modified the view.php to have the options in and added custom attributes to the products which I have pul…

unable to uninstall a package

Hi when i try to uninstall a package i get the following error, any ideas? I have tried clearing all caches, refreshing databases, copying the latest c5 files into the update folder, but no luck..? Thanks in advance Warning: require_once(/Applica…

Set Up on Child Pages Error

I'm not sure what happened because I had been setting up stacks and adding them and blocks to page types and everything was working fine. Then I started getting this error when I tried to add a stack to a custom page type and now I get the error when I s…

Form Block - Recipient Email not editable

Hi Folks, in case somebody else also running into this: problem: When using a bootstrap theme (in my case self-created) the email recipient in the form-block is not editable because of the "input-prepend"-class set in the form_setup_html.php. …

How to convert lowercase sql to Camelcase?

I'm using windows at my work place and am used to developing in Linux using Ubuntu, Come across the same old problem of windows lowercase sql and Linux camel case. In need camel case structure for upload to a linux server. Any one know the solution?…

Filter Posts