Override Layout in Sugar Portal Issue sugarEnterprise 7.6.0

Hi Everyone,

I have face issue to override layout in sugarEnterprice portal.

I have override my portal dashboard layouts below step I have to follow.

1. I have copy those two files from ".\clients\portal\layouts\dashboard\dashboard.js",".\clients\portal\layouts\dashboard\dashboard.php".

2. Put that files into ".\custom\clients\portal\layouts\dashboard\dashboard.js",".\customclients\portal\layouts\dashboard\dashboard.php"

3. Repair & Rebuild.

I have follow sugarcrm developer guide http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.6/UI_Model/Layouts/Examples/Overriding…

Below Is screen-short of my dashboard view

1. Before override layouts it's look fine.

looks good.png

2. After override layouts it's looks CSS cressed.

bad portal look.png

Check second image here my all the listview are overlay each other and it's looks CSS cressed.

I don't know whether this is sugar bug or not but I follow the same step which sugar provide.

Any guidance will highly appreciable.  

Thanks in Advance.

Alex NassiMatt MarumJeff BickartAlan BeamLori FJason SmithDan KallishJill Shaheen

  • Hi

    Can anyone help me ?

    Thanks

  • The Sugar Portal is quite limited in the customizations that it supports.  It does look like you've changed the structure of the DOM somehow such that the Portal CSS styling breaks.

    Do a comparison of the DOM before and after.  That should provide a clue as to what has changed.

    App Ecosystem @ SugarCRM

  • Thank you Matt Marum for your replay.

    Let me check with DOM.

  • Hello ,

    I have solved my issue and below is the solution of it.

    I have checked sugarCRM portal dashboard use the Base sugar dashboard coding that is why my development was override.

    So I have copy those two files and put it in custom and it's work fine for me.

    1. I have copy those two files from ".\clients\base\layouts\dashboard\dashboard.js",".\clients\base\layouts\dashboard\dashboard.php".

    2. Put that files into ".\custom\clients\base\layouts\dashboard\dashboard.js",".\customclients\base\layouts\dashboard\dashboard.php"

    Thanks Matt Marum

    -BPATEL