Last few days (recently) to see a list of popular articles
Published on| April 21st, 2009 | No Comment.
Categories:Extension |
Description:
Joomla! Our default module is able to create a list of popular articles.
"It's the most read article (mod_mostread)" is a module, and to create a list using this, and the longer run, most will be listed in the same article.
If古KERE, old enough, read it, is relatively large, the article to be very popular, not to change its position.
As the site is possible, but many see the article, you may want less one-sided.
If that is frequently used, and the module that has a list of articles at random. However, I think, are really good at random? The question remains.
For visitors, popular articles, I believe there are things I want to know in recent posts.
When that will be listed in order of most popular articles in a recent article in the visitor's introduction to "Popular of Late (mod_mostreadrecent)" module.
Immediately, using the
From the above "download" download the ZIP file to install.
After installation, "Popular of Late (mod_mostreadrecent)" I think the module is added.
If you click it, you'll see a screen like the following.

Basically, "the article read (mod_mostread)" is the same.
Here are a contrast in the table below. The difference is added.
| "Read the article (mod_mostread)" in the parameter name | "Popular of Late (mod_mostreadrecent)" in the parameter name |
| Front page articles | Frontpage Items |
| Number | Count |
| Tree ID | Category ID |
| Section ID | Section ID |
| -- | Period of Novelty This parameter specifies the number of days in a few days. For example, if you specify 30 here, and here you list the order of 30 of the most read article in the article was posted in days. |
| -- | Show hits tooltips HITS Specifies whether to display in the tooltip numbers. Yes No |
| -- | Hits text HITS stick to the letter after the numbers in the tooltips to display the numbers. Cases) The "HITS" and to specify the tool tip is 13 HITS
Will be displayed.
|
Example)

Very well the module, but unfortunately "Show hits tooltips" parameter did not work properly.
The following php to work correctly when you change the file.
/ modules / mod_mostreadrecent / tmpl / default.php 6 per line
The change as follows.
The following php to work correctly when you change the file.
/ modules / mod_mostreadrecent / tmpl / default.php 6 per line
1 | <?php if($params-->get('showhits')) echo ' title="'.$item-->hits.' '.$params-->get('hitstext').'"'; ?> |
1 | <?php if($params-->get('hits')) echo ' title="'.$item-->hits.' '.$params-->get('hitstext').'"'; ?> |
You might also like:
Trackback URL
After Admin approves this comment, it will be shown.
Comments
Leave a Reply
