WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

URL Re Write Problem
broken images in wrapper...

Version: 2.3.0
printPrint


URL Re Write Problem
Paul Grego
Member

Usergroup: Customer
Joined: Jan 20, 2006
Total Topics: 10
Total Posts: 25
Posted 01/30/06 - 04:02 AM:
quote post
#1
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
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6175
Posted 01/31/06 - 06:14 AM:
quote post
#2
Did you place relative url images into your wrapper?

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Paul Grego
Member

Usergroup: Customer
Joined: Jan 20, 2006
Total Topics: 10
Total Posts: 25
Posted 02/01/06 - 03:33 AM:
quote post
#3
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:
http://www.mysite.com/mysite-gallery/images/image... 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: 10
Total Posts: 25
Posted 02/01/06 - 04:05 AM:
quote post
#4
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="http://www.webmastersite.net/forums/link.php?catid={IMAGECATID}&orderid={PREVIOUS}">Previous</a></IF>
<IF {PREVIOUSEXISTS} and {NEXTEXISTS}> | </IF>
<IF {NEXTEXISTS}><a href="http://www.webmastersite.net/forums/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
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6175
Posted 02/03/06 - 03:20 PM:
quote post
#5
Do you have details and comments combined? It uses
<p align="center">
<IF {PREVIOUSEXISTS}><a href="http://www.webmastersite.net/forums/comments.php?catid={IMAGECATID}&orderid={PREVIOUSLINK}">Previous</a></IF>
<IF {PREVIOUSEXISTS} and {NEXTEXISTS}> | </IF>
<IF {NEXTEXISTS}><a href="http://www.webmastersite.net/forums/comments.php?catid={IMAGECATID}&orderid={NEXTLINK}">Next</a></IF>
</p>

for that template.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Paul Grego
Member

Usergroup: Customer
Joined: Jan 20, 2006
Total Topics: 10
Total Posts: 25
Posted 02/04/06 - 06:35 AM:
quote post
#6
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


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.