Commit 0fcf51b9 authored by Philipp Nowinski's avatar Philipp Nowinski
Browse files

[BUGFIX] move link field back to the general tab and add a more descriptive label

parent c0fe8122
<?php
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns(
'tt_content', array(
'tx_sgcontentlink_contentlink' => array(
'tt_content', [
'tx_sgcontentlink_contentlink' => [
'displayCond' => \SGalinski\SgContentlink\TCA\TcaProvider::getAllowedTypesForTcaDisplayCond(),
'exclude' => 1,
'label' => 'LLL:EXT:sg_contentlink/Resources/Private/Language/locallang_db.xlf:tt_content.tx_sgcontentlink_contentlink',
'config' => array(
'config' => [
'type' => 'input',
'size' => 50,
'eval' => 'trim',
'wizards' => array(
'wizards' => [
'_PADDING' => 2,
'link' => array(
'link' => [
'type' => 'popup',
'title' => 'LLL:EXT:cms/locallang_ttc.xlf:header_link_formlabel',
'icon' => 'link_popup.gif',
'module' => array(
'module' => [
'name' => 'wizard_element_browser',
'urlParameters' => array(
'urlParameters' => [
'mode' => 'wizard'
),
),
],
],
'JSopenParams' => 'height=600,width=500,status=0,menubar=0,scrollbars=1'
)
),
),
),
)
]
],
],
],
]
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
'tt_content', '--div--;LLL:EXT:sg_contentlink/Resources/Private/Language/locallang_db.xlf:tt_content.tx_sgcontentlink_contentlink,tx_sgcontentlink_contentlink', '', ''
'tt_content', '--linebreak--LLL:EXT:sg_contentlink/Resources/Private/Language/locallang_db.xlf:tt_content.tx_sgcontentlink_contentlink,tx_sgcontentlink_contentlink', '', 'after:subheader'
);
?>
......@@ -9,9 +9,9 @@
<authorEmail>fabian@sgalinski.de</authorEmail>
</header>
<body>
<trans-unit id="tt_content.tx_sgcontentlink_contentlink" approved="yes" xml:space="preserve">
<source>Content Element Link</source>
<target>Inhaltselement-Link</target>
<trans-unit id="tt_content.tx_sgcontentlink_contentlink" approved="yes">
<source>Content Element Link (adds a Link around the whole element)</source>
<target>Inhaltselement-Link (rendert enen Link um das gesamte Element)</target>
</trans-unit>
</body>
</file>
......
......@@ -9,8 +9,8 @@
<authorEmail>fabian@sgalinski.de</authorEmail>
</header>
<body>
<trans-unit id="tt_content.tx_sgcontentlink_contentlink" xml:space="preserve">
<source>Content Element Link</source>
<trans-unit id="tt_content.tx_sgcontentlink_contentlink">
<source>Content Element Link (adds a Link around the whole element)</source>
</trans-unit>
</body>
</file>
......
......@@ -4,7 +4,7 @@
"description": "sgalinski Contentlink - Possibility to set a link around a whole content element. (Include static template)",
"homepage": "https://www.sgalinski.de",
"license": ["GPL-2.0+"],
"version": "1.4.0",
"version": "1.4.1",
"support": {
"issues": "https://gitlab.sgalinski.de/typo3/sg_contentlink/issues"
},
......
......@@ -14,7 +14,7 @@ $EM_CONF[$_EXTKEY] = array (
'title' => 'sgalinski Contentlink',
'description' => 'Possibility to set a link around a whole content element. (Include static template)',
'category' => 'plugin',
'version' => '1.4.0',
'version' => '1.4.1',
'state' => 'stable',
'uploadfolder' => false,
'createDirs' => '',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment