Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.
Navigation

Number of articles reads on homepage

Last updated on 8 months ago
KvidoKvido
Posted 9 months ago
I looked at PHPFusion Coding Standards for help on how to write a record of the number of articles read in a section / BLOG section.
But I didn't find help for this code writing.
I need to display the number of articles read on the main page (home.php) of BLOG (below the picture) next to the name and date.

FROM ".DB_BLOG." as bl
LEFT JOIN ".DB_BLOG_IMAGES." as bi ON bi.blog_id=bl.blog_id

Thanks RobiNN and other guys in advance !!
Edited by Kvido on 22-04-2020 13:00, 9 months ago
Kvido attached the following image:
screenshot_2020-04-21_nekecamweb_cz.png
FalkFalk
Posted 9 months ago
You can get a new copy of home.php , Rob patched it today https://github.com/PHPFusion/PHPFusio...1becf436b2
echo $data['views']; in your TPL for it to be displayed.
Edited by Falk on 30-04-2020 22:21, 9 months ago
KvidoKvido
Posted 8 months ago
Thanks!!!
I see changes there and I'm correcting. So far, however, the change has not been reflected mainly in reads-wiev
https://nekecamweb.cz/home.php
Edited by Kvido on 03-05-2020 17:59, 8 months ago
FalkFalk
Posted 8 months ago
You need to manually insert the views as decribed above.

Quote

echo $data['views']; in your TPL for it to be displayed.
Edited by Falk on 04-05-2020 00:01, 8 months ago
KvidoKvido
Posted 8 months ago
OK!
Kvido attached the following image:
screenshot_2020-05-07_nekecamweb_cz.png
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
You cannot set up a bounty in this discussion thread.
Moderator: Support Team
Users who participated in discussion: Falk, Kvido,