01.11.2024, 13:21
(01.11.2024, 13:03)admin Wrote: You can create a .lp file that redirects to the specified URL from a storage entry. This way you don't need Custom JS at all. Link URL should be set to /user/redirect.lp.
Code:<? require('apps') url = storage.get('redirect_url') if url then ngx.req.discard_body() ngx.redirect(url) end
sorry, but I have no idea about that... as you can understand, I just need to set a button object or something to click on visu to open a new tab in the browser with the link.
Can you please give me the operating steps to do it?
where I have to put that code and how?
Thanks