Last active
August 29, 2015 14:07
-
-
Save betobaz/a1f26ace29cb0d3cab58 to your computer and use it in GitHub Desktop.
Sugarcrm::add layout and view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$viewdefs['Accounts']['base']['layout']['nrfm'] = array( | |
'type' => 'simple', | |
'components' => array( | |
array( | |
'view' => 'nrfm', | |
), | |
), | |
); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
className: 'nrfm', | |
loadData: function (options) { | |
this.render(); | |
console.log("Estas dentro"); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment