Joomla MVC: Updating hello.php As ComponentTag: joomla, mvc, component Category: PHP Frameworkpost: 12 Jan 2008 read: 3,661 Joomla MVC Step by Step Tutorial: Ok, in this post, we will write code. This practice still use posting about creating component. Make sure you have followed posting about Fast Road to Understand Component Programming. As I told in previous post, Joomla will execute hello.php for first time when we access com_hello. So, we must update hello.php. Replace all code in hello.php (within components/com_hello) with following code:
In line 13, it will determine whether show all or individual display. If task have nothing or 'all' value, we will display all data. The other hand, if task have 'hello', we will get individual data. Next Post, we will talk about controller. |
| | Give Your Opinion | Recommend |
|


