Answer the question
In order to leave comments, you need to log in
Is the full news not working in the template?
Hello.
I'm making a DLE template, made up the main page and displayed news on it, set up a short news view, everything works with a bang. BUT - I go to the full news, but it's not there! registered in fullstory {full-story}, but nothing. Just the main page, and where the info should be empty. The same thing happens when I go to a category. The same thing when I use the search on the site, it does not display news. Everything works in the standard template, I tried to take the Default template and slowly inserted my code and my files into it (from my template), but I still didn’t understand in which file the jamb .. but not in the style file for sure. So that they can evaluate, I created a free hosting, installed a template, please see if you understand 101serial.7gin.ru
, here I throw out the files that I managed to change:
main.tpl
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru">
<head>
{headers}
<link rel="shortcut icon" href="{THEME}/images/favicon.ico" />
<link media="screen" href="{THEME}/style/style.css" type="text/css" rel="stylesheet" />
<link media="screen" href="{THEME}/style/engine.css" type="text/css" rel="stylesheet" />
</head>
<body>
{AJAX}
<div class="menu">
<div class="headerlogo"><a href="/"><img src="templates\kinoman\images\logo.png" alt="Kinozavr.info"></a></div>
<div class="headerAd"><img src="templates\kinoman\images\adblock.png" alt="Ad block"></div>
<div class="navmenu">
<ul id="navmenu">
<li><a href="#">Афиша</a></li>
<li><a href="#">Новости кино</a></li>
<li><a href="#">Конкурсы</a></li>
<li><a href="#">Реклама на сайте</a></li>
<li><a href="#">Форум</a></li>
<li><a href="#">Контакты</a></li>
<li><a href="#">Правообладателям</a></li>
<div class="search"> <form class="SearchForm" action="" name="searchform" method="post">
<input type="hidden" name="do" value="search" />
<input type="hidden" name="subaction" value="search" />
<input class="SearchFormIn" id="story" name="story" value="Поиск..." onblur="if(this.value=='') this.value='Поиск...';" onfocus="if(this.value=='Поиск сайту...') this.value='';" type="text" />
<div class="searchico"> <input class="btn btn-light SearchFormBtn" title="Искать" alt="Искать" name="submit" type="image" src="templates\kinoman\images\sico.png" value="Искать" /></div>
</form></div>
</ul>
</div>
</div>
<div class="info">
{include file="webinfo.tpl"}
{include file="sidebar.tpl"}
<div class="contfilm"> {custom template="shortstory" aviable="main" from="0" cache="no"}</div>
</div>
<div id="footer"><ul id="textfooter">2015. </ul></div>
</body>
</html>
<div class="MiniPostAllForm MiniPostAllFormDop">
<div class="MiniPost">
<!-- DopInfo -->
<a href="{full-link}" class="MiniPostPoster">
[xfgiven_poster]<img src="[xfvalue_poster]">[/xfgiven_poster]
</a>
<!-- ModelWindowsTrailer -->
</div>
<div class="MiniPostName">
<center>[full-link]{title}[/full-link]</center>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question