1
Hello,
Maybe there is already a url variable for this purpose... I'm not sure. Let me explain what I need it for:
I'm looking to basically put two side-by-side variable images in the header of a site, and I need the images to change to reflect the current section of the site that is being viewed. (For example, if the visitor clicked on the link to the "Showroom" section, then pictures of the showroom would display in the header.)
I thought one way to do it would be to create a url variable (similiar to XOOPS_URL) for the current module being viewed, and then store the images in each of the module directories. Then I would name each section's header images the same, such as pic1 & pic2, and then I would code the MOD_DIR_URL/dir/pic1.jpg etc. into the html of the theme...
Am I on the right track here? If so, can someone please explain how I could make that happen? I really not have much experience with php, but I can take directions very well! Or if you know of a more efficient way, please tell me that too!
If I presented any of these detail in an unclear way, please let me know and I will try to explain it better.
Thank you for any assistance in advance!
-dan