The Joomla! Forum ™



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.



Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sat Apr 16, 2011 9:38 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Apr 14, 2011 8:00 am
Posts: 5
Location: India
Hi Guys,

I am fairly new to joomla and so would like your help with this problem.
I have a article in whose content i have a link which points to another article. However the article in the link is not assigned to any menu. How do i assign a different template to this linked article. Please i know how to assign a template to an article assigned to a menu but this i have no idea.

My basic idea is this...i have a site where many products are shown in an article. On clicking on these products one must be moved to the article containing that products details. However both the article containing the link to the products and the article containing a particular products details have different templates. So when i click on a product link i need to see the product detail article with another template. I hope you get it....

Please help me with this.


Top
 Profile  
 
PostPosted: Sat Apr 16, 2011 10:31 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Sun Feb 19, 2006 6:47 pm
Posts: 17259
Location: Toledo, OH
It MUST be a menu item to assign a template...

That doesn't mean you must DISPLAY the menu...

Make a new menu, make the article an item on the new menu, leave the new menu's module unpublished, assign the template in the usual way.

No charge extra bonus: you will also be in control of which modules are displayed on the page.

_________________
Don't HACK the Joomla! core. Extend and Override.
http://harpervance.com - Live Joomla! Help Available skype: harpervance


Top
 Profile  
 
PostPosted: Sat Apr 16, 2011 10:49 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Apr 14, 2011 8:00 am
Posts: 5
Location: India
Hi Ranwill,

Thank you for the quick reply.
I tried what you said but unfortunately it is not working. I created a new menu module then assigned the a new menu with the articles required. But its not working...
What do i do??


Top
 Profile  
 
PostPosted: Sat Apr 16, 2011 11:01 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Sun Feb 19, 2006 6:47 pm
Posts: 17259
Location: Toledo, OH
make sure you links are pointing to the appropriate menu item (url MUST have "&Itemid=XXX" appended to it )

_________________
Don't HACK the Joomla! core. Extend and Override.
http://harpervance.com - Live Joomla! Help Available skype: harpervance


Top
 Profile  
 
PostPosted: Sat Apr 16, 2011 11:12 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Apr 14, 2011 8:00 am
Posts: 5
Location: India
Hi ranwill,

This is great. It was just as you said...i had not given the "&Itemid=XXX" in the links.
Now it works like a charm. Thanks a lot.
Will be back with more probs. Thanks again.


Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 10:18 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Feb 29, 2008 11:58 pm
Posts: 7
The information below allowed me to assign a template to a specific article using only the article id number.

http://stackoverflow.com/questions/3269 ... ic-article


Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 11:16 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Sun Feb 19, 2006 6:47 pm
Posts: 17259
Location: Toledo, OH
WebBits wrote:
The information below allowed me to assign a template to a specific article using only the article id number.

http://stackoverflow.com/questions/3269 ... ic-article

read the comment at the end of the post...

_________________
Don't HACK the Joomla! core. Extend and Override.
http://harpervance.com - Live Joomla! Help Available skype: harpervance


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 



Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group