Answer the question
In order to leave comments, you need to log in
How to display the {title} tag in a separate TPL file on DLE?
This is my first question on this site, I hope there are people here who will help)
The situation is this, there is a site on DLE 10.5
When switching to the full news, the {title} tag must be displayed in the site header in a separate tpl file - head-content.tpl.
Found this code:
<?php
if (isset($_GET['do']) AND ($_GET['do']=='cat') AND (!isset($_GET['newsid'])))
echo '<h1>'.$cat_info[$category_id]['name'].'</h1>';
?>
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