Posted on: 07/27/09 01:13pm
By: tgc
I am upgrading to GL 1.6 from 1.41. I made a clean install in a sub directory and now I am pulling all the plugins over one after one. When I do that with Media Gallery I get the message that I need to install the Caching Template Library but it is not possible because the config file is not there anymore.
What to do? I need my installation of Media Gallery like it is right now and if I can't use it, GL 1.6 is of no use for me.
Thank you all/Frank
Re: Caching Template Library for GL 1.6?
Posted on: 07/27/09 03:31pm
By: Anonymous (iam)
Quote by: tgcI am upgrading to GL 1.6 from 1.41. I made a clean install in a sub directory and now I am pulling all the plugins over one after one. When I do that with Media Gallery I get the message that I need to install the Caching Template Library but it is not possible because the config file is not there anymore.
What to do? I need my installation of Media Gallery like it is right now and if I can't use it, GL 1.6 is of no use for me.
Thank you all/Frank
I think before you upgrade to 1.6.0, you have to know about the compatible Media Gallery and GL 1.6.0 first. if MG plugin not available for GL 1.6.0 than we have to wait until it available for download.
Re: Caching Template Library for GL 1.6?
Posted on: 07/27/09 05:10pm
By: ::Ben
Hello,
Last official Media Gallery plugin release is
version 1.5.1[*1]
::Ben
Re: Caching Template Library for GL 1.6?
Posted on: 07/28/09 05:12am
By: tgc
... if you don't know then please save your guessing.
I found it out by myself: I added the code which is necessary to the conf_values in the database in phpmyadmin.
Frank
Re: Caching Template Library for GL 1.6?
Posted on: 07/28/09 12:20pm
By: jmucchiello
I do plan (someday) to re-release CTL for GL 1.6. I just haven't been able to. The existing CTL release can be used with GL by hacking around the siteconfig.php if you know what you are doing. My plan is to turn it into a plugin so it will be easier to integrate into future GL code. But there is no timeline for this. Sorry.
Re: Caching Template Library for GL 1.6?
Posted on: 07/28/09 12:36pm
By: tgc
I wished I could get back the good old config.php file. I think this database solution sucks - this ain't progress!
Frank
Re: Caching Template Library for GL 1.6?
Posted on: 07/28/09 03:14pm
By: Dirk
I have no idea what sort of hacking in siteconfig.php the CTL requires and why, but you can overwrite pretty much every $_CONF variable in siteconfig.php.
Taking this to the extreme, you could even use it to get your old config.php-like behaviour back if you so despise the Configuration screen ...
bye, Dirk
Re: Caching Template Library for GL 1.6?
Posted on: 07/28/09 05:07pm
By: jmucchiello
The original install instructions include a way to turn the CTL on and off and this was accomplished with a $_CONF setting that was specific to the hack. Of course the original intent for this was to handle cases where the CTL broke backward compatibility having this part of the hack left you a way to get that compatibility back. Eventually I removed all the backward compatibility issues and that part of the hack was unnecessary. Technically, one could take the exist zip, extract template_new.class.php to the classes directory and just change lib-common.php to load that file instead of template.class.php and be done with it.
The original purpose of CTL as discussed on the devel mailing list was speeding up templates in Geeklog. It expanded a lot from there. One of the main reasons I have for turning it into a plugin is to return to CTL's roots, reducing the number of extensions or making them far more optional. Of course glFusion uses the CTL as its native template engine so I'm positive now that the existing code is robust. (Although even I am out of touch with any changes that may have been by the glF team recently.)
Re: Caching Template Library for GL 1.6?
Posted on: 07/30/09 07:10am
By: Laugh
It would be nice to see it as a plugin, when you get a chance.
Re: Caching Template Library for GL 1.6?
Posted on: 07/30/09 12:06pm
By: jmucchiello
It will still require you to modify lib-common.php. Or overwrite the template.class.php file with a new one. There's no way around that.
Re: Caching Template Library for GL 1.6?
Posted on: 08/01/09 11:02am
By: tgc
Quote by: DirkI have no idea what sort of hacking in siteconfig.php the CTL requires and why, but you can overwrite pretty much every $_CONF variable in siteconfig.php.
Taking this to the extreme, you could even use it to get your old config.php-like behaviour back if you so despise the Configuration screen ...
bye, Dirk
Does that mean I can copy the content of my old config.php into the the siteconfig.php file and I can make all changes there and not in the database? Does this also affect speed performance?
Frank
Re: Caching Template Library for GL 1.6?
Posted on: 08/01/09 12:02pm
By: Dirk
Quote by: tgcDoes that mean I can copy the content of my old config.php into the the siteconfig.php file and I can make all changes there and not in the database?
Yes. I'm not 100% positive that it'll work for all settings, but certainly for most of them.
And no, it wouldn't affect performance. It would render the Configuration admin panel pretty much useless (at least for the core Geeklog options), of course.
bye, Dirk (who can't imagine why anyone would want to do that, but to each his own)
Re: Caching Template Library for GL 1.6?
Posted on: 08/02/09 10:46am
By: tgc
Quote by: Dirkbye, Dirk (who can't imagine why anyone would want to do that, but to each his own)
I prefer to just do the find in BBEdit for quicker configuration...
Frank (who is going to check it out asap)