Pizza Order

Please fill in the following information to complete your hypothetical pizza order:
1 out of 4
What size pizza would you like?




Micro-Donations

If you are successfully making use of Mad Blanks for Joomla!, or if I have given you useful support, please donate $1 or more.

I pass on 10% of donations I receive through this site to the Joomla! project, so by supporting me, you're also supporting Joomla!


Thank you,
-Chris


The Starfish Story





Create Single Record Module Demo (Pizza Order) PDF Print E-mail
Written by Chris Hallett   
Thursday, October 25, 2007

Updated June 4, 2009

This page features the Mad Blanks Create Single Record module in action on the left side of the page. It is collecting pizza orders that will then be featured in the Mad Blanks Display module at right. Please try it out! Create your own pizza order by filling in the requested values. Once the values are collected from you, a new record will appear at right.

View screen captures of the exact settings used to create this project with Mad Blanks.

This example is relatively complex because the before and after text are used along with the website user's responses to make a paragraph such as "The customer ordered a Small (10" $6) Thin ($1 extra) pizza with pineapple for toppings. The customer requested Store pick up." and at the same time a Score Script is used to calculate the price of the pizza and show a link. The Score Script adds up type B points to display the price when the order is placed.

The Score Script for this Pizza Order category is displayed immediately after submitting the form and is as follows:

<p>Thank you for your pizza order. Your order total is: <h2 align="center">$[:printf:%01.2f:<start>:][:total_points_b:][:printf:<end>:]</h2></p>

<p> You can view recent pizza orders <a href="index.php?option=com_madblanks&task=showmadblanks&category=22&Itemid=7">here</a>.</p>

For further descriptions of the available Score Script tags, view the online Score Script tag reference.

The Archive Score Script for this category (available as of Mad Blanks version 1.1.0 released May 29, 2009) shows up with each complete record that is viewed on the front end of your Joomla! site later on. The Archive Score Script is not displayed immediately after submitting the form. For this example, the Archive Score Script is as follows:

<p>Dollar amount of order:[:nbsp:]<b>$[:printf:%01.2f:<start>:][:total_points_b:][:printf:<end>:]</b></p>

I have used a tool called SnagIt to capture most of the Mad Blanks component category editing page and the Create Single Record module configuration for this "Pizza Order" category. You can examine the images to see what settings I used to make the current configuration possible.

View the captured screen of the Mad Blanks component category configuration.

Preview of Mad Blanks component category configuration

View the captured screen of the Mad Blanks Create Single Record module configuration.

Preview of Create Single Record module configuration

Last Updated ( Wednesday, July 22, 2009 )
 

Display Module

This is the Mad Blanks Display module. It is configured to display the four most recently created records in this category.
The customer ordered a Medium (12" $8) Thin ($1 extra) pizza with hot peppers for toppings. The customer requested Delivery ($5 extra).

Dollar amount of order: $14.50

The customer ordered an Extra Large (16" $12) Thin ($1 extra) pizza with mushroom for toppings. The customer requested Delivery ($5 extra).

Dollar amount of order: $18.50

The customer ordered an Extra Large (16" $12) Extra thin pizza with green olives, artichoke, mushroom, hot peppers, green pepper, extra cheese, tomato and black olives for toppings. The customer requested Store pick up.

Dollar amount of order: $16.50

The customer ordered a Medium (12" $8) Extra thin pizza with green pepper and artichoke for toppings. The customer requested Store pick up.

Dollar amount of order: $9.00

 
  Design by augs-burg.de & go-vista.de
This is the official website for Mad Blanks, a component written for Joomla!™
Mad Blanks, when used with Joomla!™, will allow you to give a quiz on your site. You can also use it to give a survey. Quizzes and surveys are popular applications on the Internet, including personality quizzes, name generators, and assessments.
This website and the featured software products herein written for Joomla!™ are the property of Chris Hallett, an independent programmer. Chris does not represent Open Source Matters, Inc. nor the Joomla!™ project.

www.madblanks.org | Mad Blanks - Quiz, survey, assessment, calculator, general purpose form | Privacy Policy | ©2010 Chris Hallett