Seite 1 von 1

Hierarchy mod die 1000.

Verfasst: 27.10.2003 12:42
von checkenix
Hi!ich blick des in der anleitung net:
#-----[ FIND ]------------------------------------------------
#
#************************************************************************************
# NOTE :
# ------
# /!\ Important : I strongly recommand to mute all the lines between the nexts
# --------- /* and */
# by adding // in front of each lines or by deleting all.
#
# ie: // for($i = 0; $i < $total_categories; $i++)
#
#************************************************************************************
//
// Okay, let's build the index
//
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : categories hierarchy --------------------------------------------------------------------
//-- delete
/*
#
#-----[ FIND ]------------------------------------------------
#
}// if ... total_categories
else
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- add
*/
// don't display the board statistics
if (($board_config['display_viewonline'] == 2) || (($viewcat < 0) && ($board_config['display_viewonline'] == 1)))
{
$template->assign_block_vars('disable_viewonline', array());
}

// display the index
$display = display_index($viewcatkey);

if (!$display)
//-- fin mod : categories hierarchy ----------------------------------------------------------------

wie muss das dann aussehen!?

Verfasst: 27.10.2003 16:01
von Leuchte
du musst das suchen

Code: Alles auswählen

// 
// Okay, let's build the index 
// 
und danach das einfügen

Code: Alles auswählen

//-- mod : categories hierarchy -------------------------------------------------------------------- 
//-- delete 
/* 
dann suchst du das

Code: Alles auswählen

}// if ... total_categories 
else
und fügst das ein

Code: Alles auswählen

//-- add 
*/ 
// don't display the board statistics 
if (($board_config['display_viewonline'] == 2) || (($viewcat < 0) && ($board_config['display_viewonline'] == 1))) 
{ 
$template->assign_block_vars('disable_viewonline', array()); 
} 

// display the index 
$display = display_index($viewcatkey); 

if (!$display) 
//-- fin mod : categories hierarchy ----------------------------------------------------------------
damit wird ein grosser teil der datei auskommentiert