Hey there! First of all, thank you for the great work with the couch cms
I´m currently running into a problem:
I just want to count the number of all cloned pages and divide it by 3
I tried doing it with
However page_count does not contain the desired value, but a list of the different numbers (1 1 0 0) in my case. Am I doing something horribly wrong or is there an easier concept?
Best regards
floAr
I´m currently running into a problem:
I just want to count the number of all cloned pages and divide it by 3
I tried doing it with
- Code: Select all
<cms:set page_count='0'/>
<cms:pages masterpage='project.php'>
<cms:add pageCount '1'/>
</cms:pages>
<cms:div page_count '3'/>
However page_count does not contain the desired value, but a list of the different numbers (1 1 0 0) in my case. Am I doing something horribly wrong or is there an easier concept?
Best regards
floAr