× Here you can get community support related to ReDJ.

how to remove &Itemid

  • kalixo
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 3 weeks ago #6046 by kalixo
how to remove &Itemid was created 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.

More
7 years 3 weeks ago - 7 years 3 weeks ago #6048 by admin
Replied by admin on topic how to remove &Itemid
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 3 weeks ago by admin.

Please Log in or Create an account to join the conversation.

Time to create page: 0.083 seconds