How to register smarty filter?
Jusuff
Rank:
Team Member
Registered:
Apr 07, 2005
Last visit:
Jan 18, 2010
Posts:
228
Posted:
Oct 02, 2007 - 11:26 AM
How to register
Smarty
filter (pre-, post- or outputfilter) in pn8?
In pn76x we could do it in theme.php, but how to in pn8?
Thanks in advance
--
Polish Zikula Team
Bianor Works - my Zikula works on CoZi
AmmoDump
Rank:
Team Member
Registered:
Dec 07, 2003
Last visit:
May 09, 2010
Posts:
2703
Posted:
Oct 03, 2007 - 01:50 AM
Not really sure, but why not create a theme level plugin, and add it to the theme plugins? This is just a guess...
--
David Pahl
Zikula Support Team
markwest
Rank:
Team Member
Registered:
Mar 18, 2002
Last visit:
Oct 21, 2009
Posts:
6606
Posted:
Oct 03, 2007 - 02:10 AM
For output filters (and only output filters!) you can use the following in your page configuration files
Code
[
filters
]
outputfilters=filter1,filter2
I'm currently working on a patch to implement pre and post filters. There is also no user interface to this functionalty.
-Mark
--
Visit
My homepage
and
Zikula themes
.
Simon
Rank:
Legend
Registered:
Dec 11, 2002
Last visit:
Oct 21, 2009
Posts:
11674
Posted:
Oct 03, 2007 - 02:27 AM
I feel an addition to the
Wiki
coming on...
--
itbegins.co.uk - Zikula Consulting
birtwistle.me.uk - Personal Blog
Please read the
Support Guide
markwest
Rank:
Team Member
Registered:
Mar 18, 2002
Last visit:
Oct 21, 2009
Posts:
6606
Posted:
Oct 03, 2007 - 03:58 AM
A basic docs page on
this subject
is now in the
Wiki
. Feel free to extend as i'm not the best
documentation
writer...
-Mark
--
Visit
My homepage
and
Zikula themes
.
Jusuff
Rank:
Team Member
Registered:
Apr 07, 2005
Last visit:
Jan 18, 2010
Posts:
228
Posted:
Oct 04, 2007 - 04:38 AM
Ok - thanks for reply
--
Polish Zikula Team
Bianor Works - my Zikula works on CoZi