inserting code into <BODY> with a plugin

Creating and modifying plugins.
Post Reply
Joe Dobiecki-Davies
Regular
Posts: 15
Joined: Wed Mar 19, 2008 3:08 pm

inserting code into <BODY> with a plugin

Post by Joe Dobiecki-Davies »

Hai Guys!

I want to add a flying letters script to my header words. Is there a plugin that would let me do that without accessing the server and changing the page source directly?

Thanks

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

Re: inserting code into <BODY> with a plugin

Post by garvinhicking »

Hi!

Coulkd you show an example of what you mean?

Are you talking about flash/javascript animation? That you can easily put into the index.tpl file of your template, you don't need a plugin for that.

Just remember to replace { with {ldelim} and } with {rdelim} if you put any javascript code into your index.tpl.

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/
d_cee
Regular
Posts: 603
Joined: Wed Jan 18, 2006 6:32 pm
Location: UK
Contact:

Post by d_cee »

Hi Joe

as I've already told you, if you want to put some javascript inside the <body> you can use serendipity_event_page_nugget plugin.

If you want to put the javascript inside the <head> then you can use the serendipity_event_head_nugget plugin.

Dave
Post Reply