Page 1 of 1

Similar articles by tags

Posted: Tue Mar 17, 2009 4:25 pm
by Atratus
Hey guys,

I'm searching for a possibility to show similar articles automatically. I'm using the free-tag plugin in, maybe there is a way to search for articles that have the same or even similar tags and show their titles under the original article.

Is there a plugin which already does what I want?

thx for reading

Re: Similar articles by tags

Posted: Tue Mar 17, 2009 5:21 pm
by judebert
The freetag plugin should do that for you, too.

Just go to your admin page and choose "Configure Plugins". Then click on the "tagging of entries" plugin to display its configuration page. Finally, set the "Display related entries by tags?" to "Yes" and click Save.

The related entries will be displayed in the footer of each individual entry. They're not displayed on the front page summary, I think.

Re: Similar articles by tags

Posted: Wed Mar 18, 2009 1:37 pm
by Atratus
Oh man, that was very stupid, I'm very sorry for my dumbness...

but is there any way to display the articles somewhere else than in the footer?
I know there is now template, but it looks very ugly in my s9y-template...

Re: Similar articles by tags

Posted: Wed Mar 18, 2009 2:45 pm
by yellowled
Atratus wrote:but is there any way to display the articles somewhere else than in the footer?
Unfortunately not, at least not unless you're willing to move it together with the "Tags" line. Those two are inseperable as far as I know.

YL

Re: Similar articles by tags

Posted: Wed Mar 18, 2009 2:50 pm
by judebert
You're not dumb. You found the plugin on your own, after all.

The plugin looks like it's ready to use Smarty. Just set the configuration of the plugin so "Embed in footer" is set to "Smarty". Then modify your entries.tpl and add the Smarty tag

Code: Select all

{$entry.freetag}
wherever you want the HTML to show up. You could even create a new div, and change the CSS in your style.css to float it or something.

Re: Similar articles by tags

Posted: Wed Mar 18, 2009 3:07 pm
by judebert
I just verified this on my sandbox. Unfortunately, it also takes all the "defined tags" with it! Splitting the two would require modifying the plugin.

However, if you're willing to move both of the blocks, just use the Smarty as I mentioned.

Re: Similar articles by tags

Posted: Wed Mar 18, 2009 3:10 pm
by Don Chambers
judebert wrote:Unfortunately, it also takes all the "defined tags" with it! Splitting the two would require modifying the plugin.
That concept has my vote!! :wink:

Re: Similar articles by tags

Posted: Wed Mar 18, 2009 5:01 pm
by Atratus
okay thank you very much for your help.
it's a pity but it seems like i have to change my arrangements...

but maybe the inventor of this wonderful plugin could change it once... ;)

Re: Similar articles by tags

Posted: Fri Apr 10, 2009 6:54 pm
by clafferty
quick question about this plugin --

why do the tags and related links only show on the article detail/extended view page? is it impossible to make the related links show on in the summary view (i.e., on the homepage)?

thanks!

Re: Similar articles by tags

Posted: Mon Apr 13, 2009 1:44 pm
by garvinhicking
Hi!

Related entries lookup impose a huge impact on database performance. To do that for each entry on a page with multiple entries would be bad, and also waste a lot of screenspace. This is why the plugin doesn't support this in overviews with current code.

Regards,
Garvin