From: Adam M. <ad...@tu...> - 2002-09-30 18:52:01
|
I expanded processTemplate() by adding to more parameters. $showBlocks and $hideBlocks. Both need to be indexed arrays with the value being the block name in the template that you wish to "show" or "hide". $showBlocks is currently working and will always show the blocks passed even if they are considered "empty". $hideBlocks will do the opposite but is not yet implemented. I just put the variable in there as a place holder for the future. I've been following the developement of the HTML_Template_IT class and the hideBlock function should be in the next release if all goes well. I will keep everyone posted. Enjoy! Adam --------------------------------- Adam Morton Developer - Web Technology Group Appalachian State University http://phpwebsite.appstate.edu ad...@tu... |