Jump to content

Recommended Posts

Posted

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?

Posted

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.

Posted
Needless to say if Joomla does support this in some way then that is obviously preferred over hard coding URLs as this increases portability.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...