Webmastersite.net
Register Log In

Wrapper issue
Wrapper not showing correctly on certain pages

Comments on Wrapper issue

xtree


Usergroup: Customer
Joined: Aug 02, 2005
Location: Romania

Total Topics: 19
Total Comments: 50
xtree
Posted Sep 09, 2005 - 5:48 PM:

I have an issue with the wrapper not showing correctly on second level categories of our directory. I have placed a menu in the wrapper with a background image. It displays correctly on top level and first level depth as well as any other pages but whenever I browse a category deeper in the tree the menu backgroud fails to display, the links still being there.

This happens regardless of the member/user status. I've only used wsn links for about a month but my understanding is that the wrapper should be the same on all pages unless I choose differently which leaves me short of clues here.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 09, 2005 - 7:32 PM:

I expect you're using mod_rewrite and the image is a relative url, such that it doesn't exist at the directory level you're at? Normally urls would auto-absolutize but perhaps you've put it in some format where it isn't recognized (I don't think it'd do a CSS background-image).

If that guess doesn't cover it, you'll have to actually provide some information such as the content of the wrapper you're talking about.
xtree


Usergroup: Customer
Joined: Aug 02, 2005
Location: Romania

Total Topics: 19
Total Comments: 50
xtree
Posted Sep 10, 2005 - 4:17 AM:

I am using mod_rewrite indeed.
The menu is a table (1 row/1column) with straight links divided with an image (which displays on all pages). The image missing is the table background and is linked with <<<background="templates/default/images/myimages/menu_rt.gif>>> where myimages is a folder I've uploaded in the default images folder.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 10, 2005 - 9:27 PM:

Check your HTML source in your browser: <td colspan="2" height="42" valign="middle" background="templates/default/images/oldimgs/menu_rt.gif">

So, as I suggested, it does need to be made an absolute URL. Change your template to make it {DIRURL}/templates/default/images/oldimgs/menu_rt.gif or just hard-code your URL into it if you prefer.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.