SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 137 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"


Help files are stored in XHTML format and the extension must
always be .html.
Routing
To make Joomla! respond appropriately to a request the application contains a
JRouter object. This object determines the direction to take through the application.
This is based on URI query values. To make Joomla! URIs friendlier, it can be set up
to use SEF (Search-Engine Friendly) URIs.
In order to take advantage of SEF URIs, when we render any URI we need to use
the JRoute::_() method. This method converts normal URIs into SEF URIs; this
will only happen if the component we are trying to link to has a router and the SEO
options are enabled. In this example we parse the URI 'index.php?option=com_
myExtension& category=3&item=6' into an SEF URI.
echo JRoute::_('index.php?option=com_myExtension&
category=3&item=6');
This is an example of the output we might receive:
http://example.org/joomla/index.php/component/myExtension/3/6
The end of the URI, after index.php, is called the SEF segments. Each segment is
separated by a forward slash.


Pages:
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6