Freetag Plugin: How to display tags only on extened entries?

Creating and modifying plugins.
Post Reply
Easyfunk
Regular
Posts: 38
Joined: Tue Oct 02, 2007 9:32 am
Contact:

Freetag Plugin: How to display tags only on extened entries?

Post by Easyfunk »

Hello s9y Users,

I was thinking about reducing internal links on my starting page and decided to work on not displaying tags on the summary of an entry. On my blog (http://www.welt-hertha-linke.de) you can see, that I'm working with summaries, but for each summary the tags are displayed, what gives massive internal links on my starting page. I would like to display those tags only on extended entries or, if they don't have an extended area, the tags should only be displayed, on the single articel view, not in a summary or listing view. This is my idea, but I don't know how to realize this or if it will be a massive intervention in the code. Please tell me where I could start or if this will be a (to) hard thing to do.

Thanks for your help!

Regards
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Freetag Plugin: How to display tags only on extened entr

Post by garvinhicking »

Hi!

A good idea as well. I think it would be best to add a config option at the place where you already can choose whether to embed the link in the body or the footer. We could add an option for "smarty" template placement, then a smarty template variable gets filled which you can place in your template at any place you want.

I'll try to do this the next days.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Easyfunk
Regular
Posts: 38
Joined: Tue Oct 02, 2007 9:32 am
Contact:

Post by Easyfunk »

Hi Garvin,

great! Thanks! (I can only repeat myself!)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Just committed :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Easyfunk
Regular
Posts: 38
Joined: Tue Oct 02, 2007 9:32 am
Contact:

Post by Easyfunk »

Hi Garvin,

Thank you for this fast patch. Will the updated plugin be available on spartacus in the next days?

Regards
Enno
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Yes, within the next 48 hours :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Easyfunk
Regular
Posts: 38
Joined: Tue Oct 02, 2007 9:32 am
Contact:

Post by Easyfunk »

Yes! Thanks a lot. That's one of thounds of reasons why I love serendipity.
Easyfunk
Regular
Posts: 38
Joined: Tue Oct 02, 2007 9:32 am
Contact:

Post by Easyfunk »

Works like a charm!

Thank you very much, Garvin!
Post Reply