18 November 2013

joomla url parameter

1) http://example.com/index.php?option=com_<name>&view=[&task=<mytask>]

a) task : run method <mytask> dalam class <name>Controller, yg ada dalam file [components/com_<name>/controller.php]


2) http://example.com/index.php?option=com_<name>&view=<myview>&format=ajax

a) view : pakai  fail [components/com_<name>/views/<myview>/view.ajax.php]
default format : html

No comments:

Post a Comment

Terima kasih