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
0757916f
Commit
0757916f
authored
May 08, 2018
by
Imanov Nursultam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CDATA doesn't work with typo3 8
parent
08ca1e57
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
26 deletions
+24
-26
JavaScriptRaw.html
Resources/Private/Partials/JavaScriptRaw.html
+21
-24
ext_tables.php
ext_tables.php
+3
-2
No files found.
Resources/Private/Partials/JavaScriptRaw.html
View file @
0757916f
<![CDATA[ jQuery(window).load(function() { ]]>
jQuery('#fs-{f:if(condition: data.pi_flexform, then: data.uid, else: altUid)}.flexslider').flexslider(
<![CDATA[{]]>
animation: "{settings.animation}",
slideDirection: "{settings.slideDirection}",
slideshow:
<f:if
condition=
"{settings.slideshow} > 0"
><f:then>
true
</f:then><f:else>
false
</f:else></f:if>
,
slideshowSpeed:
<f:if
condition=
"{settings.slideshowSpeed} > 0"
><f:then>
{settings.slideshowSpeed}
</f:then><f:else>
7000
</f:else></f:if>
,
animationDuration:
<f:if
condition=
"{settings.animationDuration} > 0"
><f:then>
{settings.animationDuration}
</f:then><f:else>
600
</f:else></f:if>
,
controlNav:
<f:if
condition=
"{settings.controlNav} > 0"
><f:then>
true
</f:then><f:else>
false
</f:else></f:if>
,
directionNav:
<f:if
condition=
"{settings.directionNav} > 0"
><f:then>
true
</f:then><f:else>
false
</f:else></f:if>
,
keyboardNav:
<f:if
condition=
"{settings.keyboardNav} > 0"
><f:then>
true
</f:then><f:else>
false
</f:else></f:if>
,
mousewheel:
<f:if
condition=
"{settings.mousewheel} > 0"
><f:then>
true
</f:then><f:else>
false
</f:else></f:if>
,
prevText: "
<f:translate
key=
"prevText"
>
Prev
</f:translate>
",
nextText: "
<f:translate
key=
"nextText"
>
Next
</f:translate>
",
pausePlay:
<f:if
condition=
"{settings.pausePlay} > 0"
><f:then>
true
</f:then><f:else>
false
</f:else></f:if>
,
pauseText: "
<f:translate
key=
"pauseText"
>
Pause
</f:translate>
",
playText: "
<f:translate
key=
"playText"
>
Play
</f:translate>
",
randomize:
<f:if
condition=
"{settings.randomize} > 0"
><f:then>
true
</f:then><f:else>
false
</f:else></f:if>
,
animationLoop:
<f:if
condition=
"{settings.animationLoop} > 0"
><f:then>
true
</f:then><f:else>
false
</f:else></f:if>
,
pauseOnHover:
<f:if
condition=
"{settings.pauseOnHover} > 0"
><f:then>
true
</f:then><f:else>
false
</f:else></f:if>
<![CDATA[
});
});
]]>
\ No newline at end of file
<f:format
.
raw
value=
"jQuery(window).load(function() {"
/>
jQuery('#fs-{f:if(condition: data.pi_flexform, then: data.uid, else: altUid)}.flexslider').flexslider(
<f:format
.
raw
value=
"{"
/>
animation: "{settings.animation}",
slideDirection: "{settings.slideDirection}",
slideshow:
<f:if
condition=
"{settings.slideshow} > 0"
><f:then>
true
</f:then><f:else>
false
</f:else></f:if>
,
slideshowSpeed:
<f:if
condition=
"{settings.slideshowSpeed} > 0"
><f:then>
{settings.slideshowSpeed}
</f:then><f:else>
7000
</f:else></f:if>
,
animationDuration:
<f:if
condition=
"{settings.animationDuration} > 0"
><f:then>
{settings.animationDuration}
</f:then><f:else>
600
</f:else></f:if>
,
controlNav:
<f:if
condition=
"{settings.controlNav} > 0"
><f:then>
true
</f:then><f:else>
false
</f:else></f:if>
,
directionNav:
<f:if
condition=
"{settings.directionNav} > 0"
><f:then>
true
</f:then><f:else>
false
</f:else></f:if>
,
keyboardNav:
<f:if
condition=
"{settings.keyboardNav} > 0"
><f:then>
true
</f:then><f:else>
false
</f:else></f:if>
,
mousewheel:
<f:if
condition=
"{settings.mousewheel} > 0"
><f:then>
true
</f:then><f:else>
false
</f:else></f:if>
,
prevText: "
<f:translate
key=
"prevText"
>
Prev
</f:translate>
",
nextText: "
<f:translate
key=
"nextText"
>
Next
</f:translate>
",
pausePlay:
<f:if
condition=
"{settings.pausePlay} > 0"
><f:then>
true
</f:then><f:else>
false
</f:else></f:if>
,
pauseText: "
<f:translate
key=
"pauseText"
>
Pause
</f:translate>
",
playText: "
<f:translate
key=
"playText"
>
Play
</f:translate>
",
randomize:
<f:if
condition=
"{settings.randomize} > 0"
><f:then>
true
</f:then><f:else>
false
</f:else></f:if>
,
animationLoop:
<f:if
condition=
"{settings.animationLoop} > 0"
><f:then>
true
</f:then><f:else>
false
</f:else></f:if>
,
pauseOnHover:
<f:if
condition=
"{settings.pauseOnHover} > 0"
><f:then>
true
</f:then><f:else>
false
</f:else></f:if>
<f:format
.
raw
value=
"});});"
/>
ext_tables.php
View file @
0757916f
...
...
@@ -9,9 +9,10 @@ call_user_func(
// Build extension name vars - used for plugin registration, flexforms and similar
$extensionName
=
\TYPO3\CMS\Core\Utility\GeneralUtility
::
underscoredToUpperCamelCase
(
$_EXTKEY
);
$pluginSignature
=
strtolower
(
$extensionName
)
.
'_pi1'
;
\TYPO3\CMS\Core\Utility\DebugUtility
::
debug
(
$pluginSignature
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility
::
registerPlugin
(
'SotaStudio.
'
.
$_EXTKEY
,
'SotaStudio.
FlexSlider'
,
'Pi1'
,
'FlexSlider'
);
...
...
@@ -36,6 +37,6 @@ call_user_func(
*/
if
(
TYPO3_MODE
===
'BE'
)
{
// Add Plugin to CE Wizard
$TBE_MODULES_EXT
[
'xMOD_db_new_content_el'
][
'addElClasses'
][
$pluginSignature
.
'_wizicon'
]
=
'EXT: flexslider/Resources/Private/Php/class.
'
.
$_EXTKEY
.
'
_wizicon.php'
;
$TBE_MODULES_EXT
[
'xMOD_db_new_content_el'
][
'addElClasses'
][
$pluginSignature
.
'_wizicon'
]
=
'EXT: flexslider/Resources/Private/Php/class.
flexslider
_wizicon.php'
;
}
});
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