Joomla MVC Step By Step Tutorial: Still in View part, now, we will create default template for View. Template is place for controlling display. It will create HTML. Without template, user get only blank. Create a file named 'default.php' within components/com_hello/view/all/tmpl. Enter following code:
| Series this article: Joomla MVC: Introduction using Model View Controller Joomla MVC: How to Implement MVC Pattern in Joomla? Joomla MVC: How MVC Pattern Works in Joomla? Joomla MVC: Updating hello.php As Component Joomla MVC: Creating Controller Section Joomla MVC: Creating Model that Show All Data Joomla MVC: Creating View That Show All Data Joomla MVC: Creating Default Template for View All Joomla MVC: Creating Model that Show Individual Data Joomla MVC: Creating View That Show a Data Joomla MVC: Creating Default Template for View Tag: joomla, MVC, component, view, pattern, template Category: PHP Framework Post : January 15th 2008 Read: 6,354 blog comments powered by Disqus |