1 (edited by 2013-09-07 11:42:20)

Topic: Cutenews 2.0 many questions

Hi Support Team,

I test CN 2.0, really great works !
URL rewriting is good.

Nevertheless, I've many questions :

- How to integrate the title of a news in the balise <title></title> and the description etc (between <head> </head>
- Problem  : The category shows only first letter...

Thanks you !

Re: Cutenews 2.0 many questions

cutenews 1.5.3




open core.php line 855 insert:

//Titel verfügbar machen
    global  $title_tag;   
    $title_tag = $news_arr[NEW_TITLE];


open your index.php

insert before <head>

<?php
include("cutenews/show_news.php");
?>

now you can use the newstitle:


<title><?php echo $title_tag ?></title>


3 (edited by 2013-09-11 14:23:54)

Re: Cutenews 2.0 many questions

that`s the better way:

in your template make a link to the full-story in a new page

<a class="article_link" href="artikel.php?subaction=showfull&category={category-id}&id={news-id}&title={title}"

in the new page

<title><?php echo $_GET["title"]; ?></title>

cutenews 1.5.3




open core.php line 855 insert:

//Titel verfügbar machen
    global  $title_tag;   
    $title_tag = $news_arr[NEW_TITLE];


open your index.php

insert before <head>

<?php
include("cutenews/show_news.php");
?>

now you can use the newstitle:


<title><?php echo $title_tag ?></title>