1
I'm using the 7dana-jane theme for my site. I replaced the XOOPS logo banner at the top with my own logo banner. I did this by replacing the logo.jpg in the themes images folder (for 7dana-jane) with my own logo.jpg (same file name, different image).
I went into the themes.html, and replaced the banner image reference to
themes/7dana-jane/images/logo.jpg. I wouldn't have changed this, but neither my banner nor the original 7dana-jane banner version would render in any module except for the start page. The original code referenced some kind of PHP function, which I don't understand. Thus I replaced it with a pure html reference to my image as stated above.
My changes work out fine on the start page if I do not include a module. However, when I navigate to another module or include a module in the start page (such as the news module), the active module adds it's module address.
Thus, instead of the correct address of:
http://mysite.com/community/themes/7dana-jane/images/logo.jpg,
The address becomes:
http://mysite/community/modules/news/themes/7dana-jane/images/logo.jpg.Obviously, this is the incorrect address to where the image is currently located. I could fix this by changing
themes/7dana-jane/images/logo.jpg to
images/logo.jpg in the theme.html, and copying my logo.jpg to the images folder of each module and to the images folder in the main directory. However, this is very redundant, since I would have to include the same logo file in each module.
How do I have XOOPS retrieve/render my banner logo from the same image folder, regardless of which module is navigated to?
Dave