WebsiteBaker Support (2.8.x) > Droplets & Snippets
Front Page News
marathoner:
Be aware that if you put this into your template that is will appear on every page and not just your front page...unless you use logic that only includes it if $pageid =0 (or whatever your front page is). I would prefer using Any News snippet (as albatros mentioned to you) and including it into a section on whatever page I want it to include it.
Hans:
You could also use two templates, one with the code for the frontpage, an one without the code for pages without news.
Hans
pszilard:
I got it working by creating a Code Section with "display_news_items(4,20,150,0);" inside it.
Thanks for the pointers.
Navigation
[0] Message Index
[*] Previous page
Go to full version