A good tip with URLs if you are not already doing this, is to have them all relative, not full URLs, this way the accounts system handles them correctly and doesn't log people out, when a full coded URL is clicked.
Announcement
Collapse
No announcement yet.
Hyperlink to specific product reference
Collapse
X
-
Perhaps an example would help - how can relative addressing be made to allow a link within a page which will work when both logged in and out?
Could someone who has done this (has anyone?) post some real working code? Since first posting I've found that the advanced UG for v9 actually states:-
It is possible to take people straight to a specific product with a hyperlink of the following form:
http://your.URL/cgi-bin/ss00000x.pl?...2345&NOLOGIN=1
Where:
• http://your.URL/cgi-bin is the URL of your CGI-BIN
• ss00000x.pl is the name of your search script with the 'x' replaced with your CGI ID number
• 12345 is the product reference of your desired product.
• &NOLOGIN=1 is an essential thing to add to the end of the URL to order to bypass the login page
So Actinic are telling people to do something that won't work (when logged in). Do they realise this?
NickFighting with sellerdeck on http://www.nickdobsonwines.co.uk
Comment
-
Originally posted by drounding View PostThe script ID is not per product but is set for the site. You can check it in Actinic - Web - Network Setup - Common Settings.
THe script ID on the wine site is 1, as you can see from here for example:
Code:http://www.nickdobsonwines.co.uk/cgi-bin/mf000001.pl?ACTION=SHOWFORM
On a minor point, where the script ID is 2 digits or more (mine was 65) knock off the appropriate number of zeros - e.g. for 2 digit IDs:
Code:http://www.theDomain.co.uk/cgi-bin/ss0000XX.pl?PRODREF=Y&NOLOGIN=1
Comment
Comment