larolt Posted May 9, 2004 Report Share Posted May 9, 2004 Hallo, in welcher php-Datei wird categorie_listing.html eingebunden? M?chte gerne die Bestseller-Box in das Categorie-Listing einbauen. Danke f?r Eure Hilfe. Viele Gr??e Lars Link to comment Share on other sites More sharing options...
Guest gwinger Posted May 9, 2004 Report Share Posted May 9, 2004 includes/modules/default.php Link to comment Share on other sites More sharing options...
Guest gwinger Posted May 9, 2004 Report Share Posted May 9, 2004 // get default template if ($category['categories_template']=='' or $category['categories_template']=='default') { $files=array(); if ($dir= opendir(DIR_FS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/module/categorie_listing/')){ while (($file = readdir($dir)) !==false) { if (is_file( DIR_FS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/module/categorie_listing/'.$file) and ($file !="index.html")){ $files[]=array( 'id' => $file, 'text' => $file); }//if } // while closedir($dir); } $category['categories_template']=$files[0]['id']; } Etwa ab Zeile 130 Link to comment Share on other sites More sharing options...
larolt Posted May 10, 2004 Author Report Share Posted May 10, 2004 Hallo, vielen Dank f?r die Antwort. K?nntet ihr mir noch kurz eine Anweisung geben, was ich nun a) im Template "categorie_listing" und in der default.php (und an welcher Stelle) eintragen muss? (M?chte gerne die Bestseller-Box in das Categorie-Listing einbauen) Vielen Dank f?r Eure Hilfe Lars Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.