Skip to content

Instantly share code, notes, and snippets.

@mneuhaus
Created April 19, 2013 08:51
Show Gist options
  • Save mneuhaus/5419044 to your computer and use it in GitHub Desktop.
Save mneuhaus/5419044 to your computer and use it in GitHub Desktop.
--- /dam_mam/ext_conf_template.txt
+++ (clipboard)
@@ -1,2 +1,5 @@
# cat=basic; type=boolean; label= Disabled DAM Editing and Uploading: Disable this to allow Uploads and Changes in DAM additionally to the provided MAM Content. Be aware of the fact that local changes to MAM content will be overwitten on the next sync
-no_upload = 1
+no_upload = 1
+
+# cat=basic; type=string; label= Default Language label (string or language label reference)
+default_language_label = LLL:EXT:lang/locallang_general.xml:LGL.default_value
--- dam_mam/ext_tables.php
+++ (clipboard)
@@ -96,7 +96,7 @@
'minitems' => 0,
'maxitems' => 10,
'items' => array(
- array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0)
+ array($_extConfig['default_language_label'], 0)
)
)
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment