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
Re: [SOLVED] Add field on calendar
4 years 9 months ago
An other (better) version 
If you want to have the content of custom field 1 inside the event link:
In the override file change line 272 and line 277 from
to

If you want to have the content of custom field 1 inside the event link:
In the override file change line 272 and line 277 from
Code:
$content .= JemHelper::caltooltip($catname.$eventname.$timehtml.$venue.$eventstate, $eventdate, $row->title . $statusicon, $detaillink, 'editlinktip hasTip', $timetp, $category->color);
Code:
$content .= JemHelper::caltooltip($catname.$eventname.$timehtml.$venue.$eventstate, $eventdate, $row->title . $statusicon . '<br />' . $row->custom1, $detaillink, 'editlinktip hasTip', $timetp, $category->color);
The following user(s) said Thank You: jojo12
Please Log in or Create an account to join the conversation.
Re: [SOLVED] Add field on calendar
4 years 9 months ago
An other possibility:
If you want to have the content of custom field 1 inside the tooltip link:
In the override file change line 272 and line 277 from
to
If you want to have the content of custom field 1 inside the tooltip link:
In the override file change line 272 and line 277 from
Code:
$content .= JemHelper::caltooltip($catname.$eventname.$timehtml.$venue.$eventstate, $eventdate, $row->title . $statusicon, $detaillink, 'editlinktip hasTip', $timetp, $category->color);
Code:
$content .= JemHelper::caltooltip($catname.$eventname.$timehtml.$venue.$eventstate, $eventdate, $row->title . $statusicon . '<br />' . $row->custom1, $detaillink, 'editlinktip hasTip', $timetp, $category->color);
The following user(s) said Thank You: jojo12
Please Log in or Create an account to join the conversation.
Re: [SOLVED] Add field on calendar
4 years 9 months ago
Hi and thanks for solved ... it works !!!. Last thing..how can I make him read one under the other? Now it appears on the same line, I want to display it below as the last field ... see attachment
$content .= JemHelper::caltooltip($catname.$eventname.$timehtml.$venue.$eventstate, $eventdate, $row->title . $statusicon, $detaillink, 'editlinktip hasTip', $timetp, $category->color);
$content .= $this->escape($row->custom1);
$content .= JemHelper::caltooltip($catname.$eventname.$timehtml.$venue.$eventstate, $eventdate, $row->title . $statusicon, $detaillink, 'editlinktip hasTip', $timetp, $category->color);
$content .= $this->escape($row->custom1);
Please Log in or Create an account to join the conversation.
Re: [SOLVED] Add field on calendar
4 years 9 months ago
Oops, I made a double post yesterday, sorry – I thought the first one was got a timeout while saving, hoever …
Just use
instead of
Just use
Code:
$content .= '<br />' . $this->escape($row->custom1);
Code:
$content .= $this->escape($row->custom1);
The following user(s) said Thank You: jojo12
Please Log in or Create an account to join the conversation.
Re: [SOLVED] Add field on calendar
4 years 9 months ago
Thanks ... now it works. Last thing and then I don't write anymore. If I want to insert in front of the entry "fiat panda" a fixed entry "service" ... that would always be the same ... see attachment ... where you see the X insert the entry "service"
Please Log in or Create an account to join the conversation.
Re: [SOLVED] Add field on calendar
4 years 9 months ago
then use:
with this you get: "service: fiat panda"
or without colon ":"
then use:
with this you get: "service fiat panda"
Code:
$content .= '<br />service: ' . $this->escape($row->custom1);
or without colon ":"
then use:
Code:
$content .= '<br />service ' . $this->escape($row->custom1);
Please Log in or Create an account to join the conversation.
Time to create page: 0.438 seconds