Book Image

Learning Joomla! 1.5 Extension Development

Book Image

Learning Joomla! 1.5 Extension Development

Overview of this book

Table of Contents (17 chapters)
Learning Joomla! 1.5 Extension Development
Credits
About the Author
About the Reviewer
Preface

Chapter 4. Frontend Development

Now that the reviewers have added some data in the backend, they're anxious to see how their reviews will appear to the visitors. Although we're still working on the backend, we will take a break from it for now to focus on the frontend visible to the outside world. We will learn how to incorporate the following features:

  • Listing the reviews

  • Displaying a review

  • Generating search-engine friendly links

  • Adding comments

  • Displaying comments

Listing the reviews

In the Executing the Component section of Chapter 2, we follow the link http://localhost/joomla/index.php?option=com_restaurants (or follow the Reviews link we created) and get the following screen:

We will fill this screen with a list containing links that point to the individual reviews that we have added to the database, so that when visitors load the site, they can navigate through the reviews. As we did with the backend, we want to create a controller that we can use to organize our actions. Replace the code...