This page in: English - Deutsch - Español - Français - Italiano - Lietuvių - Nederlands - Norsk - Polski - Русский - Svenska - Tiếng Việt - عربي - 日本語 简体中文
Cataloger
What does this module do?
This module lets you create online catalogs or portfolios. Catalogs consist of "Catalog Items" which could be products, works of art, or the like, and "Catalog Categories" which could be item categories or other natural divisions of the catalog.
Categories may be defined hierarchically (using the standard CMS Made Simple content list). Category pages can display items in the category and/or subcategories, optionally recursing through sub-categories. This behavior can be configured on a per-category basis.
There is also a Printable Catalog, which represents the whole collection of Catalog Items on a single page (this is currently implemented badly, and will load slowly).
The module has built-in support for "Content Aliases" (a module available at the Developer Forge), which allows you to place any Catalog Item into multiple Catalog Categories.
How Do I Use It
When you install this module, it creates three new Content Types: Catalog Item, Catalog Category, and Printable Catalog. When you're in your site administration category, you add Catalog Items and Catalog Categories just as you would any other kind of page. Select Content > Pages > Add Content, and then select "Catalog Item" or "Catalog Category" from the Content Type pulldown.
Catalog Items
Adding a Catalog Item is similar to adding an ordinary page to your site. The data fields for the Item are not exactly the same, however. Also note that in the "Images" tab, you can select multiple images to upload for the item. When you upload images, the system will size them appropriately for the catalog, create thumbnails for use in the Item's page, create thumbnails for any Category pages, and so on. This requires that you have GD or a similar image library installed. Currently, only jpeg format images are supported.
Catalog Categories
A Catalog Category is used for organizing your catalog items. It provides a page that lists Cataloger content that is contained by it. A Catalog Item is considered to be part of a Catalog Category if it is below that Category in the Site Hierarchy. Categories can similarly include other Categories.
Catalog Categories have a number of settings to determine how they should display the Items and Categories they contain: if you look at the "Options" tab, you can choose how many items and/or categories to show, what order to show them in, whether to display only items or only categories or both, and how many levels of the hierarchy to display below the category page.
For example, consider the following structure:
1. Hats 1. Fashion 1. Feathered Hat 2. Fedora 3. Baseball Hat 2. Work Hats 1. Hard Hat 2. Diving Helmet
In this diagram, bolded items are Catalog Categories, and non-bolded items are Catalog Items. Depending upon how you set your options, the Hats Category Page can show only entries for the Fashion and Work Hats Category Pages, or it can show entries for Fashion, Work Hats, and all the hats listed below them.
You can opt to show the items in "natural" order (i.e., the order the Items show up in the CMS Content Hierarchy), or in alphabetical order.
If you have large numbers of items in a Category, you can set the maximum number to be displayed in a Category Page, and the page will automatically create links to navigate through the list.
Each Category page can have different settings for sort order, levels to display, and number of items. You can set the default for these values in Extensions > Cataloger > Manage Preferences. If, at a later date, you wish to change some setting on all of your Category pages, you can go into Extensions > Cataloger > Global Catalog Options, and make those changes.
Images
Cataloger allows you to select different size images for Item pages, Category pages, and the Printable Catalog. You can set these defaults in Extensions > Cataloger > Manage Preferences.
When you upload images, the original is stored. When someone visits a page, the reduced size images are requested using a special URL, which will redirect the user's browser to the scaled image if it exists, and creating the scaled image if it doesn't. This allows you to change the size of images, without having to re-upload all the images, or rescaling them all at once.
This image rescaling code requires that you have either ImageMagick or GD lib installed, and configured in your CMS Made Simple config.php.
Feature Lists
You can, as of version 0.4, have "feature lists" which are the n most-recently added catalog items, or a collection of k random items from the catalog.
Recently Added Feature List
To use a "most-recently added" list will allow you to display the most recently-added catalog items under a specified part of your hierarchy.
The syntax for a "most recently added" list is like:
{cms_module module='Cataloger' action='recent' sub_template='my_sub_template'}, where sub_template is the template to use to render the list. There are two optional parameters, count='3' alias='page_alias', where count is the number of items to include, and page_alias indicates the top of the tree (e.g., a place in your menu hierarchy, typically a category page) in which to look for new items. A special value for "page_alias" is "/", which means to use all pages in the site.
Random Items Feature List
The syntax for a "random" list is like:
{cms_module module='Cataloger' action='random' sub_template='my_sub_template'}, where sub_template is the template to use to render the list. There are two optional parameters, count='3' alias='page_alias', where count is the number of items to include, and page_alias indicates the top of the tree (e.g., a place in your menu hierarchy, typically a category page) in which to look for new items. A special value for "page_alias" is "/", which means to use all pages in the site.
Customization and Advanced Topics
Catalog Item Attributes
The default item attributes are typical for a catalog of products or artworks, but by going into Extensions > Cataloger > Manage User-Defined Attributes, you can change the attributes. It's best to define the attributes before you start entering Catalog Items.
Note that the attributes you define may need to be added to the template that you're using to display Catalog Items -- see Custom Templates below.
Catalog Category Attributes
Similarly, you can set attributes for Categories. Again, the attributes you define may need to be added to the template that you're using to display Catalog Categories -- see Custom Templates below.
Printable Catalog Attributes
Likewise, you can set attributes for Printable Catalogs. Again, the attributes you define may need to be added to the template that you're using to display your Printable Catalog -- see Custom Templates below.
Custom Templates
If you're willing to mess around with Smarty Templates, you can change the layout of any of the pages generated by Cataloger. This should make certain developers very happy, even if the inefficiency of the rest of the code will not. There are four kinds of templates: one kind for Catalog Items, one kind for Catalog Categories, and one kind for Printable Catalogs, and one kind for "Feature" lists, such as recently added items or random selections.
When editing a Template, the admin screen will display a list of Smarty tags available to you for that kind of template. This will only happen once the module knows what kind of template you're editing, so when you first create the template, it displays all the Smarty tags it knows about, only some of which being applicable.
Support
This module does not include commercial support. However, there are a number of resources available to help you with it:
- For the latest version of this module, FAQs, or to file a Bug Report, please visit the CMS Made Simple Developer Forge.
- To obtain commercial support, please send an email to the author at <sjg@cmsmodules.com>.
- Additional discussion of this module may also be found in the CMS Made Simple Forums.
- The author can often be found in the CMS IRC Channel.
- Lastly, you may have some success emailing the author directly and grovelling for free support.
As per the GPL, this software is provided as-is. Please read the text of the license for the full disclaimer.
Copyright and License
Copyright © 2006, Samuel Goldstein <sjg@cmsmodules.com>. All Rights Are Reserved. This module has been released under the GNU Public License. You must agree to this license before using the module.
Parameters
- (optional) lang="en_US" - Parameter is used to specify what language to use for display on the frontend. Not all modules support or need this.
Troubleshooting
- If the CMOD rights are not set right on your server, the image function can not work correctly. You have to make the folders 'catalog' and 'catalog_src' in upload/images. After that give the folders a CMOD of '777'. Now your image function should work.
This page in:
English -
Deutsch -
Español -
Français -
Italiano -
Lietuvių -
Nederlands -
Norsk -
Polski -
Česky -
Русский -
Svenska -
Tiếng Việt -
عربي -
日本語
简体中文