help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
override for default_events_table.php
override for default_events_table.php
10 months 1 week ago
Hello,
I needed an additional column in the events-calendar to hold the address for ticket-ordering for this event.
So i modified the /components/com_jem/common/views/tmpl/default_events_table.php
This works fine.
But I have to redo this after every JEM update.
So my question: is there a more elegant way making this with overrides?
I tried to create an override in the backend but It ends at "components/com_jem" ... no "common/views" etc.
Is there no way for overrides? (Joomla 4 and 5 )
best regards
I needed an additional column in the events-calendar to hold the address for ticket-ordering for this event.
So i modified the /components/com_jem/common/views/tmpl/default_events_table.php
This works fine.
But I have to redo this after every JEM update.
So my question: is there a more elegant way making this with overrides?
I tried to create an override in the backend but It ends at "components/com_jem" ... no "common/views" etc.
Is there no way for overrides? (Joomla 4 and 5 )
best regards
Please Log in or Create an account to join the conversation.
Re: override for default_events_table.php
10 months 1 week ago
Hello Sepp,
I would like to understand what you are adding. Can you send a link to your site (PM is actually not working, but I only want to see the site as guest. Are your changes interesting for others too? do you want to share?
It seems you are using the old legacy view, right? I am using the standard responsive setting. So I tried with this:
for a responsive override I have to copy the override to [templates/[mytemplate]/html/com_jem/common/responsive/[the override file]. This works fine.
So I think for the legacy setting you should copy the override to [templates/[mytemplate]/html/com_jem/common/[the override file].
I am interested to know your result.
Jojo
I would like to understand what you are adding. Can you send a link to your site (PM is actually not working, but I only want to see the site as guest. Are your changes interesting for others too? do you want to share?
It seems you are using the old legacy view, right? I am using the standard responsive setting. So I tried with this:
for a responsive override I have to copy the override to [templates/[mytemplate]/html/com_jem/common/responsive/[the override file]. This works fine.
So I think for the legacy setting you should copy the override to [templates/[mytemplate]/html/com_jem/common/[the override file].
I am interested to know your result.
Jojo
Please Log in or Create an account to join the conversation.
Re: override for default_events_table.php
10 months 1 week ago
No problem, the site is public:
kantatenchor-muenchen.de/index.php/konzerte
On the Right is the additional column which contains the information stored in the first "userdefined Field" in the event.
Yes I am using the old legacy view. The responsive setting does not display the table in this form.
Regarding your question as to whether this may be of interest to others: I think that at least the function of displaying one or more of the 10 user-defined fields in their own columns could be interesting. If you use the table form.
Thank you very much, I will try this in my test system.
We are currently selling tickets for our Passion on Good Friday, so I can't change anything in the prod system before Easter.
I'll get back to you here.
Sepp
Translated with www.DeepL.com/Translator (free version)
kantatenchor-muenchen.de/index.php/konzerte
On the Right is the additional column which contains the information stored in the first "userdefined Field" in the event.
Yes I am using the old legacy view. The responsive setting does not display the table in this form.
Regarding your question as to whether this may be of interest to others: I think that at least the function of displaying one or more of the 10 user-defined fields in their own columns could be interesting. If you use the table form.
Thank you very much, I will try this in my test system.
We are currently selling tickets for our Passion on Good Friday, so I can't change anything in the prod system before Easter.
I'll get back to you here.
Sepp
Translated with www.DeepL.com/Translator (free version)
Please Log in or Create an account to join the conversation.
Re: override for default_events_table.php
10 months 1 week ago - 10 months 1 week ago
Yes this forum is english, even when I speak swiss german , My Deepl can not translate swiss german to english
EDIT: Wie macht ihr das mit dem Bezahlen? Ist das dann einfach an der Abendkasse?
Auf jeden Fall wünsche ich Euch einen erfüllenden Weg auf Ostern!
EDIT 2:
Hast du schon mal standard setting mit small versucht. (Du wählst "standard" beim Layoutstil und schreibst im Listenlayout bei Tabellenbreite z.B.100% . Dann wird der responsive Look "listenartig"
EDIT: Wie macht ihr das mit dem Bezahlen? Ist das dann einfach an der Abendkasse?
Auf jeden Fall wünsche ich Euch einen erfüllenden Weg auf Ostern!
EDIT 2:
Hast du schon mal standard setting mit small versucht. (Du wählst "standard" beim Layoutstil und schreibst im Listenlayout bei Tabellenbreite z.B.100% . Dann wird der responsive Look "listenartig"
Last edit: 10 months 1 week ago by jojo12.
Please Log in or Create an account to join the conversation.
Re: override for default_events_table.php
10 months 1 week ago
the [templates/[mytemplate]/html/com_jem/common/[the override file] worked in my testsystem.
I attached my modified version the php. (renamed to ...txt) 2 modifications:
after line 100 (view the additional column"
after 198: Fill the column from the user defined field 1 ( empty, plain Text, URL, URL to ticket-form)
Sepp
I attached my modified version the php. (renamed to ...txt) 2 modifications:
after line 100 (view the additional column"
after 198: Fill the column from the user defined field 1 ( empty, plain Text, URL, URL to ticket-form)
Sepp
Please Log in or Create an account to join the conversation.
Re: override for default_events_table.php
10 months 1 week ago
Danke!
Bezahlen an der Abendkasse hatten wir auch schon mal, das dauert zu lange und macht zu viele Probleme/Diskussionen.
Die Bestellung geht per Mail an die Kollegin und die prüft und vereinbart die Bezahlung (typischerweise per Überweisung).
Die Karten werden mit Namen versehen und an der Abendkasse nur abgeholt. Das funktioniert weitestgehend stressfrei.
zu 2) inzwischen habe ich das override auch mit der responsive - Variante probiert. (Hat erst gar nicht funktioniert, weil ich die php sum versenden als .TXT umbenannt hatte ....) aber dann gin das auch! Durch die zusätzliche Spalte ist die Tabelle jetzt so breit geworden, dass die auch im responsive Modus ganz gut aussieht.
Bezahlen an der Abendkasse hatten wir auch schon mal, das dauert zu lange und macht zu viele Probleme/Diskussionen.
Die Bestellung geht per Mail an die Kollegin und die prüft und vereinbart die Bezahlung (typischerweise per Überweisung).
Die Karten werden mit Namen versehen und an der Abendkasse nur abgeholt. Das funktioniert weitestgehend stressfrei.
zu 2) inzwischen habe ich das override auch mit der responsive - Variante probiert. (Hat erst gar nicht funktioniert, weil ich die php sum versenden als .TXT umbenannt hatte ....) aber dann gin das auch! Durch die zusätzliche Spalte ist die Tabelle jetzt so breit geworden, dass die auch im responsive Modus ganz gut aussieht.
The following user(s) said Thank You: jojo12
Please Log in or Create an account to join the conversation.
Time to create page: 0.532 seconds