help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
No template overrides for XML files?
No template overrides for XML files?
1 week 1 day ago - 1 week 1 day ago
Hi,
In JEM event field 6 (custom6), a category is stored (as “d” or ‘s’) which, together with a time window (date), limits or filters list views, , a menu item with all “d” between 2023-12-12 and 2024-06-06. The selection is made in:Menus > Edit entry > Details > Menu entry type: “Simple list”,here in the “Options” tab, in a new field to be set up, “Category” and one for the start date and one for the end date.
Unfortunately, the XML file must be modified directly in the component Changes in the override-xml do not result in new fields:hoster/joomla5/templates/template/html/com_jem/eventslist/responsive/
This worked with the old JEM in J!3.x
best, m.
In JEM event field 6 (custom6), a category is stored (as “d” or ‘s’) which, together with a time window (date), limits or filters list views, , a menu item with all “d” between 2023-12-12 and 2024-06-06. The selection is made in:Menus > Edit entry > Details > Menu entry type: “Simple list”,here in the “Options” tab, in a new field to be set up, “Category” and one for the start date and one for the end date.
Code:
<field
name="custom6_filter"
type="list"
label="Categorie (Custom6)"
description="Filter für Customfeld 6"
default=""
>
<option value="">– all –</option>
<option value="d">d</option>
<option value="s">s</option>
</field>
<field
name="filter_start"
type="calendar"
label="Startdate"
format="%Y-%m-%d"
filter="string"
/>
<field
name="filter_end"
type="calendar"
label="Enddate"
format="%Y-%m-%d"
filter="string"
/>
Unfortunately, the XML file must be modified directly in the component Changes in the override-xml do not result in new fields:hoster/joomla5/templates/template/html/com_jem/eventslist/responsive/
This worked with the old JEM in J!3.x
best, m.
Last edit: 1 week 1 day ago by mercuri.
Please Log in or Create an account to join the conversation.
Re: No template overrides for XML files?
1 week 1 day ago
Never saw this, perhaps this was an accidental possibility. Not a bug.
Perhaps this could be a feature request for later.
Perhaps this could be a feature request for later.
Please Log in or Create an account to join the conversation.
Re: No template overrides for XML files?
1 week 1 day ago - 1 week 1 day ago
Path for the override (Cassiopeia):
/templates/cassiopeia/html/com_jem/eventslist/
Copy the original default-xml-file from:
/components/com_jem/views/eventslist/tmpl/
Paste it here:
/templates/cassiopeia/html/com_jem/eventslist/
This no longer works: nothing is visible in Simple List.
Only changes in :
/components/com_jem/views/eventslist/tmpl/
I just tested this in a fresh installation.
By the way: it doesn't work here either:
templates/cassiopeia/html/com_jem/eventslist/responsive/
sorry :'\
• Joomla! 5.4.2
JEM 4.3.4
• PHP 8.3
• MariaDB 10.11
/templates/cassiopeia/html/com_jem/eventslist/
Copy the original default-xml-file from:
/components/com_jem/views/eventslist/tmpl/
Paste it here:
/templates/cassiopeia/html/com_jem/eventslist/
This no longer works: nothing is visible in Simple List.
Only changes in :
/components/com_jem/views/eventslist/tmpl/
I just tested this in a fresh installation.
By the way: it doesn't work here either:
templates/cassiopeia/html/com_jem/eventslist/responsive/
sorry :'\
• Joomla! 5.4.2
JEM 4.3.4
• PHP 8.3
• MariaDB 10.11
Last edit: 1 week 1 day ago by mercuri.
Please Log in or Create an account to join the conversation.
Re: No template overrides for XML files?
1 week 1 day ago
Far as I know, it has never been possible to overwrite these XML files. Do you have another experience with JEM?
What you can do is to change the original file.
(And make a backup copy of the changed file, because it will be overwritten in the next update.)
What you can do is to change the original file.
(And make a backup copy of the changed file, because it will be overwritten in the next update.)
Happy with the support?
Consider a donation: www.joomlaeventmanager.net/project/donate
– We are all volounteers, investing time and money to keep JEM runnung and evolving, With your donation we cover our expenses –
Thank you.
Consider a donation: www.joomlaeventmanager.net/project/donate
– We are all volounteers, investing time and money to keep JEM runnung and evolving, With your donation we cover our expenses –
Thank you.
Please Log in or Create an account to join the conversation.
Re: No template overrides for XML files?
1 week 1 day ago
Yes, you are right:
There was an XML remnant in the template of J!3.
sorry.
I hadn't looked there.
relevant here only
joomla3/components/com_jem/views/eventslist/tmpl/
best regards, m.
There was an XML remnant in the template of J!3.
sorry.
I hadn't looked there.
relevant here only
joomla3/components/com_jem/views/eventslist/tmpl/
best regards, m.
Please Log in or Create an account to join the conversation.
Re: No template overrides for XML files?
1 week 21 hours ago - 1 week 21 hours ago
and as a "feature request for later" a fourth point to describe the introductions for the event sequences:
Code:
<!-- new: choose excl. an optional intro-article from J!'s (copy from content...) -->
<fields name="request">
<fieldset name="request"
addfieldprefix="Joomla\Component\Content\Administrator\Field" >
<field
name="id"
type="modal_article"
label="COM_CONTENT_FIELD_SELECT_ARTICLE_LABEL"
description="COM_CONTENT_FIELD_SELECT_ARTICLE_JEM_DESC"
required="false"
select="true"
new="true"
edit="true"
clear="true"
/>
</fieldset>
</fields>
Last edit: 1 week 21 hours ago by mercuri.
Please Log in or Create an account to join the conversation.
Time to create page: 0.783 seconds