views:

18

answers:

1

Hi I am developing a site based on Joomla 1.5 and I wanted to know how can we load varying template options dependiing on a menu item ID.

A good example of what i am looking for is with the Gantry Framework (http://www.gantry-framework.org).

Here you can change template settings on a per menu Item ID basis.

A simple PHP or a jQuery solution will do.

Kindly help.

A: 

You do not need any scripts to achieve that.

Joomla has a pretty good template system. You have 1 default template and the rest can be used as conditional templates, which will load when specific page is requested (menu item).

See Joomla's documentation on how to use templates, look at how to switch templates section.

Alex