Revision: 42781
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 10, 2011 11:02 by anagaiyahoocom
Initial Code
//Get the page path e.g. /category/sub-category/sompage.html JUri::getInstance()->toString(array('path')); //Get the page path with query string e.g. /category/sub-category/sompage.html?param=val¶m2=val2 JUri::getInstance()->toString(array('path','query')); //Retreive just the query string JUri::getInstance()->getQuery() or JUri::getInstance()->toString(array('query'));
Initial URL
Initial Description
Can use JUri to get the page handle
Initial Title
Getting Page Path and Query String With JUri
Initial Tags
joomla
Initial Language
PHP