Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
flexslider
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hebotek
flexslider
Commits
08ca1e57
Commit
08ca1e57
authored
May 08, 2018
by
Imanov Nursultam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed name issues
$TCA -> $GLOBALS['TCA']
parent
a8863206
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
tx_flexslider_domain_model_flexslider.php
Configuration/TCA/tx_flexslider_domain_model_flexslider.php
+4
-4
ext_localconf.php
ext_localconf.php
+2
-2
ext_tables.php
ext_tables.php
+0
-1
No files found.
Configuration/TCA/tx_flexslider_domain_model_flexslider.php
View file @
08ca1e57
...
@@ -215,7 +215,7 @@ return [
...
@@ -215,7 +215,7 @@ return [
// Extend the subtitle field, if the corresponding value in EM Config is set.
// Extend the subtitle field, if the corresponding value in EM Config is set.
if
(
$configuration
[
'extendSubtitleByRTE'
])
{
if
(
$configuration
[
'extendSubtitleByRTE'
])
{
$
TCA
[
'tx_flexslider_domain_model_flexslider'
][
'columns'
][
'subtitle'
][
'config'
][
'wizards'
]
=
array
(
$
GLOBALS
[
'TCA'
]
[
'tx_flexslider_domain_model_flexslider'
][
'columns'
][
'subtitle'
][
'config'
][
'wizards'
]
=
array
(
'RTE'
=>
array
(
'RTE'
=>
array
(
'icon'
=>
'wizard_rte2.gif'
,
'icon'
=>
'wizard_rte2.gif'
,
'notNewRecords'
=>
1
,
'notNewRecords'
=>
1
,
...
@@ -225,10 +225,10 @@ if ($configuration['extendSubtitleByRTE']) {
...
@@ -225,10 +225,10 @@ if ($configuration['extendSubtitleByRTE']) {
'type'
=>
'script'
'type'
=>
'script'
),
),
);
);
$
TCA
[
'tx_flexslider_domain_model_flexslider'
][
'columns'
][
'subtitle'
][
'defaultExtras'
]
=
'richtext[]'
;
$
GLOBALS
[
'TCA'
]
[
'tx_flexslider_domain_model_flexslider'
][
'columns'
][
'subtitle'
][
'defaultExtras'
]
=
'richtext[]'
;
$
TCA
[
'tx_flexslider_domain_model_flexslider'
][
'types'
][
'1'
][
'showitem'
]
=
str_replace
(
$
GLOBALS
[
'TCA'
]
[
'tx_flexslider_domain_model_flexslider'
][
'types'
][
'1'
][
'showitem'
]
=
str_replace
(
'subtitle'
,
'subtitle'
,
'subtitle;;;richtext:rte_transform[mode=ts_css]'
,
'subtitle;;;richtext:rte_transform[mode=ts_css]'
,
$
TCA
[
'tx_flexslider_domain_model_flexslider'
][
'types'
][
'1'
][
'showitem'
]
$
GLOBALS
[
'TCA'
]
[
'tx_flexslider_domain_model_flexslider'
][
'types'
][
'1'
][
'showitem'
]
);
);
}
}
ext_localconf.php
View file @
08ca1e57
...
@@ -4,7 +4,7 @@ if (!defined('TYPO3_MODE')) {
...
@@ -4,7 +4,7 @@ if (!defined('TYPO3_MODE')) {
}
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility
::
configurePlugin
(
\TYPO3\CMS\Extbase\Utility\ExtensionUtility
::
configurePlugin
(
'SotaStudio.
'
.
$_EXTKEY
,
'SotaStudio.
flexslider'
,
'Pi1'
,
'Pi1'
,
array
(
array
(
'FlexSlider'
=>
'list'
,
'FlexSlider'
=>
'list'
,
...
...
ext_tables.php
View file @
08ca1e57
...
@@ -9,7 +9,6 @@ call_user_func(
...
@@ -9,7 +9,6 @@ call_user_func(
// Build extension name vars - used for plugin registration, flexforms and similar
// Build extension name vars - used for plugin registration, flexforms and similar
$extensionName
=
\TYPO3\CMS\Core\Utility\GeneralUtility
::
underscoredToUpperCamelCase
(
$_EXTKEY
);
$extensionName
=
\TYPO3\CMS\Core\Utility\GeneralUtility
::
underscoredToUpperCamelCase
(
$_EXTKEY
);
$pluginSignature
=
strtolower
(
$extensionName
)
.
'_pi1'
;
$pluginSignature
=
strtolower
(
$extensionName
)
.
'_pi1'
;
\TYPO3\CMS\Core\Utility\DebugUtility
::
debug
(
$_EXTKEY
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility
::
registerPlugin
(
\TYPO3\CMS\Extbase\Utility\ExtensionUtility
::
registerPlugin
(
'SotaStudio.'
.
$_EXTKEY
,
'SotaStudio.'
.
$_EXTKEY
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment