I am trying to get the wxreports scripts to work, but I can not get them to work with the template. They will work on their own though.
In the template the data will not display and if I select a different year, it just pushes me to the home page.
Anyone got any ideas?
Stand alone page is here http://wxcalgary.com/weather2/wxreports/wxbarodetail.php
The standalone page works well on its own. It adepts to the wide of the page. The reason for the template startpage to be displayed is in the handling of the form / go button.
For the time being I would advise to use
1. a newpage form the template (weather2/inc/wsNewPage.php)
2. make a copy of it and rename that as wsreportBaro.php
3. put it in the menufile at the place you wish
4. test if an empty page is displayed if you select it in the menu.
===
Now adapt the wsreportBaro.php page you just copied and use the iFrame example in that page. The other exmple code (HTML and PHP) should be removed.The width of the iFrame can be set to 100%, the hight at 1100 pixels as the wxbarodetail.php page is that now.
It is a fast solution for pages that do not need an integration (of data or other scripts) in the Leuven Template.
Succes, Wim
P.S. After the december release I will download those scripts and if integration of the scripts add value to both, try to integrate them more closely.