http://localhost/news/100
How to get the two parameters news and 100 in the url.
I just know only a little.
Can anyone tell the detail process?
$request->gethtml('controller') should be 'news'
$request->gethtml('product_id') should be '100' (might be any id.. category_id, information_id, etc. depending on the page being opened)
you should be able to see what's in the $_REQUEST server variable by using:
in any of the tpl files. Use it at the top of layout.tpl to see what available on certain pages.
$request->gethtml('product_id') should be '100' (might be any id.. category_id, information_id, etc. depending on the page being opened)
you should be able to see what's in the $_REQUEST server variable by using:
in any of the tpl files. Use it at the top of layout.tpl to see what available on certain pages.
Last edited by Qphoria on Fri Dec 12, 2008 10:13 am, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 8 guests