Page 1 of 1

CGcalendar event template

Posted: Wed Aug 23, 2017 2:24 pm
by thomahawk
Hello everyone

I need links which go to the event detail page using a specific event template. But whatever I do, the detail always show the standard template. My code looks like this

Code: Select all

{cms_module module="CGCalendar" display="upcominglist" upcominglisttemplate="monitor" eventtemplate="monitorevent" detailpage="monitor-page" limit="4"}
basically this generates a list of links. I could also add a link extension in the listtemplate "monitor", if I would know what it needs to look like, maybe ...&eventtemplate=monitorevent or something like that?

btw. this is CGcalendar 1.13.3

How can I achieve that?

Thanks
Thomas

Re: CGcalendar event template

Posted: Mon Aug 28, 2017 5:51 pm
by thomahawk
Well, I got some very good advice for this problem:

By using the cge_module_hint (a tag installed with CGEextensions) I can override the standard template.

Code: Select all

{cge_module_hint module=CGCalendar eventtemplate='somethingelse'}
must be placed above {content} tag in template.

Thanks again to the helper!

Thomas

PS: unfortunately I can not change subject to [solved] because no edit is possible on the original post.

Re: CGcalendar event template

Posted: Mon Aug 28, 2017 5:56 pm
by Jo Morg
thomahawk wrote:PS: unfortunately I can not change subject to [solved] because no edit is possible on the original post.
Just click on the green tick next to the post that has the solution....