1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

Overriding layout of a repeat group

Discussion in 'Community' started by econveyors, Sep 13, 2019 at 7:24 PM.

  1. econveyors

    econveyors Member

    Level: Community
    I have a repeat group for which I'd like to customize the layout. By default it's showing in an unordered list and I'd like it to be in divs.

    The code that's controlling the layout is in com_fabrik/models/element.php, line 6236.

    Is there any way to override this? If so, where would I put the override files?

    Thanks!!
     
  2. troester

    troester Well-Known Member Staff Member

    Level: Community
  3. econveyors

    econveyors Member

    Level: Community
    Thanks @troester! I'm sorry, I should have been more specific. Yes, I was referring to list rendering.

    I tried the fabrik-element-elementlist-details.php override, but it didn't seem to have an effect on my list. I put the override file in "templates/mytemplate/html/com_fabrik/layouts/element/". I tested it by just changing the existing class on the unordered list tag, but it didn't change on my list.

    Any thoughts?
     
  4. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Community
    I think that's the wrong location. Try ...

    templates/mytemplate/html/layouts/com_fabrik/element/

    -- hugh
     

Share This Page