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
- pborchelt answered »HowtoPNForms module unable to find template« 03:52h
- Teb answered »MenuTree Mystery« 05. Jul
- dks answered »include a file« 05. Jul
- dks answered ».764 -> 1.1.1, Can't add new blocks« 05. Jul
- craigh posted »PostCalendar 5.5.0RC1 needs testers and translators« 05. Jul
- bartl answered »Upgrading 1.0.2 --> 1.1.1« 05. Jul
- Charlie-otb answered »SafeHTML output filter and youtube« 05. Jul
Login
How to register smarty filter?
-
-
- Rank: Team Member
- Registered: 08.12.03
- last visit: 29.06.09
- Posts: 3062
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 -
- Rank: Moderator
- Registered: 19.03.02
- last visit: 27.06.09
- Posts: 7661
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. -
- Rank: Steering Committee
- Registered: 11.12.02
- last visit: 01.07.09
- Posts: 13378
I feel an addition to the Wiki coming on...
--
itbegins.co.uk - Zikula Consulting
birtwistle.me.uk - Personal Blog
Please read the Support Guide -
- Rank: Moderator
- Registered: 19.03.02
- last visit: 27.06.09
- Posts: 7661
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. -
- Rank: Helper
- Registered: 07.04.05
- last visit: 02.05.09
- Posts: 194
- Moderated by :
- Support
