html nugget on top not working correctly

Found a bug? Tell us!!
Post Reply
sir17
Regular
Posts: 8
Joined: Tue Feb 28, 2006 2:55 pm
Contact:

html nugget on top not working correctly

Post by sir17 » Tue Feb 28, 2006 3:01 pm

Hi, I am trying to use the html nugget to display a welcome and short introduction message on a demo I am creating. I set it to only display on the overview page. In overview pages like entries by user or entries by tags, the nugget is being displayed underneath, in the middle of the page. Any thoughts on how to fix that issue?
Thanks

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: html nugget on top not working correctly

Post by garvinhicking » Tue Feb 28, 2006 3:31 pm

I just visited your URL, but I can't see the nugget you are referring to?

Could you make a screenshot or tell me an URL where Ican see it? And are you referring to the "HTML Nugget" sidebar plugin, or to the "HTML Page Nugget" plugin?

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/

sir17
Regular
Posts: 8
Joined: Tue Feb 28, 2006 2:55 pm
Contact:

the html page nugget

Post by sir17 » Tue Feb 28, 2006 3:36 pm

Hi, it is the page nugget. It contains the following text, right underneath the blue header
In der moderierten Online-Diskussion vom 23. Oktober bis 13. November 2005 wurden in über 500 Beiträgen interessante Ideen und Vorschläge zur Gestaltung und Nutzung des Gleisdreiecks entwickelt. Sie beschreiben besser als jede „externe Bestandsaufnahme“ die spezifischen Nutzerinteressen für den Park Gleisdreieck und sind in die Planungen der Wettbewerbsteilnehmer zu integrieren.

http://demo.s9y.eparticipation.com/

btw. amazing piece of software!

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: the html page nugget

Post by garvinhicking » Tue Feb 28, 2006 5:55 pm

Actually the easiest way to place this text *directly* below the header is to edit the index.tpl file of your template. There you can place any custom HTML anyplace you like.

Now the reason why your output is below the tags: The order of event plugins indicates the order of execution; thus if you put the HTML Page Nugget plugin BEFORE the freetag plugin, also its output will be made before the freetag plugin...

Glad you like Serendipity! Spread the word! :)

Best 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/

Post Reply