NYCPHP Meetup

NYPHP.org

[joomla] How to include something into the end of the page

Christopher French chris at theendrecords.com
Thu May 26 14:17:12 EDT 2011


Hi. 

in my plugin I am currently trying to add some javascript to the end of a page. 

before the </html> tag. 

Is there a joomla way to do this? 

ideally like

         $document =& JFactory::getDocument();
         $document->addCustomTag($script);

but maybe 

        $document->addCustomTagFooter($script);

thanks in advance. 

Chris


More information about the Joomla mailing list