meteotortosa wrote:saratogaWX wrote:For the templates, all the configuration items are in Settings.php (and Settings-weather.php).
For the WU-forecast.php, enter your primary site URL in $SITE['fcsturlWU'] (or as the first entry in $SITE['WUforecasts'] = array( ...);
When using the templates, you don't have to customize the support scripts like WU-forecast.php .. the script will configure itself based on the associated entries in Settings.php / Settings-weather.php files.
Best regards,
Ken
Have you seen in my web anything that it should not be modified?
Thanks,
Lluís
Hi Lluis, my comment was intended for mickopla .. sorry, I'd not included a quote about that when originally posting, so I understand the confusion.
I recommend that folks not modify the underlying support scripts (like WU-forecast.php, get-meteoalarm-info.php, get-metar-conditions-inc.php, common.php etc) as those scripts may be replaced in full by a future update. The wx...php, Settings.php, Settings-weather.php, top.php, header.php, menubar.php, footer.php and flyout-menu.xml are all intended to be modified by you to suit your needs .. the distributed pages of those names are starting points. If they need replacement in the future, the updates script will note "replace old with new after modifications are made" to signal that you'll need to port your mods from the old to the new page before installing.
The language-LL.txt files are also expected to be modified by you if need be. The distributions may include updated versions as folks contribute them for the various languages .. it's your option to keep the one for your primary website language as-is, and just update the ones for the other languages you offer on your site.
Since the distribution is all in source, it's
yours to enhance as you see fit .. you can make your maintenance job easier by only modifying the scripts you need to modify, and relying on replacements with updates as they are available.
The support scripts get replacements when either an underlying change to a source website (like WeatherUnderground or temis.nl) changes format and needs a script change to accommodate the new format, or a support script may have a change to fix a bug or provide a template feature enhancement (like the recent changes to provide a wxmetar.php page).
Hope this helps...
BTW.. when you're satisfied with your changes for Catalan, I'd love to pick up and distribute them for the lang=ct translation
Best regards,
Ken