Created
July 30, 2014 15:49
-
-
Save jmertic/e934d9386658ed0ae32a to your computer and use it in GitHub Desktop.
./custom/clients/base/views/record/record.php for this blog post http://wp.me/p419c4-2SB
This file contains hidden or 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 | |
require_once('clients/base/layouts/record/record.php'); | |
if(isset($viewdefs['base']['layout']['record']['components'])){ | |
foreach($viewdefs['base']['layout']['record']['components'] as &$subArray){ | |
if(isset($subArray['layout']['components'])){ | |
foreach($subArray['layout']['components'] as &$subsubArray){ | |
if(isset($subsubArray['layout']['components'])){ | |
$subsubArray['layout']['components'][] = array( | |
'layout' => 'pm-record-logic', | |
); | |
} | |
break; | |
} | |
} | |
break; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment