Hello,
I am using news_latest.html5 on my homepage to show the latest news, obviously
What I want to do, is to remove "more" link when the news article has no additional elements (just a news teaser). I use that kind of articles for short notices (just 1-2 sentences). In which way I should change the template to filter those articles.
This is the code from news_latest.html5
Code:
<?php if ($this->hasText || $this->hasTeaser): ?>
<p class="more"><?= $this->more ?></p>
<?php endif; ?>
I can't indetify relation between tl_news and tl_content/tl_article table. Where are those elements from news archive placed in database?
Contao 3.5 is used
Bookmarks