Hi,

I tend to like having all the script tags for javascript together in  
the head section (but I think some people like having them all at the  
bottom of the body, so I guess this all applied to both). I would like  
a slot to somehow be able to 'register' that it uses a script, so the  
master template outputs all script  tags together.

I'm not sure of the best way to do this. One issue that I've come  
across is that if a view is set to be a slot, then it doesn't seem to  
have access to the variables in the master template (my first thought  
was to call $this->setAttribute in the slot view, but this doesn't  
seem to affect variables in the master template). I'm also also not  
sure of the best place the code for this should be. Should it be in  
the view? In the template? In a config file?

Michal.


_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to