roryg / ElementHelper

Element Helper is a MODx Revolution plugin for automatically creating elements from static files without the MODx manager.
27 stars 10 forks source link

No problems #14

Open JayCarney opened 11 years ago

JayCarney commented 11 years ago

Just like to say thanks for making such a kick-arse way to develop in MODX!

The only thing that would make it even better would be if it could take a MODX install that is already using database-stored elements and break them out into static files

exside commented 11 years ago

=), good idea! Will think about that, In a dev version I also have implemented plugin events that can be specified in the comment as @events or something similar and then get checked when the plugin is imported (but the feature is quite dangerous bc modx doesn't check if an event-name really is an event, so if you add for example @events OnBeforePageCrash this will generate a db entry with that "event" =D)...

exside commented 11 years ago

This is done in the pending 1.4.0 PR, if you want to test it, you can download the package at https://github.com/exside/ElementHelper/blob/master/packages/elementhelper-1.4.0.transport.zip