How to make multiple Featured Categories

  • Published by
    George Papadakis
  • Last modified
    28 October 2013
  • Up to date
    Yes
  • Profile concerned
    Webdesigner, Developer
  • Concerns
    Component Language Template
  • Since Version
    1.5.6
  • Voting
    Average rating
    4 votes
    • 1
    • 2
    • 3
    • 4
    • 5
  • Favourites
    273 How to make multiple Featured Categories /documentation/tutorials-english/75-basic-usage/273-how-to-make-multiple-featured-categories.html
  • Tags
    frontpage, ergonomy, designer, developer, templates

It is possible to create multiple Featured Categories with FLEXIcontent, e.g. J1.6+ olny as a single Featured property

Like this:
  1. Create a category e.g. called "Best Value", "Recommended", "Frontpage Slideshow"
  2. Give Create (J2.5) or Add (J1.5 FLEXIaccess) permissions to the users that should be able to assign items to these categories
  3. Go the the (SYSTEM) FLEXIcontent advanced route plugin and select to exclude these categories from routing (=meaning no links will be created to it, e.g. when displaying the categories of an item this category will not be listed)
  4. If needed
    a. Duplicate a template (e.g. the blog template and call it called "bestvalueblog") and assign it to the category "Best Value", etc
    b. edit the files of this new template (particularly the category*.php files) to customize them.
  5. Assign the items you wish to appear in these categories (you or the allowed users with create permission can assign to these categories)
    Of course the items will be assigned to both the "Featured" categories and their normal category(-ies) (just use CTRL-click to select)

You are done !!


NOTE: v1.5.6 / v2.0 final, we have add a flag in category configuration to mark it as featured, and make it appear as CHECKBOX in the item form. Thus it will be easier to assign these categories to items