joomla - How to debug a URL like http://url/index.php/abcd/efgh/hijk?tmpl=component -


i new php. trying debug in joomla based website. file path want go

http://url/index.php/abcd/efgh/hijk?tmpl=component

i donno how go forward '/abcd/efgh/ijkl' . because index.php file , there no clue /abcd/efgh/hijk

joomla routes based on menu item alias identifies component, responsible rendering main page content. if know clicked on, find same menu item in menu manager , you'll able inspect it. url built this:

index.php/top-level-menu-alias/next-level-menu-alias/third-level/ 

if component requires parameters, , component's router.php doing job, might find (at least of ) parameters appended:

index.php/top-level-menu-alias/next-level-menu-alias/third-level/some-component-params 

so abcd alias of top level menu item. open menu manager, find it, next part , on until "leaf" menu item. data on url component params.

once know component , menu item, can change paramters menu item or code. in order find code, real non-sef url in menu item, this:

index.php?option=com_content&view=article&id=116 

com_content component, i.e. under components/com_content. article view name, under component's root/view/article , actual markup in subfolder tmpl.

&tmpl=component 

tells joomla render component using template's component.php instead of index.php. typically renders component , libraries, no modules. template located under /templates/template_name.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -