Topic: Title of news as title of page
Is there a way to add the title of a news as title of the page when I click on full story? Because now there's only the tilte of site.
I have the last version (2.0.2)
Dear CuteNews Users! Please feel free to contact us via our new Feedback Form and please send information about bugs to our bug tracker.
You are not logged in. Please login or register.
CutePHP Forums → Problem Solving / Help & Support → Title of news as title of page
Is there a way to add the title of a news as title of the page when I click on full story? Because now there's only the tilte of site.
I have the last version (2.0.2)
Is there a way to add the title of a news as title of the page when I click on full story? Because now there's only the tilte of site.
I have the last version (2.0.2)
Hello,
Not in Cn but in the file where CN is included.
Inside the <head></head> Tag
<?php
//QUERY
$output = $_SERVER['QUERY_STRING'];
echo '<title>'.$output.'</title>';
//Split the $output string with explode: http://php.net/manual/en/function.explode.php
?>
Hi! Thanks for the quick answer.
Should I paste this code in the file where cn is included?
Sorry, I'm not a pro
CutePHP Forums → Problem Solving / Help & Support → Title of news as title of page
Powered by PunBB, supported by Informer Technologies, Inc.
The pun_antispam official extension is installed. Copyright © 2003–2009 PunBB.