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 32 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"

Doing so could result in unexpected behavior. The
following is a list of some of the main core query values:
format
hidemainmenu (backend only)
Itemid
layout
limit
limitstart
no_html
option
start
task
tmpl
tp
vars
view
When we output URIs, we must use the static JRoute::_() method. Using this
means that we do not have to keep track of the menu item ID. The following example
shows how we use the method:
echo JRoute::_('index.php?option=com_example&task=view');
If we are using this method from within a component and are linking to the current
component, we do not need to specify option. Note that we do not encode the
ampersand, as per the XHTML standard; this is because JRoute will handle this for us.
There is another advantage of using the static JRoute::_() method. Joomla!
supports SEO (Search Engine Optimization). If enabled, the JRoute::_() method
will automatically convert addresses into SEO addresses. For example, the previous
piece of code might produce:
http://example.org/joomla/index.


Pages:
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
druga wojna światowa Free English grammar and study guid hotel jelenia góra Russian bride counter strike 1.6