2010-05-11, 00:48:21
(This post was last modified: 2010-05-11, 01:37:31 by Joseph Oda.)
Hey there
If I got it right, the only place to use components is within templates (or plugins) where you can use php code.
Sometimes it would be nice, to use components right while creating a site.
So, I wrote a plugin to enable you to do so.
While editing a site using the WYSIWYG editor you simply have to insert a placeholder like:
[[Component::component-name]]
This will be replaced with the components content while rendering the page.
This way, you don't have to enable php parsing within site content (there's a plugin for that).
May be useful for some people..
Btw: Some sort of plugin repsoitory would be nice
If I got it right, the only place to use components is within templates (or plugins) where you can use php code.
Sometimes it would be nice, to use components right while creating a site.
So, I wrote a plugin to enable you to do so.
While editing a site using the WYSIWYG editor you simply have to insert a placeholder like:
[[Component::component-name]]
This will be replaced with the components content while rendering the page.
This way, you don't have to enable php parsing within site content (there's a plugin for that).
May be useful for some people..
Btw: Some sort of plugin repsoitory would be nice