Re: adding content to loaded macro
Michael Zeltner <[email protected]> Mon, 22 Mar 2004 23:47:32 +0100
| Newsgroups | gmane.comp.web.zope.plone.design |
|---|---|
| Message-ID | <[email protected]> |
chris hughes wrote: > Hi all, > > I want to add some content to the javascript_head slot in > main_template.pt, but I have no idea how to add content to a template > that has already been loaded. I am building a portlet in a custom file > system skin that needs to add a simple JS function to the HTML head. usually you would only need the fill-slot stuff - in a portlet (http://plone.org/development/teams/ui/p2uicookbook/NakedPortlets) you'd put that fill slot tag in side the '<div metal:define-macro="portlet">' tag. but i don't know what exact code snipped you used but maybe this helps: http://plone.org/documentation/howto/CustomJavaScript regards, michael PS: please use a better formatting of your message next time :) thanks -- </gro.jiin//:ptth> °jiin ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click