Search found 2 matches

by ShiRaTo
Fri Nov 30, 2007 1:27 pm
Forum: Joomla! Coding 101
Topic: How to get URL to article from ID?
Replies: 1
Views: 600

Re: How to get URL to article from ID?

now my problem is solved by this. include dirname(__FILE__).'/../../components/com_content/helpers/route.php'; // Search Joomla to get Category ID of each article. $db = &JFactory::getDBO(); $idList = ""; foreach ($resArticle->docs as $no => $doc) { $idList .= $doc->sums["cityguidearticleid"].","; }...
by ShiRaTo
Mon Nov 26, 2007 4:37 pm
Forum: Joomla! Coding 101
Topic: How to get URL to article from ID?
Replies: 1
Views: 600

How to get URL to article from ID?

Hi all, I'm using Joomla 1.5 I just wondering how can I create a link to article link this -> index.php?view=article&catid=10&id=20&option=com_content&Itemid=30 if I know only id of article (in this example it's =20) I try to write code like this ">link but It's not use the template that I assign fo...