Welcome to Geeklog Thursday, March 04 2021 @ 02:06 am EST

Geeklog Forums

How I can enabled caching template in gk 1.5.1


Status: offline

koalasoft

Forum User
Full Member
Registered: 09/03/05
Posts: 242
Location:Mexico
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::
 Quote

Status: offline

jmucchiello

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

Status: offline

LWC

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

Status: offline

jmucchiello

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

All times are EST. The time is now 02:06 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content