help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
[SOLVED] Add field on calendar
[SOLVED] Add field on calendar
4 years 6 months ago - 4 years 6 months ago
Hi, I need your support. I would like to insert an entry of the COM_JEM_EVENT_CUSTOM_FIELD1 strings as a preview in the calendar. to be added to the event title and date. How can I do? See Attachment.
Last edit: 4 years 6 months ago by jojo12.
Please Log in or Create an account to join the conversation.
Re: [SOLVED] Add field on calendar
4 years 6 months ago
I can't help you: the simple list is the simple list is the mandatory menu.
Please Log in or Create an account to join the conversation.
Re: [SOLVED] Add field on calendar
4 years 6 months ago
Ok, do you have any idea from which file it recalls those 2 items (title and time)
Please Log in or Create an account to join the conversation.
Re: [SOLVED] Add field on calendar
4 years 6 months ago
I think you could do it with an template override.
Please Log in or Create an account to join the conversation.
Re: [SOLVED] Add field on calendar
4 years 6 months ago
to note...
like Hekla mentioned a template override might work.
Code is defined within com_jem/tmpl/calendar/default.php
like Hekla mentioned a template override might work.
Code is defined within com_jem/tmpl/calendar/default.php
Please Log in or Create an account to join the conversation.
Re: [SOLVED] Add field on calendar
4 years 6 months ago
I just had a look.
I suppose you use JEM 2.3.0 and the default layout style "responsive style" in the JEM basic settings – if not, please tell us your setting and version.
How you can do it:
Create a template override for "calendar" (go to "templates", choose your template, choose "Create Overrides", choose "com_jem" an there click on "calendar".)
Open the override file "default.php" in
after line 272
insert a new line
an the same after line 277
this should work.
Have fun!
I suppose you use JEM 2.3.0 and the default layout style "responsive style" in the JEM basic settings – if not, please tell us your setting and version.
How you can do it:
Create a template override for "calendar" (go to "templates", choose your template, choose "Create Overrides", choose "com_jem" an there click on "calendar".)
Open the override file "default.php" in
Code:
/templates/YOUR-TEMPLATE/html/com_jem/calendar/responsive/
after line 272
Code:
$content .= JemHelper::caltooltip($catname.$eventname.$timehtml.$venue.$eventstate, $eventdate, $row->title . $statusicon, $detaillink, 'editlinktip hasTip', $timetp, $category->color);
insert a new line
Code:
$content .= $this->escape($row->custom1);
an the same after line 277
Code:
$content .= JemHelper::caltooltip($catname.$eventname.$timehtml.$venue.$eventstate, $eventdate, $row->title . $statusicon, $detaillink, 'editlinktip hasTip', $timetp, $category->color);
this should work.
Have fun!
The following user(s) said Thank You: Bluefox
Please Log in or Create an account to join the conversation.
Time to create page: 0.512 seconds