Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2014-06-25 09:47:38
- raminrahimi
- Member
- From: India
- Registered: 2013-03-19
- Posts: 276
Add articles count hits option like joomla
Hello,
Before i was using Joomla, now i’m using textpattern, because i can make any kind of website through textpattern :-)
a feature was in joomla it’s a very good thing, mostly using for news websites:
Article count hits. it mean when each article opened one hit will add to that article (adding to it’s MySQL database)…
so we can easily show to the public, this article viewed (clicked) eg. 200 times or more …
i hope that option available for the next version of textpattern, cause it’s very necessary for blogs, news, etc…
thanks
Offline
Offline
Re: Add articles count hits option like joomla
Offline
Re: Add articles count hits option like joomla
Or usurp a custom field:
<txp:if_individual_article>
<txp:php>
safe_update('textpattern', 'custom_10 = custom_10 + 1', 'ID = '.parse('<txp:article_id />'));
</txp:php>
</txp:if_individual_article>
Offline
Re: Add articles count hits option like joomla
or using my little plugin dzd_counter_view
Cheers
Offline
#6 2014-07-01 05:01:25
- raminrahimi
- Member
- From: India
- Registered: 2013-03-19
- Posts: 276
Re: Add articles count hits option like joomla
thanks from all :-)
found the way …
Offline