Is there any way to get a variable to give me the latter, as this is a translation through HTACCESS and not a URL recognized/created by the software?
I'm trying to do two different things - add a "Link To This Listing" gimmick to the details page with a hard link option (browser's URL to the current page) and a voting option, eg
The software only receives the final URL, there's no way for {CURRENTURL} to know what it was before the .htaccess... and if it did, that'd break all the functionality that relies on {CURRENTURL}. In the case of a details page you should use {LINKDETAILSURL} instead of {CURRENTURL} though.
Don't in.php links work with the subdomain? {CATURL}/in.php?id={LINKID}
Comments on CURRENTURL issue with cats as sub-domain
Experienced
Usergroup: Customer
Joined: Jun 18, 2008
Total Topics: 22
Total Comments: 85
Hi Paul,
Playing with CURRENTURL in a detailed listing, and realized it always returns http://www.mysite.com/bunch-of-parameters instead of http://mysub.mysite.com/category/details-file-name.html
Is there any way to get a variable to give me the latter, as this is a translation through HTACCESS and not a URL recognized/created by the software?
I'm trying to do two different things - add a "Link To This Listing" gimmick to the details page with a hard link option (browser's URL to the current page) and a voting option, eg
http://mysub.mysite.com/in.php?id=xx
so the link goes to the subdomain not www.
Make any sense?
Thanks,
Jeff
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The software only receives the final URL, there's no way for {CURRENTURL} to know what it was before the .htaccess... and if it did, that'd break all the functionality that relies on {CURRENTURL}. In the case of a details page you should use {LINKDETAILSURL} instead of {CURRENTURL} though.
Don't in.php links work with the subdomain? {CATURL}/in.php?id={LINKID}
Experienced
Usergroup: Customer
Joined: Jun 18, 2008
Total Topics: 22
Total Comments: 85
Ahh - never looked at CATURL - will check that out now.