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.
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.
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:
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.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on URL Re Write Problem
Member
Usergroup: Customer
Joined: Jan 20, 2006
Total Topics: 11
Total Comments: 26
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.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Did you place relative url images into your wrapper?
Member
Usergroup: Customer
Joined: Jan 20, 2006
Total Topics: 11
Total Comments: 26
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.
Member
Usergroup: Customer
Joined: Jan 20, 2006
Total Topics: 11
Total Comments: 26
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
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Do you have details and comments combined? It uses
for that template.
Member
Usergroup: Customer
Joined: Jan 20, 2006
Total Topics: 11
Total Comments: 26
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.