Page 1 of 1

Access LISE parameters via URL

Posted: Mon Sep 30, 2024 3:16 pm
by WDJames
Hello,

I'm wondering if anyone can help. I have the following LISE tag:

{LISEEvents orderby="custom_StartDateTime|ASC"}

Is there anyway to access the above via a URL as I am using javascript to load the items. At the moment this is the URL that I am fetching which does not have the orderby parameter:

Code: Select all

https://website.com/events?mact=LISEEvents,cntnt01,default,0&showtemplate=false
Any ideas would be greatly appreciated. Apologies if I haven't explained very well.

Thanks,

James

Re: Access LISE parameters via URL

Posted: Mon Sep 30, 2024 3:37 pm
by WDJames
Hi All,

Nevermind, I figured it out. I needed to add cntnt01 to the parameter so it reads:

Code: Select all

https://website.com/events?mact=LISEEvents,cntnt01,default,0&cntnt01orderby=custom_StartDateTime&showtemplate=false
I hope this helps someone.

James

Re: Access LISE parameters via URL

Posted: Tue Oct 01, 2024 8:32 am
by velden

Re: Access LISE parameters via URL

Posted: Tue Oct 08, 2024 10:06 am
by WDJames
Hi Velden,

Thanks for the the suggestion, that is definitely simpler than my solution.

Thanks,

James