[Solar-talk] Tipos_Markdown_Plugin_Widget
Rodrigo Moraes
rodrigo.moraes at gmail.com
Wed May 2 10:47:04 PDT 2007
Hi,
As I mentioned before, I was looking for a solution to allow users to
manipulate templates, and find out that using a Solar_Markdown_Plugin
+ View Helpers could be a good alternative. And indeed, it seems to
be!
Now user templates are parsed by Solar_Markdown and may include the
result of View Helpers, called indirectly using a special tag. So
users have access to customizable widgets (as many as available view
helpers) without having access to PHP. This is
Tipos_Markdown_Plugin_Widget (very simple, but full of possibilities,
I think):
http://dev.tipos.org/browser/trunk/Tipos/Markdown/Plugin/Widget.php
A side note is that anyone can learn regular expressions just
observing and playing with the well-documented and commented
Solar_Markdown plugins. :)
rodrigo
More information about the solar-talk
mailing list