Joomla tags

a real free joomla tag system

  • Increase font size
  • Default font size
  • Decrease font size
 Joomla Tags Support Forum :: General Question
Welcome Guest   
 Subject :Show Most Recent in Related Articles?.. 2010-02-06 19:58:55 
ryanm
Apprentice
Joined: 2010-02-07 02:51:28
Posts: 3
Location
<p>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?</p>
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
<p>Perhaps you can change the code directly.</p>
<p>plugins/content/tags.php line 175</p>
<p>Change</p>
<p>' AND cc.published = 1';</p>
<p>to</p>
<p>' AND cc.published = 1 order by a.created desc';</p>
<p> </p>
<p>When I have plenty of time, I can add an option order to the related articles.</p>
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
<p>First of all: thank you for your work and support! I have a question on this subject though:</p>
<p><span style="text-decoration: underline;">How does Joomla Tags determine which "Related Articles" are shown?</span></p>
<p>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"?</p>
<p>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.</p>
<p>Does it prefer B <strong>over</strong> article C <strong>over</strong> the rest?</p>
<p>Or</p>
<p>Will it prefer B, C, D, E, F, G, H all <strong>equally</strong> because they have 3 or more in common?</p>
<p>Or is it based entirely on something else? ;-)</p>
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: 3
Location
<p><br />Thanks! It works now.<br /><br /><br /></p>
<hr />
<div class="bbcode_quote"><br />
<div class="bbcode_quote_head">[joomlatags 2010-03-05 02:25:11]:</div>
<br />
<div class="bbcode_quote_body">
<p>Perhaps you can change the code directly.</p>
<p>plugins/content/tags.php line 175</p>
<p>Change</p>
<p>' AND cc.published = 1';</p>
<p>to</p>
<p>' AND cc.published = 1 order by a.created desc';</p>
<p> </p>
<p>When I have plenty of time, I can add an option order to the related articles.</p>
</div>
</div>
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