Notice: Undefined variable: s_offline in /homepages/6/d168803796/htdocs/officetrio.com/o3/o3start.php on line 314
OfficeTrio: Categories - User Manual OfficeTrio: The Integrated ECommerce Solution OfficeTrio: The Integrated ECommerce Solution OfficeTrio: Features OfficeTrio: User Manual OfficeTrio: Testimonials OfficeTrio: The Demo is Offline! OfficeTrio: Order O3 Now
EWS is no longer available


Notice: Undefined variable: us_name in /homepages/6/d168803796/htdocs/officetrio.com/right-menu.php on line 35

Notice: Undefined variable: us_email in /homepages/6/d168803796/htdocs/officetrio.com/right-menu.php on line 35
U:
P:

Login Page

Introduction
Payments
Users
Login
Access
Categories
Products
Downloads
Deliveries
Containers
Catalog
Cart
Search
Orders
Emails
IPN
Stats

Modules
Affiliates
Content
Types
List Items
Image Upload
Scheduler
File Browser
Stock Control

Appendices
Settings
Functions
Actions
Caching



Forums
Members Area
Customers Area
Affiliates

Contribute
Installation
Contact Details
Terms
FAQ
Testimonials

Free Tutorials
Free EBooks
Free Scripts

PayPal - Accept Credit Cards Online

StormPay - Accept Credit Cards Online

PHP: Open-Source Server-Side Scripting Language

MySQL: Fast Relational Database



O3 comes with a full 30-day, no-quibble money back guarantee.



If at first you don't succeed, then quit. There's no use being a damn fool about it.
    W.C. Fields




Categories

Categories | Categories Manager | Dynamic Menus

Categories

You should ideally define your categorisation scheme first, before you start adding products and content...

Your category structure is like the skeleton of your website. Categories can have an associated image, and up to 64Kb of text or HTML in the Full Description field, so you can use this to create your own dynamic website - completely within O3 (and without using O3's Content Management module).

In O3, you can add products to any category in the hierarchy (not just the end categories). With the CM module, you can add content items anywhere in the hierarchy too, and with the planned list-management system, your members will be able to add their own items in there too.

O3's catalog page uses the category structure to display pages of the category, product and content information you define. It does it all automatically, the only things you may need to change are the Containers used to display the various items. See the page on the Catalog for more info on Containers.


Categories Manager

You can create a hierarchical tree of categories to assign your products, content, and list items to. This is done in the Categories Manager. There can be any number of categories and levels, and the manager has some useful tools in the Filter to help you find the ones you want.

If you click on the 'New Category' button in the top-right, a new root-level category will be created. If you click on the 'New Sub-Category' button below the current category's details, a new sub-category will be created. This is how you build up the category structure...

You can also move, copy and delete entire trees of categories easily. Just select the one you want then click on the button. If you're moving or copying, you must specify where to move or copy to.

Content Management

The catalog page can display any mixture of products, content and list-items within the category structure you create - using the containers you create. It's up to you how you mix these things. You might prefer to keep content and products in separate branches, or in the same ones...

Categories have a Full Description field, which is up to 64Kb of text or HTML. You can use this feature alone to provide a hierarchy of web pages - just put the page content into the Full Description field. Ensure it's output by putting the CT-FULLDESC macro in the container. The examples you get with O3 do all this - you can just copy them.

Products

Categories are assigned to products in the Products Manager page. The Catalog Page uses the functions described on this page to allow users to navigate around the structure you create - automatically - without you having to create any static web pages.


Dynamic Menus

If you want, you can get O3 to generate your menus dynamically too. There are two ways to do it:

Using the show_categories function

This function shows all the sub categories of the supplied category in the specified container.

The Gadget House example does this. It uses the following code to display the menu of root-level categories:
<? echo show_categories('.', 'CategoriesMenu'); ?>

Where:
  • '.' is the root - meaning get all subcategories of the root.
  • 'CategoriesMenu' is the name of the container used to display the menu.

This uses a special container called 'CategoriesMenu' to format the list of categories. It's a really simple container, with just an image and a link. You can use this as an example to create your own containers for your dynamic menus. Creating containers is easy, you just cut & paste the template HTML into O3's container's manager, then replace the specific stuff with O3's symbols like 'CT-NAME' - see below for more info

You can create lists of products, or content in the same way: Create a simple menu container for each type, then run the appropriate O3 function for the type of data. (i.e. show_products, show_contents - see the section on functions)


Site Map / Tree Menu

O3 contains a function to create a complete site map, or hierarchical menu of the whole, or part of the category structure.

FunctionDescription
show_tree (category, options, container, maxlevels) All parameters are optional. Show a hierarchical list of categories...
  • starting at the 'parent': category.

  • options is blank or 'C' - to suppress the display of the parent (Children only).
  • maxlevels defines how deep into the hierarchy to go - i.e. '0' just show the immediate children of the parent.
It uses the Menu container defined in the settings if none is supplied.

To see an example of this function in action - go to the Demo Website - Site Map.

The menu uses the Menu container, defined in the settings, by default. You can override this when you call the function. The menu container can contain it's own set of macros. Here they are:

MacroWhat it displays...
CT-NAMECategory name.
CT-DESCCategory description
CT-FULLDESCCategory full description
CT-URLCategory URL.. Link to catalog page to show the category in the Category-Large container.
CT-IMAGECategory image. Should reside in the Image Directory specified in the settings
CT-PR-COUNTThe number of products in the category
CT-CN-COUNTThe number of content items (articles) in the category
CT-BOLDThis is set to the following text if the menu item is the current page: " style='font-weight:bold'"
MN-DEPTHhtml#The hierarchy depth indicator html. This is usually just some spaces to indent the menu item, but you can use any HTML (60 chars)



Powered By OfficeTrio