tobydude wrote: ↑Tue Jul 20, 2021 9:09 am
Nice.
Can you make me one?
Not really, it requires admin access to your meteotemplate installation, plus the ability to load files to your server. It is easy to do though,
1. Load the stickers plugin in meteotemplate.
2. Create a text file called "sig.js" and paste this code in it, changing my site information for yours -
Code: Select all
document.write('<iframe marginheight="0" marginwidth="0" name="iframe1" id="iframe1" width="500" height="150" src="http://weather.westfamilynj.net/meteo/stickersWU/stickerInteractive.php?text=Observatory%20West,%20Sussex%20NJ&type=interactive" align="top" frameborder="0" scrolling="no"></iframe>');
3. Modify if you have one, otherwise create a file called ".htaccess" and paste this code in it, changing my site information for yours -
Code: Select all
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
redirect /sig.gif http://weather.westfamilynj.net/meteo/plugins/stickers/stickerInteractive.php?text=Observatory%20West,%20Sussex%20NJ&dualUnits=1&type=interactive
4. .htaccess goes in the root directory of your website, mine is at weather.westfamilynj.net, not further down in the structure where the meteotemplate resides.
5. sig.js goes pretty much anywhere in your site, it could be the root, or the home folder of your meteotemplate installation. Mine is at weather.westfamilynj.net/sig.gif.