How to register smarty filter?
Jusuff
Rank:
Team Member
Registered:
07.04.05
last visit:
18.01.10
Posts:
216
Posted:
02.10.2007, 23:26
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:
07.12.03
last visit:
06.02.10
Posts:
2701
Posted:
03.10.2007, 13:50
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:
Moderator
Registered:
18.03.02
last visit:
21.10.09
Posts:
6611
Posted:
03.10.2007, 14:10
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:
Steering Committee
Registered:
11.12.02
last visit:
21.10.09
Posts:
11706
Posted:
03.10.2007, 14:27
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:
Moderator
Registered:
18.03.02
last visit:
21.10.09
Posts:
6611
Posted:
03.10.2007, 15:58
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:
07.04.05
last visit:
18.01.10
Posts:
216
Posted:
04.10.2007, 16:38
Ok - thanks for reply
--
Polish Zikula Team
Bianor Works - my Zikula works on CoZi