[geeklog-devel] Reducing Template Files

Joe Mucchiello joe at throwingdice.com
Tue Jun 18 02:34:57 EDT 2013


The old GUS plugin used it. Media gallery uses it. Several other old
plugins used it. One of the most difficult parts of creating the CTL was
emulating these block functions.

I have no idea why it was never used in core Geeklog.

CTL adds If/Else and Loop functions that can also be used to reduce the
number of templates. And they do it cleaner than the block functions since
you don't have to add block calls to the code to use them. I still find
coding for the block functions odd.

> Actually this has been part of the original template library for a while.
> Dengen used it in the page navigation about a year ago and I forget where
> he
> said he found out about the code.  It is documented somewhere but of
> course
> I cannot find it now.
>
> Tom





More information about the geeklog-devel mailing list