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
330ad6e2
Commit
330ad6e2
authored
Apr 23, 2012
by
Andy Hausmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added options and localizations.
parent
a53926c6
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
2 deletions
+28
-2
flexform.xml
Configuration/FlexForms/flexform.xml
+14
-2
setup.txt
Configuration/TypoScript/setup.txt
+4
-0
locallang.xml
Resources/Private/Language/locallang.xml
+4
-0
locallang_be.xml
Resources/Private/Language/locallang_be.xml
+2
-0
List.html
Resources/Private/Templates/FlexSlider/List.html
+4
-0
No files found.
Configuration/FlexForms/flexform.xml
View file @
330ad6e2
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
</label>
</label>
<config>
<config>
<type>
input
</type>
<type>
input
</type>
<size>
30
</size>
<size>
5
</size>
</config>
</config>
</TCEforms>
</TCEforms>
</settings.slideshowSpeed>
</settings.slideshowSpeed>
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
</label>
</label>
<config>
<config>
<type>
input
</type>
<type>
input
</type>
<size>
30
</size>
<size>
5
</size>
</config>
</config>
</TCEforms>
</TCEforms>
</settings.animationDuration>
</settings.animationDuration>
...
@@ -114,6 +114,18 @@
...
@@ -114,6 +114,18 @@
</TCEforms>
</TCEforms>
</settings.randomize>
</settings.randomize>
<settings.animationLoop>
<TCEforms>
<label>
LLL:EXT:flexslider/Resources/Private/Language/locallang_be.xml:flexforms_settings.animationLoop
</label>
<config>
<type>
check
</type>
<default>
1
</default>
</config>
</TCEforms>
</settings.animationLoop>
<settings.pauseOnHover>
<settings.pauseOnHover>
<TCEforms>
<TCEforms>
<label>
<label>
...
...
Configuration/TypoScript/setup.txt
View file @
330ad6e2
...
@@ -26,8 +26,12 @@ plugin.tx_flexslider {
...
@@ -26,8 +26,12 @@ plugin.tx_flexslider {
animationDuration = 600
animationDuration = 600
# Boolean: Create navigation for previous/next navigation? (true/false)
# Boolean: Create navigation for previous/next navigation? (true/false)
directionNav = true
directionNav = true
# Boolean: Create pause/play dynamic element
pausePlay = false
# Boolean: Randomize slide order
# Boolean: Randomize slide order
randomize = false
randomize = false
# Boolean: Should the animation loop? If false, directionNav will received "disable" classes at either end
animationLoop = true
# Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering
# Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering
pauseOnHover = false
pauseOnHover = false
}
}
...
...
Resources/Private/Language/locallang.xml
View file @
330ad6e2
...
@@ -15,10 +15,14 @@
...
@@ -15,10 +15,14 @@
<label
index=
"tx_flexslider_domain_model_flexslider.caption"
>
caption
</label>
<label
index=
"tx_flexslider_domain_model_flexslider.caption"
>
caption
</label>
<label
index=
"prevText"
>
Previous
</label>
<label
index=
"prevText"
>
Previous
</label>
<label
index=
"nextText"
>
Next
</label>
<label
index=
"nextText"
>
Next
</label>
<label
index=
"pauseText"
>
Pause
</label>
<label
index=
"playText"
>
Play
</label>
</languageKey>
</languageKey>
<languageKey
index=
"de"
type=
"array"
>
<languageKey
index=
"de"
type=
"array"
>
<label
index=
"prevText"
>
Zurück
</label>
<label
index=
"prevText"
>
Zurück
</label>
<label
index=
"nextText"
>
Weiter
</label>
<label
index=
"nextText"
>
Weiter
</label>
<label
index=
"pauseText"
>
Pause
</label>
<label
index=
"playText"
>
Abspielen
</label>
</languageKey>
</languageKey>
</data>
</data>
</T3locallang>
</T3locallang>
\ No newline at end of file
Resources/Private/Language/locallang_be.xml
View file @
330ad6e2
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
<label
index=
"flexforms_settings.animationDuration"
>
Animation duration (in ms), defaults to 600
</label>
<label
index=
"flexforms_settings.animationDuration"
>
Animation duration (in ms), defaults to 600
</label>
<label
index=
"flexforms_settings.directionNav"
>
Show direction navigation
</label>
<label
index=
"flexforms_settings.directionNav"
>
Show direction navigation
</label>
<label
index=
"flexforms_settings.randomize"
>
Randomize slide order
</label>
<label
index=
"flexforms_settings.randomize"
>
Randomize slide order
</label>
<label
index=
"flexforms_settings.animationLoop"
>
Loop animation
</label>
<label
index=
"flexforms_settings.pauseOnHover"
>
Pause the slideshow when hovering
</label>
<label
index=
"flexforms_settings.pauseOnHover"
>
Pause the slideshow when hovering
</label>
</languageKey>
</languageKey>
<languageKey
index=
"de"
type=
"array"
>
<languageKey
index=
"de"
type=
"array"
>
...
@@ -39,6 +40,7 @@
...
@@ -39,6 +40,7 @@
<label
index=
"flexforms_settings.animationDuration"
>
Animationsdauer (in ms), Standard: 600
</label>
<label
index=
"flexforms_settings.animationDuration"
>
Animationsdauer (in ms), Standard: 600
</label>
<label
index=
"flexforms_settings.directionNav"
>
Zeige Richtungs-Navigation
</label>
<label
index=
"flexforms_settings.directionNav"
>
Zeige Richtungs-Navigation
</label>
<label
index=
"flexforms_settings.randomize"
>
Sortierung nach Zufall
</label>
<label
index=
"flexforms_settings.randomize"
>
Sortierung nach Zufall
</label>
<label
index=
"flexforms_settings.animationLoop"
>
Slideshow wiederholen
</label>
<label
index=
"flexforms_settings.pauseOnHover"
>
Slideshow pasusiren bei Mouseover
</label>
<label
index=
"flexforms_settings.pauseOnHover"
>
Slideshow pasusiren bei Mouseover
</label>
</languageKey>
</languageKey>
</data>
</data>
...
...
Resources/Private/Templates/FlexSlider/List.html
View file @
330ad6e2
...
@@ -23,7 +23,11 @@ $(window).load(function() {
...
@@ -23,7 +23,11 @@ $(window).load(function() {
directionNav
:
<
f
:
if
condition
=
"{settings.directionNav} > 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>
,
prevText
:
"<f:translate key="
prevText
">vor</f:translate>"
,
prevText
:
"<f:translate key="
prevText
">vor</f:translate>"
,
nextText
:
"<f:translate key="
nextText
">weiter</f:translate>"
,
nextText
:
"<f:translate key="
nextText
">weiter</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
">vor</f:translate>"
,
//String: Set the text for the "pause" pausePlay item
playText
:
"<f:translate key="
playText
">vor</f:translate>"
,
//String: Set the text for the "play" pausePlay item
randomize
:
<
f
:
if
condition
=
"{settings.randomize} > 0"
><
f
:
then
>
true
<
/f:then><f:else>false</
f
:
else
><
/f:if>
,
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
>
pauseOnHover
:
<
f
:
if
condition
=
"{settings.pauseOnHover} > 0"
><
f
:
then
>
true
<
/f:then><f:else>false</
f
:
else
><
/f:if
>
<!
[
CDATA
[
<!
[
CDATA
[
});
});
...
...
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