I am new to Joomla
. I have created a module that shows some articles with a link to those articles.
I fetched latest articals with :
<?php $list= ModArticlesLatestHelper::getList($params);
foreach ($list as $item) : ?>
<a href="<?php echo $item->link; ?>" itemprop="url"></a>
<?php endforeach; ?>
i get a url that is in the form
`www.example.com/{articleID}-{article-name}`
Please tell me how can i get a URL in the following form.
www.example.com/{catagoryID}-{catagory-name}/{articleID}-{article-name}
$item->link
. – Nagarjun Aug 30 '16 at 7:41