Page 1 of 1
related entries on static tartpage
Posted: Sun May 18, 2008 2:11 pm
by fight69
Hi!
I'm trying to build a magazine-style template with a static startpage and want to display the related_entries plugin there. Is it possible to fetch that plugin on static pages? The standard hook - {serendipity_hookPlugin hook="frontend_display_relatedlinks" data=$entry hookAll="true"}{$RELATEDLINKS} - doesn't work there; apparently, its no mod_rewrite problem; I was searching the forum here for days for an answer, but I couldn't find it.
Can anybody help me?
Re: related entries on static tartpage
Posted: Sun May 18, 2008 8:55 pm
by garvinhicking
Hi!
No,the releated entries plugin only operates on entries,not on staticpages -- they arecompletely different, staticpages do not have tags.
Regards,
Garvin
related entries on static tartpage
Posted: Wed May 21, 2008 11:57 am
by fight69
What a pity!
So I've to use a customfield instead to display these related links - on my fabulous tartpage!
Thanks for your answer, Garvin, I now feel obliged to shorten your wishlist soon ...

Re: related entries on static tartpage
Posted: Thu Jun 05, 2008 7:01 am
by faldo29
Hi Garvin,
Any particular reason why staticpages can't have tags? I mean, they should be allowed to have their own <meta description> and <meta keywords> tags so they can be indexed properly. Just curious.
Regards,
Andrew
garvinhicking wrote:they arecompletely different, staticpages do not have tags.
Regards,
Garvin
Re: related entries on static tartpage
Posted: Thu Jun 05, 2008 9:21 am
by garvinhicking
Hi Andrew!
Tags and Metatags are something completely different! One could add meta-tags to a staticpage, if you create your own custom staticpage .tpl file where you insert the tags.
There is no input area for tags themselves, but you could use the "Introductory Text" for example, since that is usually never used on staticpages (only on overview pages). Enter your meta tags there, and inside your staticpage .tpl you can emit those (or emit them through the index.tpl template instead...
Regards,
Garvin
Posted: Thu Jun 05, 2008 5:04 pm
by Don Chambers
Hmmmm... the HTML Meta-tags plugin provides meta info for entry pages - perhaps someone wants to take it to the next level and provide the same capability for individual static pages???
Re: related entries on static tartpage
Posted: Sat Jun 07, 2008 6:08 am
by faldo29
Hi Garvin,
Suggestion taken. Never thought of it this way lol.
Will try it out.
Regards,
Andrew
garvinhicking wrote:Hi Andrew!
Tags and Metatags are something completely different! One could add meta-tags to a staticpage, if you create your own custom staticpage .tpl file where you insert the tags.
There is no input area for tags themselves, but you could use the "Introductory Text" for example, since that is usually never used on staticpages (only on overview pages). Enter your meta tags there, and inside your staticpage .tpl you can emit those (or emit them through the index.tpl template instead...
Regards,
Garvin

Re: related entries on static tartpage
Posted: Sat Jun 07, 2008 6:24 am
by faldo29
Hi Garvin,
Just implemented your suggestion. Works like a million euros!
Thank you!
Regards,
Andrew