Loading...
 

 Important

Major updates are in progress. Some pages and languages may not be available.

Displaying Categories

Now that you have categorized Tiki objects, you need to let your users know when they are viewing an object that has been categorized. There are a few ways to accomplish this:

Displaying the Category Path

Do you remember turning on the Show Category Path option? Tiki will display the full path (the object's category and its parent categories) at the top of each page.

Each category in the path is linked, allowing visitors to quickly view all the objects in a specific category.

  1. On the Home Page, click the category name in the path.
    File not found.

    If the page is in a subcatgeory, Tiki will show the full path of the object. For example, if you created a new category as a child of the Web 2.0 category,
    Home page
    The category path with a subcategory.

     Note

    When categorizing objects, if you place an object in both the parent and child category, Tiki will display both category paths as shown here:
    Edit  page
    Selecting the parent and child category results in two paths.
  2. The category page appears, listing all items in the category.
    File not found.


Use the Browse in buttons to filter the list by specific type (such as wiki pages or blogs).

Displaying Category Objects

Tiki can automatically display a list of all items in the same category as a specific page. This makes it very easy to have a list of "related items" on a wiki page.

  1. Enable the Show category objects option on the Administration: Category page.
    File not found.
  2. Navigate to the HomePage. At the bottom of the page, Tiki shows all the objects in the same category as the HomePage (that is, the Web 2.0 category).
    File not found.


As with the Category Path, visitors can click the category name to display the category browser.

Using the Category Plugin

But what if you want to show a list of items in a category on a page that is not in the category? You can use the Category Plugin to accomplish this! Let's create a list of Web 2.0 wiki pages on the AnotherPage.

  1. From the HomePage, click the AnotherPage link.
    AnotherPage
    The AnotherPage wiki page.

    Notice that the AnotherPage is not part of the Web 2.0 category. It does not have the category path at the top of the page, nor does it have the list of category objects at the bottom of the page.
  2. Click the Edit button.
  3. Enter the following in the Edit area:
    {CATEGORY(id="1",types="wiki")}{CATEGORY}

    This will generate a list of objects in category 1 (Web 2.0), but only wiki pages. Remember, we also added the blog into the category.

     Tip

    You can use the Tiki Help System to add the Category plugin.
    File not found.
  4. Click Save. Tiki saves the page. Now there is a list of wiki pages in the Web 2.0 category.
    Another Page
    The page now includes a list of wiki pages in the Web 2.0 category.



Created by Rick Sapir (ricks99). Last Modification: Thursday February 14, 2019 10:42:48 am EST by Rick Sapir (ricks99).

Advertising