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.



To accomplish great things, we must not only act, but also dream; not only plan, but also believe.
    Anatole




Catalog Page

Introduction | Setup | Settings | Parameters

Introduction

This page brings all of O3's functionality together in one place. While you can show your products etc. in your pages using the show_...() functions, the catalog page does them all - and displays different things depending on the parameters passed into it.

This page resides in your website home directory because it makes it easier for you to add your own template below the code. If it was in the o3 directory, you'd have to change all the image urls & links in your template just for this page...

All the things the catalog can show are shown in their Containers.

If you include Create/Update/Delete/Approve forms in your containers, then the actions will be processed by O2 and the results will be shown immediately in the catalog page. This means your users can view & edit thier listings/content etc - all from the one place.


Setup

To get this page working you have to do the following things:

  • Create your categories and products
  • Copy your template into the bottom of the catalog page catalog.php. It goes below the HTML header - which should be left intact as it dynamically creates the pages title and META tags for you (to ensure the best possible search engine rankings).
  • Replace the content part of the template with the following code:
    <? echo $scr_out; ?>

That's basically it. You can go further and create dynamic menus, and links to categories and products and content using the functions described elsewhere in this manual (see Functions)...



Settings

There are 3 main categories of settings the catalog page uses. They are defined in the settings under 'Catalog Page', 'Containers' and also under the optional modules' settings (i.e. you define the container for items under the Items settings):

  1. Containers. These define which container to use for which object.
  2. Titles. These define the page titles (Which appear in the browser's Title bar) when displaying different things
  3. Headings. These are displayed on the page above the content.

Parameters

The catalog page will display different things depending on which parameters are passed into it. Many of the parameters will take a Regular Expression - which is a pattern matching language enabling you to match many different things at once...

All REs in O3 are case-insensitive - all text is converted to lowercase first!.

Examples of common regular expressions would be:

  • 'item' - matches the text 'item', anywhere in the subject.
  • 'it1|it2|it3' - matches either of the 3 the text strings 'it1', 'it2' and 'it3', anywhere in the subject.
  • '^item1$' - matches the exact string 'item1' only.

You can read a good explanation of REs here: http://dinki.mine.nu/word/regex/regex.php

Here's a list of the parameters you can use:

ParameterDescription
concontainer name - same for all options below. This overrides the default containers.
Search
stxtSearch for this text in website (static) pages
asUse this 'Advanced Search' script. This must be a PHP script as described in the Types page. Searches for whatever you specify.
Products
itmShow a single product's details, or...
namShow products whose name matches this regular expression.
catShow products whose category matches this regular expression.
typShow products whose type matches this regular expression.
creShow products whose creator matches this regular expression.
priShow products whose price matches this specification. Examples: '>100', 'BETWEEN 1000 AND 9999'
recShow subscriptions if this = Y
Categories
citmShow a single category's details, or...
cnamShow categories whose name matches this regular expression.
ccatShow categories whose parent matches this regular expression.
Content
aitmShow a single content item, or...
anamShow contents whose name matches this regular expression.
acatShow contents whose category matches this regular expression.
acreShow contents whose creator matches this regular expression.
List Items
iitmShow a single item's details, or...
inamShow items whose name matches this regular expression.
icatShow items whose category matches this regular expression.
itypShow items whose type matches this regular expression.
icreShow items whose creator matches this regular expression.
Schedules
sitmShow a single schedule, or...
snamShow schedules whose name matches this regular expression.
scatShow contents whose category matches this regular expression.
stypShow schedules whose name matches this regular expression.
screShow schedules whose creator matches this regular expression.



Powered By OfficeTrio