By Guest on Thursday, 05 October 2017
Replies 7
Likes 0
Views 1.1K
Votes 0
Hello experts,

I do syncronize some events from a google calendar and so it is not possible for me to give these events some additonal customfields.
Now I want to show some additional information at the icalevent.detail_body, depending on the event-title.

Something like...
If the title contains the word "kidsclub", show the information "until age of 7 years" at position "xy"

Is it somehow possible to do this?

I think it would be much better to make an override of icalevent.detail_body .php but I don't know how.

....and this override should only be shown at one category. :-)

regards,
Berndi
Hello Berndi,

I\m afraid you are right a PHP override would be needed. Or a plugin to intercept the save and check for X Y and Z then map to X Y and Z Custom fields.

Many thanks
Tony
·
Friday, 06 October 2017 06:27
·
0 Likes
·
0 Votes
·
0 Comments
·
How can I make an override of the icalevent.detail_body.php ?
·
Friday, 06 October 2017 07:54
·
0 Likes
·
0 Votes
·
0 Comments
·
·
Monday, 09 October 2017 05:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks!

How can I make this override show by only one specific category?

regards,
Berndi
·
Sunday, 15 October 2017 09:56
·
0 Likes
·
0 Votes
·
0 Comments
·
It's not easy. You would need to do a category check and duplicate code in PHP.
·
Tuesday, 17 October 2017 13:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Any idea how to do that?
·
Tuesday, 17 October 2017 13:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Thinking about this some more... You could output the title in a class="{{TITLE:TITLE}}" in a wrapper of the event details.

This is the whole word is there you could then display some hidden div's with text?

Many thanks
Tony
·
Wednesday, 25 October 2017 21:58
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post