Webmastersite.net
Register Log In

URL Re Write Problem
broken images in wrapper...

Comments on URL Re Write Problem

Paul Grego
Member

Usergroup: Customer
Joined: Jan 20, 2006

Total Topics: 11
Total Comments: 26
Posted Jan 30, 2006 - 6:02 AM:

When I use the mod_rewrite feature I have problems with the 'Image Details' page.
The images in the wrapper are broken and other odd mistakes like the NEW! gif becomes a link. I have done everything required, changed the .htaccess name and no category name as all numbers or special characters. The Main page and Category page are fine.
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 31, 2006 - 8:14 AM:

Did you place relative url images into your wrapper?
Paul Grego
Member

Usergroup: Customer
Joined: Jan 20, 2006

Total Topics: 11
Total Comments: 26
Posted Feb 01, 2006 - 5:33 AM:

I replaced the URL with the full path and now they are showing. Thanks.

I just have the problem of the 'new' gif becoming a link and the background
colour of the detail page not showing. I'm sure it's something simple that needs
changing, I just can't get it! If it's any help the new gif link leads to:
www.mysite.com/mysite-galle...a></p><div class=
and the problem only occurs with categories that have more than one pic. I have
a category with just one pic and everything is how it should be in that.

Thanks again.
Paul Grego
Member

Usergroup: Customer
Joined: Jan 20, 2006

Total Topics: 11
Total Comments: 26
Posted Feb 01, 2006 - 6:05 AM:

I think I worked out what the problem is. For some reason the way I have it set up the 'next' and 'previous' link was conflicting with the other script on the page. I took out the script for that and everything works and looks perfect. It leaves me without the next and previous link though.
Here is the code I removed:

<p align="center">
<IF {PREVIOUSEXISTS}><a href="link.php?catid={IMAGECATID}&orderid={PREVIOUS}">Previous</a></IF>
<IF {PREVIOUSEXISTS} and {NEXTEXISTS}> | </IF>
<IF {NEXTEXISTS}><a href="link.php?catid={IMAGECATID}&orderid={NEXT}">Next</a></IF></p>

Is there anything else I could use? No probs if not, I'm very happy with it now smiling face
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 03, 2006 - 5:20 PM:

Do you have details and comments combined? It uses
<p align="center">
<IF {PREVIOUSEXISTS}><a href="comments.php?catid={IMAGECATID}&orderid={PREVIOUSLINK}">Previous</a></IF>
<IF {PREVIOUSEXISTS} and {NEXTEXISTS}> | </IF>
<IF {NEXTEXISTS}><a href="comments.php?catid={IMAGECATID}&orderid={NEXTLINK}">Next</a></IF>
</p>

for that template.
Paul Grego
Member

Usergroup: Customer
Joined: Jan 20, 2006

Total Topics: 11
Total Comments: 26
Posted Feb 04, 2006 - 8:35 AM:

I did experiment with that but changed it back to not being combined. As it
stands now the image detail page is on its own. I'm not too concerned about a
next/previous link, users can always hit the back button which will take them
straight back to the category selection page. This works fine,

thanks Paul.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



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