Developing (v7+)

Looking for a school-based theme

I was searching through the theme list trying to find a school-based theme, couldn't find one. Anyone know of a nice one out there? Preferably geared towards younger school (preschool/elementary) vs college.

Accuracy Of The Tutorials

Guys, I just want to say that the tutorials provided by Andrew tend to be very accurate, and if you see something like CCM_TOOLS_PATH and think this is only for the concrete 5 core and you need to use something different, you are likely to be wrong! Li…

How to use the ajax to take the output from only block?

Hi All, I am using ajax in c5 and i am updating the block from ajax call this works fine but in this case i have to make the exit; in the php file which is called else it takes the whole sites output. So in this case is there any way that i can use …

How to know count 'Profile Page' ?

Hi dear, i enable profile feature, but now i want to know how many times this profile has ben viewed by other? i try this, but no result [code] $cID = 7; Loader::model('page_statistics'); echo PageStatistics::getTotalPageViews($cID); [/code] …

Link to sibling page(s)

I want to put Next and Previous buttons to allow the user to navigate through sibling pages (all pages under the same parent). 1. How would I dynamically find the previous and next sibling pages (specifically the links to them)? 2. How would I test …

Getting Attribute List in Theme file

I have a custom attribute that is a Select list that allows the user to choose multiple values. I know how to get the Attribute value using the $c-getCollectionAttributeValue() but it returns as an Object. How can I get these values as an array? Than…

content blocks won't work

Hi, I followed your tutorial about how to convert a HTML file into a Concrete5 Template.But my content blocks do not work. I am using the code you suggested, e.g. But the areas do not display. What am I doing wrong please?

Attribute problem after updating

Hi, I've made a template that uses a page attribute to show or hide a certain image or text. After updating C5 to 5.4.1.1 this function isn't working anymore. The attribute is a selection. There are three options, the content will change along w…

Error 17

I went onto me site www.richersea.co.uk yesterday and found this error: [02-Jan-2011 17:03:57] PHP Fatal error: Uncaught exception 'Exception' with message 'Oops, something is wrong with the form you posted (it doesn't have a question set id).' in /hom…

number of views of video

I have some videos on my site, inserted by block "video". Under each video I need to display the number of views of videofile. Any ideas?

Filter Posts