Enable/Disable Splash image via URL Parameters?

Q&A about the latest versions
Post Reply
benu
Posts: 8
Joined: Fri Nov 13, 2020 8:36 pm

Tue Mar 30, 2021 10:22 pm

I want to be able to include a custom URL feature so the clients can include whether or not to show the intro splash page e.g.

Don't show the splash on load:
the.url/index.html#node1?splash=0

Show the splash on load:
the.url/index.html#node1?splash=1

The idea here is that I'd have a vis_splash variable in my skin, which changes into true or false based whether the URL splash parameter is 0 or 1.
I thought this might be something that's widely used, but after numerous searches, it's looking less common than I'd assumed.

Can anyone point me in a good direction? For now I'm trying some javascript (I can kinda, sorta scrape by as a coder) but so far no luck....

Thanks for any help!
User avatar
Hopki
Gnome
Posts: 11287
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Wed Mar 31, 2021 8:49 am

Hi,
Have a look at this forum post: viewtopic.php?f=13&t=15454
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply