Adding to page from component view

Have a programming question regarding your component, plug-in, extension or core hacks? Have an interesting tidbit, FAQ or programming tip you’d like to share? This is the place for you.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Post Reply
User avatar
madsamurai
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Tue Oct 02, 2007 6:13 pm

Adding to page from component view

Post by madsamurai » Sat Jan 05, 2008 7:32 pm

How can I add stuff (in this case I need to add a few extra css styles) to the head of the output html from within a component view? I'm sure I'm missing something simple here...

--- update ----

I found the answer... just hadn't looked hard enough.

JDocumentHTML::addCustomTag as described here: http://dev.joomla.org/component/option, ... customtag/
Last edited by madsamurai on Sat Jan 05, 2008 11:21 pm, edited 1 time in total.

Post Reply