Book Image

Building E-commerce Sites with VirtueMart Cookbook

By : John Horton
Book Image

Building E-commerce Sites with VirtueMart Cookbook

By: John Horton

Overview of this book

VirtueMart is a premier eCommerce solution powered by Joomla!In Building E-commerce Sites with VirtueMart Cookbook you will learn how to create a full-functioning and attractive eCommerce solution with VirtueMart. You will be shown how to install and configure VirtueMart, how to set-up and run your store day-to-day as well as configure and customize the look and feel of your store. With this book by your side, you will be able to overcome as problems setting up, administrating and customizing your eCommerce store! This book finishes with blueprint projects meaning that getting started with VirtueMart is even easier for the novice and aspiring site builder or developer. If you have always wanted to create a professional-looking store, but are worried about the complexity and difficulty involved, then this book is for you! With numerous recipes, practical tips and solutions Building E-commerce Sites with VirtueMart Cookbook will take you through every step required to achieve eCommerce success.
Table of Contents (17 chapters)
Building E-commerce Sites with VirtueMart Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Installing jQuery on Joomla! 2.5 using Sourcerer


Here we will use Sourcerer to let us do cool jQuery stuff from within a Joomla! module. jQuery is a JavaScript library which greatly simplifies and speeds up some of the exciting things that can be done with JavaScript. Being able to summon this magic directly from within Joomla! and VirtueMart can be extremely useful.

Getting ready

We will simply load up jQuery. Once jQuery is loaded you can use anything from the entire jQuery library, right within Joomla!.

How to do it...

This is nice and easy so let's get started.

  1. To install the Google jQuery library, we will create a custom module and load it directly. Navigate to Extensions | Module Manager and then click on the New button. At the end of this step you would see a screenshot like the following one:

  2. Click on Custom HTML.

  3. Now let's configure the module and try out some PHP. In the Title field enter Sourcerer test. And now click on the Select Position button.

  4. Choose debug.

  5. Let's assign this module...