[geeklog-cvs] geeklog: Autotags can now be used in templates when an article i...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Thu Mar 1 18:22:29 EST 2012
changeset 8499:17b840fdaa1f
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/17b840fdaa1f
user: Tom <websitemaster at cogeco.net>
date: Thu Mar 01 18:21:48 2012 -0500
description:
Autotags can now be used in templates when an article is rendered (feature request #0001432)
diffstat:
system/lib-story.php | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 342504898c84 -r 17b840fdaa1f system/lib-story.php
--- a/system/lib-story.php Wed Feb 29 11:56:22 2012 -0500
+++ b/system/lib-story.php Thu Mar 01 18:21:48 2012 -0500
@@ -104,6 +104,8 @@
'archivearticle' => 'archivestorytext.thtml',
'archivebodytext' => 'archivestorybodytext.thtml'
));
+
+ $article->postprocess_fn = 'PLG_replaceTags';
$article->set_var( 'site_name', $_CONF['site_name'] );
$article->set_var( 'story_date', $story->DisplayElements('date') );
More information about the geeklog-cvs
mailing list