Problems, need help? Have a tip or advice? Post it here.
4 posts Page 1 of 1
I have a blog and i would like to have a function showing how many views the different posts have.

So if i have on every posts a box showing the totale view for that spessific post, how can i do this with Couch, if possible?!

In advance thanks for any advice or tips.
kimheggen wrote: I have a blog and i would like to have a function showing how many views the different posts have.

So if i have on every posts a box showing the totale view for that spessific post, how can i do this with Couch, if possible?!

In advance thanks for any advice or tips.


You can use this : viewtopic.php?f=8&t=8913&hilit=Most+viewed
As soon as possible!

Touch me up : abada[dot]zulma[at]gmail[dot]com
I did try following this, but i cant get it to work. No number is showing.
If you have trouble, then you can post code here or, much more effective in the long run, debug it yourself.
These are the tools for a pick:
<cms:dump />
<cms:dump_all />
and logging of the above tag's output:
Code: Select all
<!-- Let's log dump_all. Kill log.html if exists -->
<cms:if "<cms:exists "log.html" />" >
   <cms:php>unlink('<cms:show k_site_url />log.html');</cms:php>   
</cms:if>
<cms:log "<cms:dump_all />" file='log.html' />

or, simply
Code: Select all
<cms:log "<cms:dump_all />" file='log.html' />
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
4 posts Page 1 of 1