I was wondering, is it possible to hide certain options in QuickEdit? I know you can set this up on the plugin variables, but I was wodering, can we control it from the template or pages?
I’m thinking of making a snippet call for each customized QuickEdit options. For example, if I create a page, and I want that page only to show option to modify content and longtitle, and that’s all, then I can call a config snippet for QuickEdit like this:
[[QuickEditSetting? &opt=`content||longtitle`]]
and I will place that snippet inside the page content or which field going to be pasted to the template.
If I want this to apply to the whole template that I use, all I need to do is put this snippet call to the template. What do you think adam?
So in QuickEdit Module, it will basically look for a global variables being set by this snippet, that contains the options, which needs to be displayed. The only thing that still a question on my head, does quickedit being rendered after the snippet execution or before? If after, than it’s great, if not, than there has to be a better way to do this.
Keep up the reat work adam, because this is one of the module that attract most of us to use MODx after all.
I’ll try to look into the quickedit core when I have time. If somebody know the code behind quickedit and want to give this implementation a try, than feel free to do so, and help adam to improve the quick edit module
Regards,