Custom Template to component

Everything to do with Joomla! 2.5 templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
Den_
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Apr 15, 2015 2:33 pm

Custom Template to component

Post by Den_ » Wed Apr 15, 2015 3:15 pm

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

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 37142
Joined: Sat Apr 05, 2008 9:58 pm

Re: Custom Template to component

Post by Webdongle » Wed Apr 15, 2015 3:36 pm

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
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

Den_
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Apr 15, 2015 2:33 pm

Re: Custom Template to component

Post by Den_ » Wed Apr 15, 2015 4:01 pm

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.

Den_
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Apr 15, 2015 2:33 pm

Re: Custom Template to component

Post by Den_ » Wed Apr 15, 2015 7:55 pm

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?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 37142
Joined: Sat Apr 05, 2008 9:58 pm

Re: Custom Template to component

Post by Webdongle » Wed Apr 15, 2015 9:24 pm

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.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 25754
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: Custom Template to component

Post by Per Yngve Berg » Thu Apr 16, 2015 6:05 am


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.


Locked

Return to “Templates for Joomla! 2.5”