[geeklog-devel] Bug 0000775 - proposed solution

Dirk Haun dirk at haun-online.de
Fri Apr 10 18:20:20 EDT 2009


Sean Clark wrote:

>So what I'm asking is whether running the variables that are assigned to
>$cal_templates around line 550 through a conditional statement, and then
>having the templates use a resulting $relnofollow variable would work. 

Since our old templating system doesn't have support for conditions -
yes, that's probably the best solution here.


>Also, where should I define the $_CA_CONF variable? I saw them used in a few
>spots, but wasn't sure where they get assigned.

That's the magic of our configuration class at work :)

For a fresh install, add them to plugins/calendar/install_defaults.php.

A $c->add('blah', ..., 'calendar'); would end up creating a
$_CA_CONF['blah'] entry.

bye, Dirk


-- 
http://www.haun-online.de/
http://spam.tinyweb.net/




More information about the geeklog-devel mailing list