phpeveryday.com

The best tutorial of php, php framework, php strategies, object oriented oriented,


Joomla MVC: Creating Default Template for View

Tag: joomla, MVC, component, view, pattern, template   Category: PHP Classes
post: 17 Jan 2008 read: 2,344


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

| Give Your Opinion | Recommend
Share and Bookmark to: These icons link to social bookmarking sites where readers can share and discover new web pages.
digg del.icio.us technorati Ma.gnolia BlinkList

Recommended articles by other readers:
Web Services: How PHP Kiss VB.NET? (Part 1)
Chart: How to Build Cool Animation Real Time Chart
Joomla: Fast Road to Understand Component Programming
Email: Send Attachement Mail
SMS : Sending SMS with PHP and ActiveXperts (Part 1)

5 Responses to Joomla MVC: Creating Default Template for View:

Great tutorial. I have spent a lot of time and money on other tutorials and Joomla books but none are as clear and concise as this. Thank you.

yeah it's cool tutorial i have read

Cool tutorial i have read

This is a very useful tutorial.Thank you very much.

these tutorials are excellent.
It would be so helpful if u can answer out questions regarding MVC components.
Thank you

What do You Think?
Your Name *:
Email *:
(Will not be published)
Website/URL:
Your Comment *:
* Required


624
posting