A Joomla 1.5 Plugin to show the number of page views anywhere in your content - Joomla & VirtueMart Tips & How To's

This Joomla 1.5 Plugin allows you, with just a short tag, to insert the number of page views (hits) of any article along with the linked title to the page.

Home Joomla - VirtueMart Joomla 1.5 jPageViews Plugin

Sat

25

Apr

A Joomla 1.5 Plugin to show the number of page views anywhere in your content
  • Joomla 1.5
  • plg_jpageviews

This Joomla 1.5 Plugin allows you, with just a short tag, to insert the number of page views (hits) of any article along with the linked title to the page.
As well some standard text can be included before and after the page views number and a left or right float can be specified.

You can download it here - Download  Price €8.00

Joomla 1.5 page views hits Plugin

How it works -


  • It replaces a unique tag {*jpageviews 00 none} (asterisk inserted to prevent parsing) with the number of page views (hits) of the chosen article along, optionally, with the linked title to the page.
  • If the required page views (hits) is the currently displayed page then the number to insert is 00.
  • If you require another page then insert that article id number.
  • If you require a left or right float then use those words, otherwise use none.
  • The text boxes accept html so if you wanted a different text colour, font etc you could apply a class and style it in your css sheet or just add a span styling in the first and last text box.

    e.g. 1st text box - <span style="color:red;">The number of hits for
    3rd text box - visitors.</span>



Joomla 1.5 page views hits Plugin logo

Installation -


  • Install in the normal way via Extensions-->Install/Uninstall.
  • Enable the plugin via Extensions-->Plugin Manager.
  • Fill in any text you may want in the text boxes.
  • Choose whether you want the article titles and whether the title is linked.

Example -


Below you can see the plugin working if you refresh this page a few times.
The html for this is as follows - (asterisk inserted to prevent parsing)
 
<ul>
<li>{*jpageviews 00 none}</li>
<li>{*jpageviews 58 none}</li>
<li>{*jpageviews 22 none}</li>
<li>{*jpageviews 239 none}</li>
</ul>
 


Here the plugin is parsing the tags -
  • {jpageviews 00 none}
  • {jpageviews 58 none}
  • {jpageviews 22 none}
  • {jpageviews 239 none}


Updates

Version 1.1
Oh happy days, problem with more than 2 digits in the Page ID fixed, just un-install the old version, download version 1.1 and install.
All your page codes will still work. The last example above has a page ID of 239.


If you have any comments, suggestions or need any help please leave a comment below.
If you use it on a commercial site please leave a small donation.
Thanks.
Last Updated on Sunday, 21 February 2010 20:50
 
VirtueMart
Your Cart is currently empty.

Paypal Donation

If you use this module on your site please donate a small amount.
Any donation amount appreciated.

Latest Joomla & VirtueMart Tips

See all tips & examples

VM Live Product Search



A Joomla 1.5 Plugin to show the number of page views anywhere in your content|Joomla & VirtueMart Tips & How To's



This Joomla 1.5 Plugin allows you, with just a short tag, to insert the number of page views (hits) of any article along with the linked title to the page.


page, jpageviews, text, number, plugin, views, article, hits, install, use, download, parsing, version, insert, box, title, linked, example, inserted, require, asterisk, html, extensions, boxes, prevent, float, right, leave, tag, joomla, small, working, times, follows, refresh, titles, uninstall, thanks, normal, enable


guru

We use cookies to improve our website and your experience when using it. Cookies used for the essential operation of the site have already been set.
To find out more about the cookies we use and how to delete them, see our privacy policy.

I accept cookies from this site.