Developing (v7+)

Using controllers with library items

On some page types I have included an item from the library: Loader::library('...') This item includes a form. What would be the best way to attach a controller to this library item? I could add controllers for the page types but I want to avoid duplica…

Redirect Page not found.

how can i redirect 'page not found' error to 'home page'? There is a dead link that has been delete, search engine still show it, and go to that 'page not found', i want to redirect it.. big thanks bro...

Count search results

Hello everyone, Is it possible to count the total amount of search results when using the search block ? Like when you use yahoo.com. yahoo shows the total amount of search results to the left like this: "43,300,000 results for concrete5" So …

Truncate/ Limit Characters Blog Post Snippet

Currently the blog_index.php template from the page_list block displays a snippet by area: [code]$a = new Area('Main'); $a->disableControls(); $a->display($cobj);[/code] This requires the client to put text into 2 different content blocks. 1 for the s…

Helper:Ratings Documentation error

http://www.concrete5.org/documentation/developers/helpers/ratings The example loading method contains a plural "s" $rh = Loader::helper('ratings'); But [in the current version at least (5.4.1.1)] it needs to be singular: $rh = Loader::helper('…

Connecting phpBB and Concrete5

I am trying to migrate a site I have been running for around five years now to concrete5. On that site, I have a board using phpBB. I am not dependent on sticking to that system, but I need to transfer all users and all posts to whatever I use next. …

Product Categories

Hi, What is the easiest way to setup product categories in the core commerce? Is it a case of setting custom attribute which represents the category for all products then ticking the appropriate one, then requesting this in the product list block? Or i…

Edit mode theme

Hi, I am designing a theme for a mobile device and I want to be able to make an edit mode theme which basically uses no css and is just for editing the content. Anyone know how I can detect edit mode and alter the theme being used? The ability to…

upon update do i have to reinstall modules?

sorry for the noob question. when you update to the newest C5 are your modules still there? or do you have to reinstall them? does it delete your site until you rebuild it?? michael.bruno81@gmail.com

Filter Posts