hi, > Current implemented solution is universal, it works for all directory > calls ( and php itself caches file system calls and oxconfig caches > getDir > calls ). > For internal smarty includes we used callback > "default_template_handler_func" which calls > oxUtilsView::_smartyDefaultTemplateHandler().
yes, checked it before writing to list ;) > Your smarty modifier approach works only for internal includes inside > main templates (not possible add custom start.tpl, details.tpl, > etc...) plus also mentioned future template update hell (I would > suggest you to move modifier functionality to extended > oxUtilsView::_smartyDefaultTemplateHandler ). our solution works fine for us :) ok, we`ll have the opportunity to use our and to use your implementations in our projects. > Cache in SESSION, hmm.. there is no session for first call, why not > to cache it globally? no cache in session please. that`s really dirty :) _______________________________________________ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general
