Joomla tags

a real free joomla tag system

  • Increase font size
  • Default font size
  • Decrease font size
 Joomla Tags Support Forum
Welcome Guest   [Register]  [Login]
 Subject :Show Most Recent in Related Articles?.. 2010-02-06 19:58:55 
ryanm
Apprentice
Joined: 2010-02-07 02:51:28
Posts: 2
Location

The updated module has been working great for me, however I was wondering if there is a way to change the ordering when using the "Related Articles" function. Currently the default is oldest to newest; I would like to show most recent articles first. Does anyone know how to do this?

IP Logged
 Subject :Re:Show Most Recent in Related Articles?.. 2010-03-05 02:25:11 
joomlatags
Master
Joined: 2009-02-15 12:36:41
Posts: 581
Location

Perhaps you can change the code directly.

plugins/content/tags.php line 175

Change

' AND cc.published = 1';

to

' AND cc.published = 1 order by a.created desc';

 

When I have plenty of time, I can add an option order to the related articles.

IP Logged
 Subject :Re:Show Most Recent in Related Articles?.. 2010-03-09 13:48:13 
Inspiration
Apprentice
Joined: 2010-03-09 20:21:23
Posts: 4
Location

First of all: thank you for your work and support! I have a question on this subject though:

How does Joomla Tags determine which "Related Articles" are shown?

Is it based on a preference for a maximum number of related tags, or is it based on something like "any article that matches 3 or more"?

To illustrate, article A has 7 tags in common with article B and only 5 with article C. Article D, E, F, G, H all have 3 tags in common with A.

Does it prefer B over article C over the rest?

Or

Will it prefer B, C, D, E, F, G, H all equally because they have 3 or more in common?

Or is it based entirely on something else? ;-)

IP Logged
 Subject :Re:Re:Show Most Recent in Related Articles?.. 2010-03-13 17:27:35 
ryanm
Apprentice
Joined: 2010-02-07 02:51:28
Posts: 2
Location


Thanks! It works now.




[joomlatags 2010-03-05 02:25:11]:

Perhaps you can change the code directly.

plugins/content/tags.php line 175

Change

' AND cc.published = 1';

to

' AND cc.published = 1 order by a.created desc';

 

When I have plenty of time, I can add an option order to the related articles.

IP Logged
Page # 


Powered by ccBoard


Newsletter

Please subscribe to our newsletter to stay up-to-date with the latest news and release notifications delivered to your inbox.
Tags for Joomla



Joomla Plugin:ReadMoreExt