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 » 9 months 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 ToolsCjFit | CjBlog


You do not have permissions to reply to this topic.

Powered by CjForum

Trending Topics

category quiz
  • 0 replies
Hi Maverick, I have recently installed your plugin. I'm trying to...

No questions in final report when doing category quiz
  • 2 replies
Hi. I've been using your component for couple weeks now and I...

Facebook log in
  • 6 replies
Hi What Valid OAuth Redirect URL should be used for facebook...

Photo
  • 1 reply
Hi If I´m in Activty stream an publish a photo It´ll be...

Survey Forms module don't register answers
  • 6 replies
Hi! I want to have a simple Yes/No/Don't know poll using...