Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2015
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
  2. $_EXTKEY,
  3. 'pluginname',
  4. 'Plugin description'
  5. );
  6.  
  7. // Include flex forms
  8. $pluginSignature = str_replace('_', '', $_EXTKEY) . '_' . 'pluginname'; // from registerPlugin(...)
  9. $TCA['tt_content']['types']['list']['subtypes_addlist'] [$pluginSignature] = 'pi_flexform';
  10. \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
  11. $pluginSignature,
  12. 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_pluginname.xml'
  13. );
  14.  
  15. --------------------------------------------
  16.  
  17. <T3DataStructure>
  18. <meta>
  19. <langDisable>1</langDisable>
  20. </meta>
  21. <sheets>
  22. <sDEF>
  23. <ROOT>
  24. <TCEforms>
  25. <sheetTitle>Price Settings</sheetTitle>
  26. </TCEforms>
  27. <type>array</type>
  28. <el>
  29. <settings.chars_per_row>
  30. <TCEforms>
  31. <label>Character Per Row</label>
  32. <config>
  33. <type>input</type>
  34. <default>55</default>
  35. </config>
  36. </TCEforms>
  37. </settings.chars_per_row>
  38. </el>
  39. </ROOT>
  40. </sDEF>
  41. </sheets>
  42. </T3DataStructure>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement