Thursday, May 2, 2013

joom;l custom url rewrite get url rewrite using JRoute::

 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>";

No comments:

Post a Comment