<?php
// No direct access
defined('_JEXEC') or die;
// Header Manipulation
$document = JFactory::getDocument();
$document->addScriptDeclaration($orgData,FOOBAR);
I have installed this module on two Joomla 3.7.4 sites and it works beautifully.
I have installed this module on another Joomla 3.7.4 site, and it does not work.
Instead of
<script type=FOOBAR>
the final HTML rendered is showing
<script type="text/javascript">
Is there some way something in the template can be overriding my module's addScriptDeclaration ? Is there any way to force it through ?
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
To post to this group, send an email to joomla-de...@googlegroups.com.
Visit this group at https://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/d/optout.