Hi,
I'm very, very new to AtoM so apologies if this is a bit of a 'doh!' question... I'm trying to apply some simple visual customisation to the AtoM front end using css and some jQuery. I'm working in _header.php and _footer.php in a plugin template folder. The css works absolutely fine and we've been able to create something a bit more in tune with what we want. I run up against a problem when trying to use JQuery though.
A simple test shows that JQuery is detected but none of thJQuery code I include (in _footer.php_) appears to work. I can get round this by manually importing jquery into the template from a CDN but then I experience problems with AtoM functionality (specifically the tree structure for navigating to archived materials and the image rotator both fail).
My first thought was that AtoM uses an old version of jquery (1.8.3) and it didn;t understand the syntax. However if I import 1.8.3 separately from a cdn then my own code works but again I lose functionality.
The issue, or at least part of the issue, therefore appears to be that it doesn't like me (re)importing JQuery but beyond that I'm stuck.
I have two solutions which both work partially but which appear to cancel each other out.
Any advice would be much appreciated.
Stef