Status: offline

koalasoft

Forum User
Full Member
Registered: 03/09/05
Posts: 242
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 !! Mr. Green
**Cuando el Alumno esta listo, el Maestro Aparece **
::Geeklog support in Spanish::

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
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.

Status: offline

LWC

Forum User
Full Member
Registered: 02/19/04
Posts: 818
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?

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
Quote 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?

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.