But site visitors with mobile phones have complained that it is quite laborious to access these pages using their mobile.
So what i would like to add is one gallery page which can be selected directly from the mobile overview. How can this be done?
I misunderstood. It is very easy to add the button, make the second row buttons smaller, as explained in my previous answer.
What you want to do then, that is up to you.
Normaly you would then include a script to display something. In your case the gallery.
With at least one button to go back to the mobile site. And other buttons to select which gallery has to be displayed.
You can write and test that script fully stand-alone on any device as it is independent of any template. The only link is a button to switch to that script.
mobi.php = > user click button = > mobi.php switches to yoursite / gallery.php
In that gallery script you have a button to go to the index.php (which will automatically switch to mobi) at the same way.
Hope I express myself more understandable this time:
you should NOT include the code in the mobi.php scripts, but make a reusable gallery script and link to that from any environment you want to use it.
As you can see it works. I did a test and put the gallery code in a new php file called āmobiGallery.phpā and replaced the Customize section (of course i backed up the old mobi.php first) http://weatherfrog80.bplaced.net/weather2/index.php?mobi=12
However i would like it more if i could just leave the customize section as it is and just made the lower buttons smaller as you had explained in your first reply.
But iām having trouble to find those lines where the buttons are declared, also took a look in the wiki but could not find any explanation about that.
Could you e-mail me your version of mobi.php?
Then I will try tomorrow to adapt it. Will make a more āeasy to changeā version for the next release also.
Sorry for that, I thought you already had my email.
Attached the modified mobi.php
You have to shorten some words for the second button row for German, English words fit.
Done. I donāt have much free time on my hands right now, but when it gets better i will probably show my recently taken pictures on that gallery.
Thanks again for the great support.
I have played around a little bit with this photo thing, photos are auto sliding over the screen.
Found a good way to show photos from www.flickr.com if you have your photos there.
Ifram into a php you make from the info you set up at flickrit.com, and it becoms like this:
aaaaā¦ Sorry, photo to big so check here:
Hiā¦im switching to 2.8 andā¦im changing the METAR in the /metar/metarDisplay.php to put mine in canadaā¦when uploading the modifyed file i still get the old/original metarsā¦
One last thingā¦about the background transparencyā¦
i know ive asked you before but just dont remember wich file i have to play in to change the transparency a bit
just to make a bit more opaque the panelās backgroundā¦and im using weather adapted as default
For every background āmoodā = sun, pclouds and so on, there is a set of CCS lines in weather??/styleMood20.css
The page background is the line such as:
I will take a look tomorrow if you succeeded with this solution below.
BUT I need in all future questions:
a. The p=0000 menu entry back in the wsMenuData.xml You can use the one with hide so that it is not in the menu itself
b. a PM with the (temporary) password of your settings so I can print the non-Leuven scripts.
As for now I think you should change line 143 in weather??/wxwugraphs/WUG-settings.php from
$windmu = 'm/s'; // 'm/s' or 'km/h' for metric units selection
to
$windmu = 'km/h'; // 'm/s' or 'km/h' for metric units selection