Hello

I just upgraded to 4.7.1, and now 4.7.2 from 4.6.5

In my previous installation I placed the following script (comments & changed bracketing added for full script to show) in my footer, and it worked perfectly. In 4.7.x, the code is shown rather than run. Has something changed, or should i recode in some way?

Many Thanks

// (SCRIPT LANGUAGE="Javascript" TYPE="text/Javascript")
// var iwt_visible = "false"
// if (iwt_visible == "false")
// var iwt_tm ="border='0' width='0' height='0'";
// else
// var iwt_tm ="width='11' height='11'";

// document.write("Only local images are allowed.")
// (/SCRIPT)
// (NOSCRIPT)

Comments

michaelangela’s picture

I haven't tried it yet but previously in a 4.6.5 install we had, we could put full HTML in the Mission, including Javascript. There were some changes in how info is checked before being sent to the browser but I don't know if there are specific changes regarding those sections. However, if it is an urgent issue, you could modify your template.php file perhaps and put it there directly? In the phptemplate we are using, there is:

    <?php if ($footer_message): ?>
      <div id="footer" class="footer-<?php print $layout; ?>">
           <p><?php print $footer_message; ?></p>
      </div>
    <?php endif; ?>

So that is where I would put any custom code. Until one of the gurus reply, perhaps that would help?

--------------------
Michael
http://michaelangela.name