go to the base outline of your template/pagesettings and add the js via assests or an atom to head tag.
One of the great features in Gantry5: adding CSS or JS files is very easy.
Thanks for this but it won't work for mobiles. I want to divert a user on an unsupported mobile to a warning page.
Re: Hmm...I wonder what the RocketTheme team has been up to?
Posted 8 years 8 months ago
Not sure I understand what you mean. I would love to redirect an old Samsung/LG/Nokia from 5 years ago but that link above only deals with desktop browsers, does it not?
Re: Hmm...I wonder what the RocketTheme team has been up to?
Posted 8 years 8 months ago
You can't really check the hardware used ther are just too many ... you need to check the useragent.
It could also be that an old device has a vaild browser on it.
Re: Hmm...I wonder what the RocketTheme team has been up to?
Posted 8 years 8 months ago
What's useless? Are you saying it's useless to try and inform users that if they have unsupported operating systems on their mobiles they should upgrade asap? If their old mobile is capable of running Chrome then a messege informing them would surely be useful, no? Or am I just flogging a dead horse and barking up the wrong tree here...