[geeklog-devel] Better way to manage themes stuff

Blaine Lang geeklog at langfamily.ca
Tue Mar 16 09:07:35 EST 2004


I think this would be very helpfull.

----- Original Message ----- 
From: "Tony Bibbs" <tony at tonybibbs.com>
To: "Geeklog" <geeklog-devel at lists.geeklog.net>
Sent: Monday, March 15, 2004 1:54 PM
Subject: [geeklog-devel] Better way to manage themes stuff

> Hey, I was talking with a coworker doing a few GL installs for some 
> personal things he has (including one for his church) anyway, he ased a 
> question around knowing what template variables are available to a page. 
>     That got me to thinking a bit about the translation stuff for GL2. 
> Right now there is a PHP shell script that can recursively parse .php 
> pages calls to the getText() function.  With a little modification it 
> would be easy enough to have a hacked version of that script pull out 
> calls to setVariable().  In addition to that we can have it look at 
> which actual template it is working on and then print a file that lists 
> the template file name (absolute path) and variables used.
> Now that by itself doesn't do a whole lot but maybe that could be the 
> basis of what gets used for documentation, no?  Heck, even knowing what 
> variables are available in each template without descriptions would help 
> since many of the variables have descriptive names.
> --Tony
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://lists.geeklog.net/listinfo/geeklog-devel

More information about the geeklog-devel mailing list