Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I'm trying to link to search results using the altTemplate syntax like this:
http://localhost/altTemplate=Search?s=Prada
The alias of my template is 'Search'
But this doesn't seem to work
Am I doing something wrong here?
Thanks for your help,
Anthony
The altTemplate is also a querystring so try this:
http://localhost/?altTemplate=Search&s=Prada
You can also get the altTemplate like this:
http://localhost/Search?s=Prada
Jeroen
I think you are missing a ? eg altemplate= is a query string parameter
Without testing... I think you may need to have....
http://localhost/?s=Prada&altTemplate=Search
eg the orignal page takes the s parameter and you are adding the altemplate paramater. (the orignal page parameters get passed onto the alttemplate I think)
alternatively you can use the shortend version...
http://localhost/?s=Prada/Search
This may or may not work, I can't test currently.
Hi Jeroen, Mike
Thanks for your help, I tried the url suggested by Jeroen and this works:
http://localhost/?alttemplate=search&s=Lorem
greetings,
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
try to link to search page with altTemplate
Hi,
I'm trying to link to search results using the altTemplate syntax like this:
http://localhost/altTemplate=Search?s=Prada
The alias of my template is 'Search'
But this doesn't seem to work
Am I doing something wrong here?
Thanks for your help,
Anthony
The altTemplate is also a querystring so try this:
http://localhost/?altTemplate=Search&s=Prada
You can also get the altTemplate like this:
http://localhost/Search?s=Prada
Jeroen
I think you are missing a ? eg altemplate= is a query string parameter
Without testing... I think you may need to have....
http://localhost/?s=Prada&altTemplate=Search
eg the orignal page takes the s parameter and you are adding the altemplate paramater. (the orignal page parameters get passed onto the alttemplate I think)
alternatively you can use the shortend version...
http://localhost/?s=Prada/Search
This may or may not work, I can't test currently.
Hi Jeroen, Mike
Thanks for your help, I tried the url suggested by Jeroen and this works:
http://localhost/?alttemplate=search&s=Lorem
greetings,
Anthony
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.