Now look what you guys have caused my to do
Ok, I’ll tweak the core a little to support another cool event called "OnParseDocumentSource"
This new event will enable us to convert Adam’s frontpage editing APIs into a standalone plugin. But that’s not all. With this new event you’ll event be able to override the builtin snippet parsing functions! This means that you could also create new plugins that are able to parse "custom tags" inside your documents.
Example:
I could create a plugin that I can use to parse BBCodes:
MODx Rocks
MODx
Or maybe proccess a few other block tags:
[textile]
* List1!
* List2!
[/textile]
[markdown]
* List1!
* List2!
[/markdown]
How about some special tags:
(*Movie*)
(*weather*)
$[time]
The true is you might even want to make your own scripting language:
#IF[time==11:00] @Say "Hi World!"
#runFunctions(param1,param2)
echo "Whatever!";
Well, let’s put at it this way, with plugins, you can have it your way!
MODx - Have it your way today !
Coming soon