contao/core — Issue #3707: rewrite templates: problem with link path
Author: dennistiboni
Created: 2011-12-20 10:26:34+00:00
State: open

i had rewrite the base template event_teaser.tpl, and the link to calendar event is truncated, don't follow the site structure......
but is relative to site root...

if in my module "Event List" use the original template "event_teaser.tpl" , in frontend the link to event is correct for example
http://domain.ext/path/to/event/event-name

now rewrite "event_teaser.tpl" and change name to event_teaser_test.tpl without modify this, in my module "Event List" choose the template "event_teaser_test.tpl" and in frontend the link has become:
http://domain.ext/event-name

the problem occurs with other templates with links
I had this problem upgrading from 2.9 to 2.10.3

how do I restore the full path to event???