Hi
Trying to make a tablet version to a iPad I have no use for, other than maybe hang on the wall, showing data and refresh every minut (why, my wife hates the look of the Davis console, and I have it hanging in the office)
I have made this BETA look: http://byvejr.danmaach.dk/weather2/index.php?p=111 (absolutly not designet for other than test, design will be changed
)
But, somehow, I can´t get it to show without menus and everything, just want to show it likes the attached pic.
I´ve used the mobi page as directions, but it dosen´t help, are there somone who can point me into the right direction please ![Smile :-)](https://www.wxforum.net/Smileys/default/icon_smile.gif)
Very nice idea. You only have to set two settings to true.
But do not use your production version for this.Step 1: Make a clone of your current weather2/ folder, name it weatherx/ as long as it is not weather2/
Step 2: Change the settings in weatherx/wsSettingsWeather.php to get all weatherdata from the original weather2/ folder.
$SITE['uploadDir'] = '../weather2/'.$SITE['uploadDir']; ;
What we tell the scripts here: Get one step back (up) from weatherx/ - go into the weather2/ folder - go into the upload folder for your weather program.
You cam make as many clones of the weather2/ folder and use it for testing, new releases or your iPad pages. So now you have to complete weather folders, all data is uploaded to weather2/ and read by the scrpits in weather2/ and weatherx/
We can now safely remove anything we want. The template can be used in other envirionments where there is for instance a totally different menu system.
So in the wsSettings.php you remove all unnecessary parts.
You want: no headers, no menu, no side column, no bottom parts, no whatsoever.
Only the main part.
$SITE['stripAll'] = false; // to have only menu, no headers for including template in joomla sites etc
$SITE['stripMenu'] = false; // to have no menu, f.i. when using joomla
If you do not the weatherwarnings on the iPad to show up, set that setting also to false.
You can still call any page you want
www.yourwebsite.com/weatherx/index.php?p=10 will load the main page
So if you want to have multiple sets of information on your iPad, add a few buttons or tabs and call the correct page number.
Hope this makes it a little bit more clear.
Wim