how to change "{NEW:5}" ?
how to change "{NEW:5}" ?
hey,
I want to change the appearance of {NEW:5}, what files have I do to change ?
big thx mbecker
I want to change the appearance of {NEW:5}, what files have I do to change ?
big thx mbecker
Hi
look at conf.func.inc.php
look at conf.func.inc.php
Code: Select all
// all new article list sorted by date
if( ! ( strpos($content["all"],'{NEW:')===false ) ) {
$content["all"] = preg_replace('/\{NEW:(\d+):{0,1}(\d+){0,1}\}/e','get_new_articles($template_default["news"],"$1","$2",$db);',$content["all"]);
}
Have you ever tried to make some changing here:
// new articles --------------------------------
$template_default["news"]["before"] = "<div class=\"news\">";
$template_default["news"]["after"] = "</div>";
$template_default["news"]["link_before"] = "";
$template_default["news"]["link_after"] = "<br><br>"; // "<br>"
$template_default["news"]["link_symbol"] = "";
$template_default["news"]["link_target"] = "";$template_default["news"]["link_length"] = 0; //if 0 no limit
$template_default["news"]["cut_title_add"] = "…";
Haven't done it before... but that might be the right place, to put in your link to the images!
// new articles --------------------------------
$template_default["news"]["before"] = "<div class=\"news\">";
$template_default["news"]["after"] = "</div>";
$template_default["news"]["link_before"] = "";
$template_default["news"]["link_after"] = "<br><br>"; // "<br>"
$template_default["news"]["link_symbol"] = "";
$template_default["news"]["link_target"] = "";$template_default["news"]["link_length"] = 0; //if 0 no limit
$template_default["news"]["cut_title_add"] = "…";
Haven't done it before... but that might be the right place, to put in your link to the images!
-
Pappnase
http://www.phpwcms-docu.de/index.php?link_tagsfrancescom wrote:What is {NEW:5}?
Create an List with the last new / edited articles of all structures, by editing the number you can choose how many entries the list should have.