Created
August 5, 2014 12:54
-
-
Save kraftb/8d80726d124591572a37 to your computer and use it in GitHub Desktop.
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
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Crossport setup'); | |
if (TYPO3_MODE === 'BE') { | |
/** | |
* Registers a Backend Module | |
*/ | |
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule( | |
'ThinkopenAt.' . $_EXTKEY, | |
'user', // Make module a submodule of 'user' | |
'crossport', // Submodule key | |
'', // Position | |
array( | |
'Upload' => 'upload', | |
'CrossportPreset' => 'detect, preview, crossport', | |
), | |
array( | |
'access' => 'user,group', | |
'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', | |
'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_crossport.xlf', | |
) | |
); | |
} |
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
module.tx_crossport { | |
view { | |
# cat=module.tx_crossport/file; type=string; label=Path to template root (BE) | |
templateRootPath = EXT:crossport/Resources/Private/Backend/Templates/ | |
# cat=module.tx_crossport/file; type=string; label=Path to template partials (BE) | |
partialRootPath = EXT:crossport/Resources/Private/Backend/Partials/ | |
# cat=module.tx_crossport/file; type=string; label=Path to template layouts (BE) | |
layoutRootPath = EXT:crossport/Resources/Private/Backend/Layouts/ | |
} | |
persistence { | |
# cat=module.tx_crossport//a; type=string; label=Default storage PID | |
storagePid = | |
} | |
} | |
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
# Module configuration | |
module.tx_crossport { | |
persistence { | |
storagePid = {$module.tx_crossport.persistence.storagePid} | |
} | |
view { | |
templateRootPath = {$module.tx_crossport.view.templateRootPath} | |
partialRootPath = {$module.tx_crossport.view.partialRootPath} | |
layoutRootPath = {$module.tx_crossport.view.layoutRootPath} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment