O'Reilly logo

Learning Joomla! 1.5 Extension Development by Joseph L. LeBlanc

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the review form

With a database table now in place, we need a friendly interface for adding reviews into the database. To start, let's create a form for entering the review data. Because the form will involve a large amount of HTML output, we will create a view for it. Inside your /administrator/components/com_restaurants folder, create a new folder called views. Because we are adding a form for entering single reviews, create a folder inside views called single. Finally, create an additional folder in single called tmpl. When you are done, the directory structure of com_restaurants should look like this:

Creating the review formMVC, backendcoding with

Before displaying the HTML output ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required