SEARCH


Tag Archives: catalog



The Catalog page is used to show information from your online database (the page must be viewed online to see anything).

To add a catalog page to your site:
  1. Go to the Editing Tools.
  2. Press Live (Php) button in Insert page section and select Catalog page.
  3. Select preferred layout preset. Catalog page has a few predefined layout presets.
  4. Set any other options you want and press OK.
You can preview your Catalog page only when uploaded on a PHP enabled server. To test this functionality offline you can Install your own test server on your PC.

Basics

The CATALOG page shows list of the items from your database. Each catalog page has its own MySQL database where items are stored. Catalog items are managed online (you add/edit/remove items online through administrator panel)

Each item in the list will be formatted based on the layout you can define and modify in the Web Editor.

The Catalog page type consists of 3 pages:

Front catalog page

This page is portal for your catalog and can be used to display item categories, some additional information about the catalog and search function. Everything inside "LISTER_BODY" construction is called body and represents the description of a single item from your catalog database. To display specific item data (text, images etc) in lister body, you can use the special macros syntax. You can also drop items from the Fields panel, which will insert the proper macro in the body template. Macros are tool that makes the relationship between your catalog page and the database. For example, if your catalog page contains PagesLive (PHP pages) and %name% macros in its body section, that means that for each item from your catalog database "category" and "name" field value will be displayed in the catalog.

In the final page, the body is inserted multiple times (once for each item to be listed) and all the macros are replaced with their respective values.

Categories page

This page is used to display different items from selected category. Body section on this page is replicated for every item from selected category. You can set a limit of maximum number of items per page.

Detail page

Detail page represents details of selected item.

Catalog Settings

The following properties are available in the Catalog Settings panel. Make sure to configure these settings.

Data

  • Data (button) - Press the button to open Catalog Data Fields dialog where you can add more field to your catalog database.

Front Page

  • Columns (spin box) - Sets the number of columns in the catalog frontpage, used to list categories.
  • Direction (drop-down menu) - Sets the direction of the categories list - horizontal or vertical.
  • Labels (button and editable listbox) - Sets the captions used in catalog. You can translate the default captions in your preferred language or use one of the presets. Use Default settings button to restore the default settings.

Categories Page

  • Columns (spin box) - Sets the number of columns in the categories page, used to list items in a category.
  • Items /page (drop-down menu box) - Limits max record count on page. If catalog selection contains more records, extra pages are generated. To link this extra pages add 'Previous' and 'Next' page fields.
  • Order items (drop-down menu box) - Lets you select a field which should be used to sort the items in the catalog.
  • Desc. (check box) - If checked, descending order is used (applied to the items).
  • Order items II (drop-down menu box) - Lets you select a field which should be used as second sort criteria for the items in the catalog.
  • Desc. (check box) - If checked, descending order is used for the second sort criteria (applied to the items).

RSS

  • Feed Settings (button and editable listbox) - Sets some special RSS settings.
  • Limit Items (number selection box) - Sets the maximum number of items to be included in the RSS feed.
  • Scale Image (max width) (check box and number selection box) - Check it if you want include scaled image in RSS item description.

Accessible Macros Fields

Each page has Macros Fields panel, accessed via Editing Tools.

This panel contains objects that you can insert on page.

Front page

  • Body section - Defines body section of page. Body section is replicated and parsed for each category defined in the catalog.
  • Category - Displays categoris in your catalog.
  • Category count - Displays the number of items within a category (include this field within body section area).
  • Random item - Displays random item. After you insert this field, specify which item fields to be displayed for the random item (for example, <RANDOM>%P_Name%</RANDOM>). You can include multiple random items on a page.
  • Items Counter - Will be replaced by category order number (include this field within body section area).
  • Search - Adds search box in page.
  • Category search - Adds search box with option to search inside ceratin category.
  • Category drop-down menu - Category combobox can be used as alternative way for displaying catalog categories in your page.
  • Category horizontal list - Builds category horizonal list.
  • Category vertical list - Builds category vertical list.
  • Administrator - This object generates link to catalog administrator panel.
  • Nopagefooter - Creates NOPAGEFOOTER macros, which disables footer on catalog frontpage.

Categories page

  • Body section - Defines body section of page. Body section is replicated and parsed for each item defined in the catalog.
  • Category section - Defines category section in the page where caegory info will be displayed.
  • Search - Adds search box in page.
  • Category search - Adds search box with option to search inside ceratin category.
  • Category drop-down menu - Category drop-down menu can be used as alternative way for displaying catalog categories.
  • Category horizontal list - Builds category horizonal list.
  • Category vertical list - Builds category vertical list.
  • Items drop-down menu - Items drop-down menu can be used as alternative way for displaying catalog items.
  • Items counter - Will be replaced by item order number (include this field within body section area).
  • Navigation - Adds page navigation when items exceed one screen.
  • Categories link - Creates link to catalog frontpage.
  • Nopagefooter - Creates NOPAGEFOOTER macros, which disables footer on Catalog categories page.
  • Sub-categories - Creates links to the subcategories, if any are defined for current category.
  • Sub-category drop-down menu- Sub-category drop-down menu can be used as alternative way for displaying catalog sub-categories.

    Date format: If you want to change the default date format for any of your date database fields, use %FIELDNAME(yyyymmdd)% macro, where FIELDNAME is the name of your date field. This macro has syntax similar to the standard %DATE% macro.

    Note: When you insert IMAGE field, you have few optional attributes to set - Main Image Scale and On Click Diplay.

Along with the described fields and special objects, in each catalog page you can also insert database fields. These fields are colored in black in macros Fields panel.

Detail page

  • Previous item - Creates previous item link.
  • Next item - Creates next item link.
  • Nopagefooter - Creates NOPAGEFOOTER macros, which disables footer on Shop detail page.
• catalog