related entries on static tartpage

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
fight69
Regular
Posts: 15
Joined: Sun Oct 29, 2006 1:09 am

related entries on static tartpage

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: related entries on static tartpage

Post 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
# 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/
fight69
Regular
Posts: 15
Joined: Sun Oct 29, 2006 1:09 am

related entries on static tartpage

Post 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 ... :D
faldo29
Regular
Posts: 19
Joined: Fri Dec 29, 2006 2:16 am

Re: related entries on static tartpage

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: related entries on static tartpage

Post 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
# 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/
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post 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???
=Don=
faldo29
Regular
Posts: 19
Joined: Fri Dec 29, 2006 2:16 am

Re: related entries on static tartpage

Post 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
:lol: :lol: :lol: :lol: :lol:
faldo29
Regular
Posts: 19
Joined: Fri Dec 29, 2006 2:16 am

Re: related entries on static tartpage

Post by faldo29 »

Hi Garvin,

Just implemented your suggestion. Works like a million euros! :-D

Thank you!

Regards,
Andrew
Post Reply