custom joomla componet get url rewrite
Step-1 create menu and assign to your component like(com_photogallery)
$strUrl = 'index.php?option=com_photogallery&view=images&albumid='.$album[$j]->id;
echo "<a href=". JRoute::_($strUrl)."><li><strong>" .$album[$j]->album_name. "</strong></li></a>";
Step-1 create menu and assign to your component like(com_photogallery)
$strUrl = 'index.php?option=com_photogallery&view=images&albumid='.$album[$j]->id;
echo "<a href=". JRoute::_($strUrl)."><li><strong>" .$album[$j]->album_name. "</strong></li></a>";
No comments:
Post a Comment