Commit f1c85cb5 authored by Andy Hausmann's avatar Andy Hausmann

Added new options for the Page Rendering: jQuery, JS and CSS.

parent 7c07d4f4
......@@ -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
......@@ -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"
......
{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() {
......
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