Wouldnt it be nice if templates had parameters similar to snippets, plugins, modules?
I guess this is like that but without hacking the core.
I wonder if is easy to add fields where you define the template.
Anyway I would do this as a second step.
In the first post I will keep you updated with the code of this plugin.
Have a look from time to time and let me know how would you improve it.
Thx
please add an easy way to hide/unhide the doc tree...
Website: www.mercologia.com
MODX Revo Tutorials: www.modxperience.com
MODX Professional Partner
yeah, my bad... this comment belongs to another thread,
guess its what happens when you read & reply to too many
posts at the same time...
sorry...
Website: www.mercologia.com
MODX Revo Tutorials: www.modxperience.com
MODX Professional Partner
It is to hide the doc tree from some clients...
I am reconfiguring the welcome page of the manager to have just some
links so they can add docs using TVs, so no need for them to see (and play with) the tree...
Website: www.mercologia.com
MODX Revo Tutorials: www.modxperience.com
MODX Professional Partner
After a quick look you could try to do your own plugin
Not sure but you can start using the OnBeforeManagerPageInit event
and try to access the top.mainMenu.hideTreeFrame(); js function.
Something like that anyway.
If you cannot find help on this let me know.