I can only see one editable region ('vijesti_velike') defined in your news template, so I am not sure if this is the template you are using in as the 'masterpage' on your homepage code -
Anyway, supposing this is the template following would be the way to display three of its pages on the home page (with only 100 words excerpted from the 'vijesti_velike' editable region)
Hope this helps.
<!-first short news on homepage---->
<div class="news-box">
<cms:pages masterpage='newsi.php'>
<div class="short-news">
<div class="img-vijest"><img class="slika-vijest" src="<cms:show first_img />" /> </div>
<h3><cms:date k_page_date format='d.m.Y.' /><a href="<cms:show k_page_link />"><cms:show k_page_title /></a></h3>
<cms:show/> </div>
</div>
Anyway, supposing this is the template following would be the way to display three of its pages on the home page (with only 100 words excerpted from the 'vijesti_velike' editable region)
- Code: Select all
<cms:pages masterpage='newsi.php' limit='3'>
<div class="news-box">
<div class="short-news">
<h3><cms:date k_page_date format='d.m.Y.' /><a href="<cms:show k_page_link />"><cms:show k_page_title /></a></h3>
<cms:excerpt count='100'><cms:show vijesti_velike /></cms:excerpt>
</div>
</div>
</cms:pages>
Hope this helps.