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 { ...@@ -11,4 +11,14 @@ plugin.tx_flexslider {
# cat=plugin.tx_flexslider//a; type=string; label=Default storage PID # cat=plugin.tx_flexslider//a; type=string; label=Default storage PID
storagePid = 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 { ...@@ -8,6 +8,11 @@ plugin.tx_flexslider {
storagePid = {$plugin.tx_flexslider.persistence.storagePid} storagePid = {$plugin.tx_flexslider.persistence.storagePid}
} }
settings { 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" # String: Select your animation type, "fade" or "slide"
animation = fade animation = fade
# String: Select the sliding direction, "horizontal" or "vertical" # String: Select the sliding direction, "horizontal" or "vertical"
......
{namespace fs=Tx_Flexslider_ViewHelpers}
<f:layout name="Default" /> <f:layout name="Default" />
<f:section name="main"> <f:section name="main">
<f:flashMessages /> <f:flashMessages />
<fs:AddJQuery altJQueryFile="{settings.lib.jQuery}" />
<fs:AddFile file="{settings.lib.flexslider}" />
<fs:AddFile file="{settings.css}" />
<script type="text/javascript"> <script type="text/javascript">
<![CDATA[ <![CDATA[
$(window).load(function() { $(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