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
f1c85cb5
Commit
f1c85cb5
authored
Apr 20, 2012
by
Andy Hausmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added new options for the Page Rendering: jQuery, JS and CSS.
parent
7c07d4f4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
constants.txt
Configuration/TypoScript/constants.txt
+10
-0
setup.txt
Configuration/TypoScript/setup.txt
+5
-0
List.html
Resources/Private/Templates/FlexSlider/List.html
+6
-0
No files found.
Configuration/TypoScript/constants.txt
View file @
f1c85cb5
...
...
@@ -11,4 +11,14 @@ plugin.tx_flexslider {
# cat=plugin.tx_flexslider//a; type=string; label=Default storage PID
storagePid =
}
settings {
# String: File reference to the FlexSlider's Css file - empty this value if you want to include this at your own
css = EXT:flexslider/Resources/Public/Css/flexslider.css
lib {
# String: File reference to alternative jQuery library if EXT t3jquery is not in use
jQuery = EXT:flexslider/Resources/Public/Js/jquery-min.js
# String: File reference to flexslider library
flexslider = EXT:flexslider/Resources/Public/Js/jquery.flexslider-min.js
}
}
}
\ No newline at end of file
Configuration/TypoScript/setup.txt
View file @
f1c85cb5
...
...
@@ -8,6 +8,11 @@ plugin.tx_flexslider {
storagePid = {$plugin.tx_flexslider.persistence.storagePid}
}
settings {
css = {$plugin.tx_flexslider.settings.css}
lib {
jQuery = {$plugin.tx_flexslider.settings.lib.jQuery}
flexslider = {$plugin.tx_flexslider.settings.lib.flexslider}
}
# String: Select your animation type, "fade" or "slide"
animation = fade
# String: Select the sliding direction, "horizontal" or "vertical"
...
...
Resources/Private/Templates/FlexSlider/List.html
View file @
f1c85cb5
{namespace fs=Tx_Flexslider_ViewHelpers}
<f:layout
name=
"Default"
/>
<f:section
name=
"main"
>
<f:flashMessages
/>
<fs:AddJQuery
altJQueryFile=
"{settings.lib.jQuery}"
/>
<fs:AddFile
file=
"{settings.lib.flexslider}"
/>
<fs:AddFile
file=
"{settings.css}"
/>
<script
type=
"text/javascript"
>
<!
[
CDATA
[
$
(
window
).
load
(
function
()
{
...
...
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