Hello , I have a few questions on Joomla - I saw that there is only 1 index.php for the default template . $collspan_offset = ( mosCountModules( 'right' ) + mosCountModules( 'user2' ) ) ? 2 : 1; //script to determine which div setup for layout to use based on module configuration $user1 = 0; $user2 = 0; $colspan = 0; $right = 0; // banner combos //user1 combos if ( mosCountModules( 'user1' ) + mosCountModules( 'user2' ) == 2) { $user1 = 2; $user2 = 2; $colspan = 3; } elseif ( mosCountModules( 'user1' ) == 1 ) { $user1 = 1; $colspan = 1; } elseif ( mosCountModules( 'user2' ) == 1 ) { $user2 = 1; $colspan = 1; } PHP: where does Joomla decide how many modules are counted ? i mean why on the main page its 3 colspan and on the sub pages its 1 colspan . - Can we assign more than 1 style to a site , like having different css files for sub categories (if not , what do you suggest to do if we have a site with different page design in sub categories)
go to www.joomla.org and read the manual you dont have tio edit any parts of the index to make different columns etc
i expect more helpful answers you do have to edit the index , if you want something custom ... something like that : <?php if (mosCountModules('xxxx')){ ?>