help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

Create overrides for admin/com_jem

Create overrides for admin/com_jem

1 year 2 months ago - 1 year 2 months ago
#31008
Greetings,
I edited the first custom field in administrator/components/com_jem/models/forms/ adding " filter="safehtml"" so I can use a link.
Code:
<field name="custom1" type="text" size="20" ... description="COM_JEM_EVENT_CUSTOM_FIELD1_DESC" filter="safehtml" />

How do I prevent this file from being overwritten on update?
Or is there a better way to make this change?

Thanks
Last edit: 1 year 2 months ago by marq_104. Reason: more clarity

Please Log in or Create an account to join the conversation.

Re: Create overrides for admin/com_jem

1 year 2 months ago
#31011

Please Log in or Create an account to join the conversation.

Re: Create overrides for admin/com_jem

1 year 2 months ago
#31016
Thanks.

I didn't know that applied to administrator/component/com_jem files.
What's the difference between /administrator/components/com_xyz and /components/com_xyz

Please Log in or Create an account to join the conversation.

Re: Create overrides for admin/com_jem

1 year 2 months ago
#31018
/administrator/components/ is for the backend
/components/com_xyz is for the frontend

Please Log in or Create an account to join the conversation.

Re: Create overrides for admin/com_jem

1 year 2 months ago
#31021
I want to protect this file from updates:
/administrator/components/com_jem/models/forms/
because I have added a field to custom1
it was overwritten by the update from JEM 4.0 to JEM 4.1.0

Please Log in or Create an account to join the conversation.

Re: Create overrides for admin/com_jem

1 year 2 months ago
#31022
as much as I know it is not possible to create a template override for that!

Please Log in or Create an account to join the conversation.

Time to create page: 0.706 seconds