Hello,
My joomla (2.5) module contains the following code to add a meta tag and an ajax app to the site:
$doc =& JFactory::getDocument();
$doc->addCustomTag('<meta name="gwt:property" content="locale=en" />');
$doc->addScript(JURI::root(true).'/gwt/myapp.nocache.js');
The problem is, addCustomTag() (althoug it is called before addScript) adds the meta tag at the end of the head section (i.e. after the apps script tag), but the ajax app requires the meta tag to be defined before its "<script src..." tag.
How can I ensure the meta tag appears before the script tag in the output html's header?
Thank you.