Answer the question
In order to leave comments, you need to log in
How to change the template for displaying news for the year in DLE?
How to change the template for displaying news for the year in DLE? Do I need to remove a certain category from there and change the output for another? In what template should I do this? through shortstory.tpl does not work.
[not-category=48]
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-4 short-news">
<div class="row">
<div class="panel panel-default">
<div class="panel-body">
[xfgiven_poster]
<div class="visible-lg" style="margin-bottom: 10px;">
<a href="{full-link}"> [xfvalue_poster] </a>
</div>
<div class="visible-sm visible-md">
<a href="{full-link}"> [xfvalue_poster] </a>
</div>
<div class="visible-xs">
<p style=" font-size: 14px;">
<a href="{full-link}">[xfvalue_poster] </a>
</p>
</div>
[/xfgiven_poster]
[category=14,44,45,46,47]
<div class="visible-lg" style="margin-bottom: 10px;">
<a href="{full-link}"> {short-story}</a>
</div>
<div class="visible-sm visible-md">
<a href="{full-link}"> {short-story}</a>
</div>
<div class="visible-xs">
<p style=" font-size: 14px;">
<a href="{full-link}">{short-story}</a>
</p>
</div>
[/category]
<div class="date_sh">
{date}
</div>
<a href="{full-link}" class="text-muted" style=" font-size: 18px;">{title}</a>
<p>
{short-story limit="100"}...
</p>
[tags]
<p>
<i class="fa fa-tags"></i> {tags}
</p>
[/tags]
[edit]
<p>
<button class="btn btn-default" type="button">Редактировать</button>
</p>
[/edit]
</div>
</div>
</div>
</div>
[/not-category]
Answer the question
In order to leave comments, you need to log in
If you have an extended license - contact those support, if the demo, then there is a closed source code and the answer is "no way"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question