Hello , I have a few questions on Joomla - 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) - 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 .
Yes, you can apply different templates to each page check out how here http://docs.joomla.org/Tutorial:Introduction_to_Joomla!_templates