Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Configuration/page.tsconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
mod.wizards.newContentElement.wizardItems.plugins {
elements {
odsosm {
iconIdentifier = ods_osm
title = LLL:EXT:ods_osm/Resources/Private/Language/locallang.xlf:pi1_title
description = LLL:EXT:ods_osm/Resources/Private/Language/locallang.xlf:pi1_plus_wiz_description
tt_content_defValues {
CType = list
list_type = ods_osm_pi1
}
}
}
show := addToList(odsosm)
}
14 changes: 1 addition & 13 deletions ext_localconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,7 @@
1
);

ExtensionManagementUtility::addPageTSConfig('
mod.wizards.newContentElement.wizardItems.plugins.elements.odsosm {
iconIdentifier = ods_osm
title = LLL:EXT:ods_osm/Resources/Private/Language/locallang.xlf:pi1_title
description = LLL:EXT:ods_osm/Resources/Private/Language/locallang.xlf:pi1_plus_wiz_description
tt_content_defValues {
CType = list
list_type = ods_osm_pi1
}
}

mod.wizards.newContentElement.wizardItems.plugins.show := addToList(odsosm)
');
ExtensionManagementUtility::addPageTSConfig('@import \'EXT:ods_osm/Configuration/page.tsconfig\'');

ExtensionManagementUtility::addUserTSConfig('
options.saveDocNew.tx_odsosm_track=1
Expand Down