hello maverick,

is it possible to create a new override for only 1 or a few categories?

so i can show quizzes in certein categories in a different layout then the rest of the categories.

thank yuo


online projects & marketing manager. Israel.

Like it on Facebook, Tweet it or share this topic on other bookmarking websites.
  • Re: creating a new override for a specific quiz category

    by » one year ago


    Good question. This can be easily achieved by adding the corresponding field in the menu item view and then create the category menu item with the desired layout.

    For example, add below code in components/com_communityquiz/views/category/tmpl/default.xml file under integration fieldset

    <field name="ui_layout" type="list" label="COM_COMMUNITYQUIZ_FIELD_DEFAULT_LAYOUT_LABEL" 
       description="COM_COMMUNITYQUIZ_FIELD_DEFAULT_LAYOUT_DESC" filter="cmd">
       <option value="">JGLOBAL_USE_GLOBAL</option>
       <option value="default">Bootstrap 2</option>
       <option value="bootstrap3">Bootstrap 3</option>
       <option value="bootstrap4">Bootstrap 4</option>
    </field>

    Now create the Community Quiz category menu item, select the layout in the integration tab.


    Follow me on twitter: https://twitter.com/corejoomla
    If you use our extensions, please post a rating and a review at the Joomla! Extensions Directory.
    Sociable | Surveys | 
    CjForum | Polls | Answers | Quizzes | Quotes | GPS Tools


You do not have permissions to reply to this topic.
Powered by CjForum