schreibe in dein templates/*******/index.php
PHP Code:
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not
allowed.' );
switch ($option){
case "com_weblinks":
require_once( "templates/multi_look/index4.php");
break;
case "content":
require_once( "templates/multi_look/index3.php");
break;
case "com_contact":
require_once( "templates/multi_look/index2.php");
break;
default:
require_once( "templates/multi_look/index1.php" );
break;
}
?>
Dan gestalte
index1.php "default" haupt seite wie du wilst
dann
index2.php (gestalte wie du willst)
index3.php (gestalte wie du willst)
...
Alles in den selben template ordner (index.php, index1.php, index2.php,...)
Quote:
mit case definierst du welche component
mit indexX.php definierst du welche aussehen es haben sol.
z.b. ***/index.php?option=com_contact&Itemid=3
case "com_contact":
require_once( "templates/multi_look/indexX.php");
|