Posted on: 10/05/08 01:03am
By: koalasoft
Hi !! ..
In my old server enabled caching template .. but now in my new server in Geeklog 1.5.1 . How I can do enabled this (Caching template )??
Grettings !!
Re: How I can enabled caching template in gk 1.5.1
Posted on: 10/05/08 02:18am
By: jmucchiello
You can skip most of the install steps for CTL under Geeklog 1.5/1.5.1. Most of the CTL install steps were to work around bugs in 1.4.1 that have been fixed in Geeklog 1.5.
Just copy template_new.class.php into your system/classes directory and find this line in lib-common.php
require_once( $_CONF['path_system'] . 'classes/template.class.php' );
Make it
require_once( $_CONF['path_system'] . 'classes/template_new.class.php' );
Don't forget to create the data/layout_cache directory.
Re: How I can enabled caching template in gk 1.5.1
Posted on: 10/05/08 05:30am
By: LWC
If it all comes down to one file now (unless the new class calls other files), is there a chance Media Gallery v1.6.1 would work without the caching template now? How much does it rely on that one file if it does at all?
Re: How I can enabled caching template in gk 1.5.1
Posted on: 10/05/08 12:38pm
By: jmucchiello
Quote by: LWCIf it all comes down to one file now (unless the new class calls other files), is there a chance Media Gallery v1.6.1 would work without the caching template now? How much does it rely on that one file if it does at all?
It relies on it a whole heck of a lot. That file is the only file important to CTL. I don't think you understand what the CTL is. It is a drop-in replacement for the old template class. It does everything the old template library did, plus a bunch of other things. In addition to the speed-up features, many additional constructs have been added to replacement part of the library. MG 1.6 and up uses many of those new features to simplify the coding of MG.