Hi,
Is it possible to disable the "Import content from template" button in the template style editor in Joomla! Admin?
It would be a user-security option to avoid overwriting the whole content of the page!!!
If there any file option or set to disable it, it would be very useful!!!
Thanks in advance!
András
Sorry my English is not very good ..
If there is a way, very simple, but every time you edit or save your template you should adjust it.
enter the "templateDetails.xml" file of your template, you can do it from the template editor in joomla.
and comment or delete the following line
field name = "content" type = "import" label = "TPL_IMPORTCONTENT" description = "TPL_IMPORTCONTENT_DESCRIPTION" text = "TPL_IMPORTCONTENT_TEXT" />
With that, it simply leaves the joomla admin.
This way you can hide or delete the other buttons.
To also I would like that this type of buttons did not appear or at least there was a selection mode to decide if you put them or not ..
I use this trick to prevent my clients from manipulating the templates.
I hope it helps.
a hug.
> Hi,
> Is it possible to disable the "Import content from template" button in the template style editor in Joomla! Admin?
> It would be a user-security option to avoid overwriting the whole content of the page!!!
> If there any file option or set to disable it, it would be very useful!!!
> Thanks in advance!
> András
Sorry my English is not very good ..
If there is a way, very simple, but every time you edit or save your template you should adjust it.
enter the "templateDetails.xml" file of your template, you can do it from the template editor in joomla.
and comment or delete the following line
field name = "content" type = "import" label = "TPL_IMPORTCONTENT" description = "TPL_IMPORTCONTENT_DESCRIPTION" text = "TPL_IMPORTCONTENT_TEXT" />
With that, it simply leaves the joomla admin.
This way you can hide or delete the other buttons.
To also I would like that this type of buttons did not appear or at least there was a selection mode to decide if you put them or not ..
I use this trick to prevent my clients from manipulating the templates.
I hope it helps.
a hug.
Last edited 23 November 2017 by César M.