Custom layout-types

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mlandry8
    Junior Member
    • Mar 2017
    • 4

    Custom layout-types

    Hi there,

    Practically I am trying to create a Custom View for the Detail Account page. I've managed to differentiate the views & templates in the file structure, all extended from the regular detail views, as it will have practically the same functionality.

    I've gotten to the point where I want to edit the dom structure of the "middleView" of the record/detail. It appears the html is being pulled from res/layout-types/record.tpl.

    I tried specifying " _internalLayoutType: 'record-account' ", in record/detail-middle-view.js, while adding record-account.tpl in the layout-types folder and in pre-load.json.

    If anyone has any insight into how this could be accomplished (or if there is a work-around/ better way to do this), it would be much appreciated.
  • mlandry8
    Junior Member
    • Mar 2017
    • 4

    #2
    I no longer need to accomplish this, however if someone knows how layout-types work within the system flow maybe someone else will need that info one day .

    Comment

    Working...