Hallo
where i can find the file for customize the news template ?
For example delete " posted by"
Thanks
Zerostile
Change "News" template
Re: Change "News" template
Zerostyle,
under "Content -> News", there are two tabs, holding "Summary template" and "Detail template", there you can change what you want to see.
I'll post my two changed templates below:
Summary:
Detail:
Ronny
under "Content -> News", there are two tabs, holding "Summary template" and "Detail template", there you can change what you want to see.
I'll post my two changed templates below:
Summary:
Code: Select all
<!-- Start News Display Template -->
{foreach from=$items item=entry}
<div class="NewsSummary">
{if $entry->formatpostdate}
<div class="NewsSummaryPostdate">
{$entry->formatpostdate}
{$entry->titlelink}
</div>
{/if}
</div>
{/foreach}
<!-- End News Display Template -->
Code: Select all
{if $entry->formatpostdate}
<div id="NewsPostDetailDate">
{$entry->formatpostdate}
</div>
{/if}
<h4 id="NewsPostDetailTitle">{$entry->title}</h4>
<hr id="NewsPostDetailHorizRule" />
<div id="NewsPostDetailContent">
{eval var=$entry->content}
</div>
<div id="NewsPostDetailPrintLink">
{$entry->printlink}
</div>
{if $return_url != ""}
<div id="NewsPostDetailReturnLink">{$return_url}</div>
{/if}
Ronny