how to remove &Itemid
-
kalixo
-
Topic Author
-
Offline
-
Senior Member
-
Less
More
-
Posts: 45
-
Thank you received: 0
-
-
7 years 7 months ago #6046
by kalixo
hello,
could you please help me removing "&itemid" from string?
source:
http:/domain.com/component/search/?searchword=anything&searchphrase=all&Itemid=XXX
target:
http:/domain.com/component/search/?searchword=anything&searchphrase=all
(where "anything" could be any string)?
Thank you
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
7 years 7 months ago - 7 years 7 months ago #6048
by admin
Hi,
you can use the {querydropfull var1=value1,...,varN=valueN} macro:
Same as 'querydrop' but with question mark - ENTERPRISE VERSION ONLY
{querydropfull task} => ?id=32
{querydropfull id,task=save} => ?task=save
{querydropfull id,task=edit,action=close} => ?task=edit&action=close
In your case:
{querydropfull Itemid,itemid}
Kind regards,
Luigi
Last edit: 7 years 7 months ago by admin.
Please Log in or Create an account to join the conversation.
Time to create page: 0.129 seconds