Answer the question
In order to leave comments, you need to log in
DLE 10.1 clipping title
Is there anyone who worked and continues to work with this engine?
Please help me find where in the engine they stuffed the code I needed.
I will try to describe the problem on things that I have already done.
When you have installed DLE and set the default template for example "defaulth" then go to "Admin panel" -> "Settings".
Enter the site title description and keywords in the fields:
Site title (title): World Wide Web
Description (Description): The site has a lot of useful information
Keywords (keywords): web, information
Next, create a new page for example:
Subject: I love Toaster
Description of the article : Masha walked along the highway sucking dry .................
Now we go in the browser to our article like this:
localhost/ja-lublu-toster.html
and now ATTENTION: look at the title (title) of the site it will be written like this:
I love the Toaster >> World Wide Web
As you can see, the title is superfluous for me phrase : >> World Wide Web
To make the title look cleaner like this: I love Toaster
I edited the file in the classes - show.full.php it seems.
Corrected the line
$metatags['title'] = $titl_e . $page_extra . ' » ' . $config['home_title'];
$metatags['title'] = $row['title'];
Answer the question
In order to leave comments, you need to log in
Oh, it's the second day. I clambered all the files, I thought maybe they put it into the function (
Look a little higher in the code:
if ($nam_e) {
$metatags['title'] = $nam_e . $page_extra . ' » ' . $metatags['title'];
$rss_title = $metatags['title'];
. ' » ' . $metatags['title']
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question