[geeklog-devel] The Mysterious Case of the Double Blocks (was 1.5.1 - what's left to do?)

Dirk Haun dirk at haun-online.de
Sun Aug 17 05:48:53 EDT 2008


Michael Jervis wrote:

>> Why move the $side to the front in the filename?
>
>Because then you can do $side . '_' . $template instead of messing
>around trimming and appending .thtml and checking for trailing
>left/rights.

The current naming convention, block[header|footer]{-something}.thtml
looks more logical to me (and makes it easier to find template files
that belong together).

Aren't you building the filenames from the given parameters anyway? So
the function is in control of the filenames and shouldn't have to do any
stripping or trimming. Or am I missing something?

bye, Dirk


-- 
http://www.haun-online.de/
http://geeklog.info/




More information about the geeklog-devel mailing list