This is very cool

Nice plugin.
Just what I needed, also to avoid my customer being confused : thanks a lot for this !
How do you use it ? Place it at the top of the content container ?
Just a thought : could this simply be integrated into MODx ? I guess if the [*content*] is empty then no need to have to content fields appear in the editor, uh ?
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
Okay thanks for the explanation, I had gotten the hacking the core part, but the plugin with OnDocFormPrerender ticked part I didn’t yet got that.
Thanks !
Edit : Okay I did this. Copied/pasted the plugin code, checked OnDocFormPrerender in System Events > Documents but when I access the page based on the template without [*content*] (only got TVs), the QuickEdit content field are still there...
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
Sorry, it sticks to the backend and so it doesn’t work with the quickedit module.
OK no problem, that’s already a very good thing. It works like a charm
I’ve been meaning to ask how I can hide field in quickedit, it’s more of a quickedit question I guess. Anyway, thanks for this it will be very useful !
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
Just one thing that I found out using this plugin : I often if not always use [*#content*] instead of [*content*] in my templates, to have the quickedit link available to content editors. The plugin doesn’t work if you work like I do... so I just edited the plugin
if(strpos($template, '[*#content*]') === false)
Anyway, it’s a very handy plugin that avoid content editor’s confusion when you build pages with TVs and no content field...
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
Tip : In 0.9.5 rev 1687, you can find the appropriate line to edit @line 981
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id