I'm sorry to bother you guys again, but I'm stuck on another poser.
I have six years of data produced by Weather Display and the Saratoga template that I want to copy over into my new site. I am doing this by way of a daily / monthly summary page.
This is the original page - http://www.brackenhouse.net/weather/wxhistory.php.
This is my effort to integrate it into WeatherCat / Leuven - http://www.brackenhouse.net/weather27/index.php?p=157&lang=en
As you will see, the page looks fine for the current month (July 2015), but if you select another month from the dropdown menu, you are taken back to the home page. Can anyone suggest any way of forcing the page to display the correct month? I am desperate to get this working as it compensates for WeatherCat being unable to import data from Weather Display.
Wim?
Can you please zip the Saratoga page and post it, or send it in an email?
As Saratoga pages are 'stand-alone" the adress each other by page-name
wxhistory.phpand when you select a period
/wxhistory.php
?date=201506The leuven-template removed all general code from the page and executes the pages by
index.php?p=
pagecodeand when you select a periode the link should become
index.php?p=pagecode
&date=201506So no ? as that one is already used but an &.
All scripts which use "in-script" selectors need some minor adjusting.
Hope this makes it a little bit clearer.
I think it could work already when you change line 124 in the html part of
_my_scripts/wxhistory.php from
<form action="" method="get">
to
<form action="index.php?p=157" method="get">
We have then hard-coded the pagenumber, but for now that is OK.
Wim
Wim