Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks


Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Wednesday, June 19 2013 @ 04:47 AM EDT


 Forum Index > Extensions > Plugins New Topic Post Reply
 Caching Template Library for GL 1.6?
   
tgc
 07/27/09 01:13PM (Read 1431 times)  
++++-
Regular Poster

Status: offline


Registered: 03/15/06
Posts: 82
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

 
Profile Email
 Quote
Anonymous: iam
 07/27/09 03:31PM  



Quote 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


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.

 
 Quote
::Ben
 07/27/09 05:10PM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1369
Hello,

Last official Media Gallery plugin release is version 1.5.1

::Ben

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
tgc
 07/28/09 05:12AM  
++++-
Regular Poster

Status: offline


Registered: 03/15/06
Posts: 82
... 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

 
Profile Email
 Quote
jmucchiello
 07/28/09 12:20PM  
+++++
Full Member

Status: offline


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

 
Profile Email
 Quote
tgc
 07/28/09 12:36PM  
++++-
Regular Poster

Status: offline


Registered: 03/15/06
Posts: 82
I wished I could get back the good old config.php file. I think this database solution sucks - this ain't progress!

Frank

 
Profile Email
 Quote
Dirk
 07/28/09 03:14PM  
AAAAA
Admin
sad

Status: offline


Registered: 01/12/02
Posts: 13035
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

 
Profile Email Website
 Quote
jmucchiello
 07/28/09 05:07PM  
+++++
Full Member

Status: offline


Registered: 08/29/05
Posts: 985
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.)

 
Profile Email
 Quote
Laugh
 07/30/09 07:10AM  
AAAAA
Admin

Status: offline


Registered: 09/27/05
Posts: 891
It would be nice to see it as a plugin, when you get a chance.

 
Profile Email Website
 Quote
jmucchiello
 07/30/09 12:06PM  
+++++
Full Member

Status: offline


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

 
Profile Email
 Quote
tgc
 08/01/09 11:02AM  
++++-
Regular Poster

Status: offline


Registered: 03/15/06
Posts: 82
Quote 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


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

 
Profile Email
 Quote
Dirk
 08/01/09 12:02PM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13035
Quote by: tgc

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?


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)

 
Profile Email Website
 Quote
tgc
 08/02/09 10:46AM  
++++-
Regular Poster

Status: offline


Registered: 03/15/06
Posts: 82
Quote by: Dirk

bye, 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)

 
Profile Email
 Quote
Content generated in: 1.29 seconds
New Topic Post Reply

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