The Infoboxes


The infoboxes are the interface elements that combine one kind of information only. Any infobox has both the heading and the content. Below is the sample of such a heading and the part of the info box.

The Heading
The Content

The boxes.tpl.php file contains the classes for the information output. The kit of any kind of class gives out the table with the parameters and the content that is further on passed to the class kit. So far as any infobox consists of the heading and the content, for the output accordingly it uses two classes – "infoBoxHeading" and “infobox”. Taking into account that infoboxes can be of different design it is in need to use different type classes for the output. In order to fulfill this there is a mechanism of inheritance so that the standard class is inherited several times under different names.

The Infoboxes are divided into several types:

- The string data (Categories, Bestsellers, Information, FAQ, Affiliate, Info pages, Articles, Shopping cart, Links, Who is online);
- Products (Featured, Specials, Reviews, Latest products);
- The input blocks  (Select template, Quick Find, Manufacturers, Currencies, Advanced search, Tell a friend, Languages, My account).

Below is the list of all the standard infoboxes:

Infobox Name
Image
Data Type
Description
Categories
(the category box)

String

Outputs the list of links for the category products.
This box is the compulsory one in the template.

Bestsellers
(the box of the most popular products)

String

Outputs the list of links for the best selling products.
Information
(the links to sub-pages box)

String

Outlines the list of links for the sub-pages.
Has the next points:
Terms and Conditions
Shipping and returns
Privacy
New Item Step 1
Gift Voucher FAQ
FAQ
Links
Contact Us

FAQ
(Frequently Asked Questions)

String

Outlines the list of links to the frequently asked questions

Affiliate Info
(the Affiliate info box)

String

Has a list of two links to the affiliate links pages.
Affiliate Information
Affiliate Log In

Info Pages
(the box of links to the non-standard sub-pages)

String

Contains the list of links to the pages added by user.
On default contains one Company Info link.

Articles
(the box of links added by user)

String

By default contains two links: “New Articles” and “All Articles"
Shopping cart
 

String

 
On default (when the cart is empty) contains text 0 items.

If the shopping cart has any kind of products it gets to the following view.
The Box contains the list of products which are currently in the shopping cart and in the very end there is the total sum of money calculated to pay for the cart’s entry.

Links
(the box of links to the external resources)

String

The Box consists of the number of links to the external resources.
By default, it has two links: 2nd Category, CRE Loaded

Who is online
(the box reflects to the number of visitors)

String

The box contains the text "currently there is 1 guest online"
Featured Products
 (The box of presented products)
Product
The box shows the product image, its name and price.
Specials
(The box contains one of the products from the "special offer" list)
Product
The box shows the product image, its name and price.
Product Reviews
(The box contains the product with the visitors’ opinion for it)
Product
The box has the product image, part of the text description, and the rating to the rank of 5.
Latest Product
(The box contains the product from the list of "latest arrivals")
Product
The box shows the product image, its name and price.
Quick Find
(Box search by product)
Input box

The box has an input field, search button, the text: "Use keywords to find the product you are looking for" and the text Advanced Search link. The text and the link "Use keywords to find the product you are looking for" and an Advanced Search link which are optional.

Manufacturers
(the list of manufacturers)
Input box
The list contains a drop down box.
Currencies
(the list of currency)
Input box
The list contains a drop down box.
Advanced Search
(the box of site and product search)
Input box

The box has an input field, search button, the text: “Use keywords to find the product you are looking for” and the text Advanced Search link. The text and the link “ Use keywords to find the product you are looking for” and an Advanced Search link which are optional.

Languages
 (Localization Box)
Input box

Contains the icons that represent the flags of the countries localisations.