kris Posted February 23, 2010 Posted February 23, 2010 Hello all, I've been trying to add a flash menu banner to our school site at Our Lady Queen of Peace Catholic Engineering College I've got the flash header working on the homepage thanks to The Flash Module, however it seems the problem isn't over. The flash banner isn't appearing when I navigate to another page on the site, which I assume is because the flash module is searching for the /images/ folder in that URL, for example if I go to Contact Us, it'd be looking for "http://www.our-lady-queen.lancsngfl.ac.uk/index.php/contact-us/images/menu.swf". Anyone know how to remedy this?
pwds Posted February 23, 2010 Posted February 23, 2010 This isn't specific to to Joomla, but whenever working with hand coded sites that share a common header (Server Side Includes) I've usually had to put the full http://www.domain.com/images/header.ext reference for the header to compensate for the fact the same image is being referenced from multiple directory levels. Your CMS may have a $site_url or similar variable you can use for addressing though, in fact I'd be surprised if it didn't.
pwds Posted February 23, 2010 Posted February 23, 2010 Needless to say if Joomla does support this in some way then that is obviously preferred over hard coding URLs as this increases portability.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now