You could look at a view filter which is initiated only at that page. This filter can change the <body> to a <body onLoad="">.
Regards, Jurian -- Jurian Sluiman CTO Soflomo V.O.F. http://soflomo.com On Friday 27 Nov 2009 21:45:45 tonystamp wrote: > Hello > > I am using a layout for about 30 pages, but one page which has a google map > embedded in it requires that i add two events to the body tag of the > document. Obviously i don't want to add it for every page that doesn't need > it, so i'm not going to add it to the layout (it would also cause js > errors, as the js code is included in the page with the map in it). > > Is there a way to simply add the extra line of code to the body in the > controller, or will i need to use another layout to define the body events > just for that page? It would seem a waste, as everything else is identical > > :? >
