Joomla MVC: Creating Default Template for View



Joomla MVC Step By Step Tutorial: This post about making default template for view. The file located within components/com_hello/views/hello/tmpl. Open file named "default.php", and enter following code:

code for template at joomla mvc

Now, point your browser to http://localhost:8048/Joomla/hello-world/hello/2 (example). You will get like this:

show viewing one use joomla mvc


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 Classes Post : January 17th 2008 Read: 6,308 Bookmark and Share

blog comments powered by Disqus