Page 1 of 1
Custom Template to component
Posted: Wed Apr 15, 2015 3:15 pm
by Den_
Hi, i have a Joomla 2.5.25 Stable version with t3 bs3 template.
Default template have 3 columns but one component require a two column template.
i want to assign custom template to this component!
Thanks
Re: Custom Template to component
Posted: Wed Apr 15, 2015 3:36 pm
by Webdongle
You can assign your custom Template to the menu item for that component
https://docs.joomla.org/J3.x:Switching_ ... ger_method
(best method if you want the Template to be associated with several menu items)
or
You can assign a menu item to the custom Template
https://docs.joomla.org/J3.x:Switching_ ... ger_method
Re: Custom Template to component
Posted: Wed Apr 15, 2015 4:01 pm
by Den_
Thanks, but i'm using J2.5 and this method works only for a menĂ¹ items.
When i'm logged into from the front end, the component's functions have link like this:
http://myhost.it/index.php?option=com_c ... zione_albo
and joomla load the default template not the customized copy.
Re: Custom Template to component
Posted: Wed Apr 15, 2015 7:55 pm
by Den_
I want to do like this in joomla 1.5:
http://forum.joomla.org/viewtopic.php?f ... w=previous
How can made it possible in joomla 2.5?
Re: Custom Template to component
Posted: Wed Apr 15, 2015 9:24 pm
by Webdongle
With 2.5 Template the custom Template should be able to assign it to any menu item. If not then the Template is probably incorrectly written.
A common mistake is to assign the default Template to menu items. The Template marked as default should not be assigned to any menu item.
Re: Custom Template to component
Posted: Thu Apr 16, 2015 6:05 am
by Per Yngve Berg
The link is missing a Menu Item. Add the menu item
Code: Select all
http://myhost.it/index.php?option=com_chronoforms5&chronoform=configurazione_albo&Itemid=5
Where the Itemid number is the id number for the Menu Item you assigned the template to.