Ken, sorry for the delay in my reply - I have been busy at other scripts and did not noticed your reply/comment (I had forgotten to subscribe to this thread).
saratogaWX wrote:Looks like I'm a few Beta tags short at 329 in the current prod+beta tags.txt .. guess I'll have to scour the beta forum for the missing ones.
No need, I will be attaching my latest version of 'tags.txt' (last updated yesterday - 400 alphabetically sorted tags).
saratogaWX wrote:...why are you also modifying the CU-defs.php file?
Because (at least) 4-6 Weather Display type tags were needed in one of the template I was playing with - thus I had to modify the 'CU-defs.php' to include those WD tags.
saratogaWX wrote:...but be aware that future releases of the plugin will probably replace the CU-defs.php file as more WD:CU matching variables are implemented.
That would be the last of my worries - I never update anything (software, scripts, templates, etc) before making a backup copy of the old stuff. As for the templates, they are always extracted into their own directory, away from the modified/in-use templates. When I decide to update a template, I compare the new template with the old template and enter only the modified sections of the code into my template - my templates are never replaced but only modified or updated thus keeping page formatting I prefer (without any tab characters).
saratogaWX wrote:...if you stuck to addressing the Cumulus-specific variablenames as $WX['variablename'] .. just makes your code potentially portable to all the other Cumulus template users instead of grounding it to your specific installation.
The templates I have been adapting to Cumulus have been using the $WX['variablename'] format - I have been using that format for the past years since I did some preliminary work with Kevin Reed and was introduced to the format. Although I spend many hours adapting the scripts, at no time have I ever planned nor thought of doing the modification to make the code portable - I make the modifications so the scripts/templates operate within my own installation. If someone like my scripts/templates, I will gladly modify them for their own use. I tried once to produce portable code but that experience proved unrewarding...
![Evil or Very Mad :evil:](./images/smilies/icon_evil.gif)