The Joomla! Forum ™



Forum rules


Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed May 23, 2012 4:35 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jan 13, 2011 5:14 am
Posts: 25
I have list of links as left menu in a component. when i click the menu link , then it should retrieve a article in the right side. similarly i want to map more articles for more menu links.

My question is how to publish a article in the layout. Is there any class available to publish the article component ,so that it will display the articles based on query string id?

Please advice me on this....


Top
 Profile  
 
PostPosted: Wed May 23, 2012 9:26 pm 
Joomla! Explorer
Joomla! Explorer

Joined: Fri Nov 11, 2011 9:43 pm
Posts: 435
Location: Chicago, IL
In what context are you displaying the articles? I recently went through this and created several modules to display specific article lists with linked titles. I eventually realized all I needed to do was categorize my articles and use a articles category blog and create a layout over ride or alternate layout to use.

To answer your questions however, the link to directly view an article is:

Code:
http://your-domain/index.php?option=com_content&view=article&id=xx


Obviously, insert your-domain or use a combo of one of Joomla's constants (see below) and finish the URL path; and update the xx with the article ID in question.

http://docs.joomla.org/Constants


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



Who is online

Users browsing this forum: No registered users and 9 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