Created
March 3, 2012 13:03
-
-
Save jwhitcraft/1965962 to your computer and use it in GitHub Desktop.
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 | |
// this file is upgrade safe | |
// location: custom/modules/Contacts/views/view.detail.php | |
require_once('include/MVC/View/views/view.detail.php'); | |
class CustomContactsViewDetail extends ViewDetail { | |
/** | |
* @see SugarView::display() | |
* | |
* We are overriding the display method to manipulate the portal information. | |
* If portal is not enabled then don't show the portal fields. | |
*/ | |
public function display() | |
{ | |
// my custom code here | |
// call up the ContactsViewDetail Code to run the display after we have called | |
// all of our custom code. | |
parent::display(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment