You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Show the teaser text of redirect events (see #6315)if (\is_bool($event['details']))
{
$objTemplate->hasDetails = false;
}
This is a problem for the event_teaser template, since it will only show links when hasDetails is true. The other templates like event_list or event_upcomingalways create a link, regardless of hasDetails.
The current behaviour is inconsistent with the news module. In the news module, the headline is linked when it is an external redirect and the default news_latest template shows a Read more… link as well, when the news entry is an external redirect.
The text was updated successfully, but these errors were encountered:
Abridged reproduction:
https://www.google.com/.event_teaser.The headline of the created event will not be linked. Also there will be no Read more… link. Thus you are unable to actually go the the external URL.
Tested with Contao 4.4.12. Same problem exists in Contao 3.5.31 probably.
Cause
This is caused by these lines:
This is a problem for the
event_teasertemplate, since it will only show links whenhasDetailsistrue. The other templates likeevent_listorevent_upcomingalways create a link, regardless ofhasDetails.The current behaviour is inconsistent with the news module. In the news module, the headline is linked when it is an external redirect and the default
news_latesttemplate shows aRead more…link as well, when the news entry is an external redirect.The text was updated successfully, but these errors were encountered: