Category properties

You can configure a lot of behavious through category properties:

  • HTML Editor behaviour: This properties set customize the way the HTML editor works:
    • askOnEditHTML: Ask the user to edit HTML in text mode or WYSIWSG
    • hasAttachedFile: True to add a file input that will let the user add a related content
    • categoryGalleryPath: path to the root category for links to categories
    • imageGalleryPath: path to the root category for searching images
    • downloadGalleryPath: path to the root category for searching downloadable contents
    • contentGalleryPath: path to the root category for searching contents
    • moveToPath: path to the root category to move contents
  • Category visualization: This properties set customize how a category contents are shown:
    • showCategoryName: Shows the category name enclosed with h1
    • showCategoryDescription: Shows the category description enclosed with p
    • showSubcategories: shows links to the children categories. If parent category also shows subcategories, an "go up" link will appear. This way you can control access to parent subcategories.
    • showValidOnly: false to show all contents (even out of valid date range)
    • showAs: visualization mode. Currently can take 2 values:
      • default: show as a list.
      • calendar: show as calendar. Has additional properties.
        • monthsByRow: number of months in a row. Default: 4
      • gallery: show as a gallery (usually for images). Has additional properties
        • itemsByRow: number of items in a row. Default: 3