Custom layout can be created in clients base directory. You have to create a file in base directory. Here is path and code for that file.
custom/clients/base/layouts/my-layout/my-layout.php
here is code for custom layout type.
<?php

    $viewdefs[‘base’][‘layout’][‘my-layout’] = array(
        ‘type’ => ‘simple’,
        ‘components’ =>
        array(
            ‘0’=> array(
                ‘view’ => ‘my-view’,
            ),
‘1’=> array(
                ‘view’ => ‘second-view’,
            ),
        ),
    );
  in this code my-view is custom view that have been created.You can assign any custom view or core view .If you want to know how to create custom view then go to this path
http://technologyzoon.blogspot.com/2014/06/how-to-create-custom-view-in-sugar7.html
now repair and rebuilt your instance and go to this url
domain-name/#module/layout/my-layout
you will find you view in this custom layout.

Leave a Reply

Your email address will not be published. Required fields are marked *