Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function preProcess(
- PageLayoutView &$parentObject,
- &$drawItem,
- &$headerContent,
- &$itemContent,
- array &$row
- )
- {
- if ($row['CType'] === 'slider') {
- $headerContent = '<strong>' . $parentObject->CType_labels[$row['CType']] . '</strong><br/>';
- $itemContent .= '<p class="title">Images:</p>';
- $itemContent .= $parentObject->linkEditContent($parentObject->getThumbCodeUnlinked($row, 'tt_content', 'slider') . '<br />');
- $drawItem = false;
- }
- }
Add Comment
Please, Sign In to add comment