GetSimple Support Forum

Full Version: Admin Header Footer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Chris,

how to use this plugin? I downloaded it from the extend, it is active in the plugin panel,
but what to do now?

How to use it?

I need to insert some functionality ....

Cheers, Connie
Connie Wrote:Chris,

how to use this plugin? I downloaded it from the extend, it is active in the plugin panel,
but what to do now?

How to use it?

I need to insert some functionality ....

Cheers, Connie


Theme -> Admin Header Footer
thank you, I was looking around plugins panel

have a nice evening!

@Chris: please add a readme.txt or some info at the plugin ;=)

Cheers, Connie
I entered a simple script into the header
<script type-"text/javascript" src="<?php get_site_url(); ?>/data/uploads/myScript.js"></script>

And a simpler one in the footer:
<?php get_site_url(); ?>
(to verify the actual path)

After saving, the admin page hangs.
In fact, if I look at the data/other/header-footer.xml file, the previous version (with js syntax errors) is still there.
Fixing the xml file doesn't help.
The file seems to use weird codes for the LFs. I am on a Mac, so no CRLFs.
Also, all the "<" and ">" tag brackets have been changed to "&lt;" and "&gt;" resp., except for those of the initial XML (item, header, footer).

What could be wrong?
Is the header-footer plugin robust against js syntax errors?
Otherwise that could also present a vulnerability.