Developing (v7+)

Force specific theme

Hi Can anyone shed some light on how to force a particular theme? I want to be able to do; [code] if($x) define("THEME", "my_theme"); [/code] I need to be able to force a specific theme under certain conditions, overriding the normal th…

Tags not working

Hi There! So tags normally function to bring up a list of pages with the same tag assigned to them. Well when I click on a tag, like the tag cloud found by default on the blog main page, then I'm directed a 'Search Blog' Page with the text 'There were …

Add custom classes in function of index in "collection" of blocks

Hi! I started developing in Concrete5 today and I was thinking how it was possible to add a custom class to a block in function of the index in the "list of blocks". It will be easier to understand with an example: I have this area: This area …

Comment Count In Pagelist

I am trying to get the comment count in pagelist. This is the default template. Apparently the method does not exist because it is not returning anything. [code] if(method_exists($entryController,'getCommentCountString')) { $comments = $entryC…

Unexpected mysql error on two sites.

My two sites (located on one hosting) have stopped working - I get this message: An unexpected error occurred. mysql error: [1062: Duplicate entry '31663' for key 1] in EXECUTE("insert into PageStatistics (cID, uID, date) values ('1', 0, NOW())") …

n/a

Wanted to delete this but apparently I can't.

E-Commerce Related Products

Hi, is it possible to display related products on a product detail page? I have an existing site that I am in the process of modifying and this is a request from the client. Hope you can help? Steve

Filter Posts