Skip to content
Browse files

Layout edits

  • Loading branch information...
1 parent f12a2ed commit 3d9d1b35942078a1baeb4a237d7f5be9ed4a5922 @antonydoyle committed Oct 2, 2012
Showing with 442 additions and 234 deletions.
  1. +6 −1 README.md
  2. +1 −0 framework.php
  3. +6 −199 index.php
  4. +44 −33 js/app.js
  5. +2 −1 language/en-GB/en-GB.tpl_siegeengine.ini
  6. +202 −0 layouts/default.php
  7. +180 −0 layouts/fullWidth.php
  8. 0 layouts/index.html
  9. +1 −0 templateDetails.xml
View
7 README.md
@@ -25,4 +25,9 @@
<li>Added template width override</li>
<li>Fixed a menu issue causing problems on 3.0</li>
</ul>
-<p>Some features are still untested on 3.0, so please use with caution and take backups! </p>
+<p>Some features are still untested on 3.0, so please use with caution and take backups! </p>
+<h5>Updated - 02/10/12</h5>
+<p>Updated Foundation core files.</p>
+<p>Few styling fixes.</p>
+<p>Added a layout selector & full width layout. You can now create your own, drop them in the layouts folder and pick them from the template admin.</p>
+
View
1 framework.php
@@ -24,6 +24,7 @@
$unAlerts = $this->params->get('unAlerts');
$minFound = $this->params->get('minFound');
$setWidth = $this->params->get('setWidth');
+$templateLayout = $this->params->get('layout');
$pageTitle = $this->getTitle();
$option = JRequest::getCmd('option');
View
205 index.php
@@ -40,205 +40,12 @@
})();
</script>
</head>
-<body>
-
-<!--Logo / Nav Row -->
- <div class="row">
- <div class="three columns">
- <?php if ($logoUp > 0) { ?>
- <a href="<?php echo $this->baseurl ?>" alt="<?php echo $sitename ?>" title="<?php echo $sitename ?>">
- <img src="<?php echo $custLogo ?>" alt="<?php echo $sitename ?>" title="<?php echo $sitename ?>" />
- </a>
-
- <?php } else { ?>
- <jdoc:include type="modules" name="logo" style="html5" />
- <?php }; ?>
- </div>
- <?php if ($menu > 0) : ?>
- <nav class="nine columns">
- <jdoc:include type="modules" name="menu" style="html5" />
- </nav>
- <?php endif; ?>
- </div>
-
-<!--Orbit Row -->
- <div class="row">
- <?php if ($orbit > 0) : ?>
- <div class="twelve columns" id="orbit">
- <jdoc:include type="modules" name="orbit" style="raw" />
- </div>
- <?php endif; ?>
- </div>
-
-<!--Slideshow Row -->
- <div class="row">
- <?php if ($slideshow > 0) : ?>
- <div class="twelve columns">
- <jdoc:include type="modules" name="slideshow" style="html5" />
- </div>
- <?php endif; ?>
- </div>
-
- <!--Top Row -->
- <div class="row">
- <?php if ($top1 > 0) : ?>
- <div class="<?php echo $topWidth ?>">
- <jdoc:include type="modules" name="top1" style="html5" />
- </div>
- <?php endif; ?>
- <?php if ($top2 > 0) : ?>
- <div class="<?php echo $topWidth ?>">
- <jdoc:include type="modules" name="top2" style="html5" />
- </div>
- <?php endif; ?>
- <?php if ($top3 > 0) : ?>
- <div class="<?php echo $topWidth ?>">
- <jdoc:include type="modules" name="top3" style="html5" />
- </div>
- <?php endif; ?>
- </div>
-
-<!--MAIN Row -->
- <div class="row">
-
- <?php if ($left > 0) : ?>
- <div class="<?php echo htmlspecialchars($leftWidth); ?> ">
- <jdoc:include type="modules" name="left" style="html5" />
- </div>
- <?php endif; ?>
-
- <div class="<?php echo htmlspecialchars($mainWidth); ?>">
- <?php if ($above1 > 0) : ?>
- <div class="<?php echo $aboveWidth ?>">
- <jdoc:include type="modules" name="above1" style="html5" />
- </div>
- <?php endif; ?>
- <?php if ($above2 > 0) : ?>
- <div class="<?php echo $aboveWidth ?>">
- <jdoc:include type="modules" name="above2" style="html5" />
- </div>
- <?php endif; ?>
- <?php if ($above3 > 0) : ?>
- <div class="<?php echo $aboveWidth ?>">
- <jdoc:include type="modules" name="above3" style="html5" />
- </div>
- <?php endif; ?>
-
- <jdoc:include type="message" />
- <jdoc:include type="component" />
-
- <?php if ($below1 > 0) : ?>
- <div class="<?php echo $belowWidth ?>">
- <jdoc:include type="modules" name="below1" style="html5" />
- </div>
- <?php endif; ?>
- <?php if ($below2 > 0) : ?>
- <div class="<?php echo $belowWidth ?>">
- <jdoc:include type="modules" name="below2" style="html5" />
- </div>
- <?php endif; ?>
- <?php if ($below3 > 0) : ?>
- <div class="<?php echo $belowWidth ?>">
- <jdoc:include type="modules" name="below3" style="html5" />
- </div>
- <?php endif; ?>
- </div>
-
- <?php if ($right > 0) : ?>
- <div class="<?php echo htmlspecialchars($rightWidth); ?> ">
- <jdoc:include type="modules" name="right" style="html5" />
- </div>
- <?php endif; ?>
- </div>
-
-<!--Bottom Row -->
- <div class="row">
- <?php if ($bottom1 > 0) : ?>
- <div class="<?php echo $bottomWidth ?>">
- <jdoc:include type="modules" name="bottom1" style="html5" />
- </div>
- <?php endif; ?>
- <?php if ($bottom2 > 0) : ?>
- <div class="<?php echo $bottomWidth ?>">
- <jdoc:include type="modules" name="bottom2" style="html5" />
- </div>
- <?php endif; ?>
- <?php if ($bottom3 > 0) : ?>
- <div class="<?php echo $bottomWidth ?>">
- <jdoc:include type="modules" name="bottom3" style="html5" />
- </div>
- <?php endif; ?>
- </div>
-
-<!--FooterTop Row -->
- <div class="row">
- <?php if ($footerTop1 > 0) : ?>
- <div class="<?php echo $footerTopWidth ?>">
- <jdoc:include type="modules" name="footerTop1" style="html5" />
- </div>
- <?php endif; ?>
- <?php if ($footerTop2 > 0) : ?>
- <div class="<?php echo $footerTopWidth ?>">
- <jdoc:include type="modules" name="footerTop2" style="html5" />
- </div>
- <?php endif; ?>
- <?php if ($footerTop3 > 0) : ?>
- <div class="<?php echo $footerTopWidth ?>">
- <jdoc:include type="modules" name="footerTop3" style="html5" />
- </div>
- <?php endif; ?>
- <?php if ($footerTop4 > 0) : ?>
- <div class="<?php echo $footerTopWidth ?>">
- <jdoc:include type="modules" name="footerTop4" style="html5" />
- </div>
- <?php endif; ?>
- </div>
-<!--Footer Row -->
- <div class="row">
- <?php if ($footer1 > 0) : ?>
- <div class="<?php echo $footerWidth ?>">
- <jdoc:include type="modules" name="footer1" style="html5" />
- </div>
- <?php endif; ?>
- <?php if ($footer2 > 0) : ?>
- <div class="<?php echo $footerWidth ?>">
- <jdoc:include type="modules" name="footer2" style="html5" />
- </div>
- <?php endif; ?>
- <?php if ($footer3 > 0) : ?>
- <div class="<?php echo $footerWidth ?>">
- <jdoc:include type="modules" name="footer3" style="html5" />
- </div>
- <?php endif; ?>
- </div>
-
- <!-- Initialize JS Plugins -->
- <script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/app.js"></script>
-
-<?php if ($orbit > 0) : ?>
- <script type="text/javascript">
- $(window).load(function() {
- $('#orbit').orbit({
- animation: 'fade', // fade, horizontal-slide, vertical-slide, horizontal-push
- animationSpeed: 800, // how fast animtions are
- timer: true, // true or false to have the timer
- resetTimerOnClick: false, // true resets the timer instead of pausing slideshow progress
- advanceSpeed: 4000, // if timer is enabled, time between transitions
- pauseOnHover: false, // if you hover pauses the slider
- startClockOnMouseOut: false, // if clock should start on MouseOut
- startClockOnMouseOutAfter: 1000, // how long after MouseOut should the timer start again
- directionalNav: true, // manual advancing directional navs
- captions: true, // do you want captions?
- captionAnimation: 'fade', // fade, slideOpen, none
- captionAnimationSpeed: 800, // if so how quickly should they animate in
- bullets: false, // true or false to activate the bullet navigation
- bulletThumbs: false, // thumbnails for the bullets
- bulletThumbLocation: '', // location from this file where thumbs will be
- afterSlideChange: function(){}, // empty function
- fluid: true // or set a aspect ratio for content slides (ex: '4x3')
- });
- </script>
-<?php endif; ?>
+<body>
+<?php
+// Load template layout
+include_once JPATH_THEMES . '/' . $this->template . '/layouts/'.$templateLayout.'';
+?>
</body>
+
</html>
View
77 js/app.js
@@ -1,35 +1,46 @@
-(function($){
- $(function(){
-
- $(document).foundationAlerts();
- $(document).foundationAccordion();
- $(document).tooltips();
- $('input, textarea').placeholder();
-
-
-
- $(document).foundationButtons();
-
-
-
- $(document).foundationNavigation();
-
-
-
- $(document).foundationCustomForms();
-
-
-
-
- $(document).foundationTabs({callback:$.foundation.customForms.appendCustomMarkup});
-
+;(function ($, window, undefined) {
+ 'use strict';
+
+ var $doc = $(document),
+ Modernizr = window.Modernizr;
+
+
+ $.fn.foundationAlerts ? $doc.foundationAlerts() : null;
+ $.fn.foundationAccordion ? $doc.foundationAccordion() : null;
+ $.fn.foundationTooltips ? $doc.foundationTooltips() : null;
+ $('input, textarea').placeholder();
+
+
+ $.fn.foundationButtons ? $doc.foundationButtons() : null;
+
+
+ $.fn.foundationNavigation ? $doc.foundationNavigation() : null;
+
+
+ $.fn.foundationTopBar ? $doc.foundationTopBar() : null;
+
+ $.fn.foundationCustomForms ? $doc.foundationCustomForms() : null;
+ $.fn.foundationMediaQueryViewer ? $doc.foundationMediaQueryViewer() : null;
+
+ $.fn.foundationTabs ? $doc.foundationTabs() : null;
- // UNCOMMENT THE LINE YOU WANT BELOW IF YOU WANT IE8 SUPPORT AND ARE USING .block-grids
- // $('.block-grid.two-up>li:nth-child(2n+1)').css({clear: 'left'});
- // $('.block-grid.three-up>li:nth-child(3n+1)').css({clear: 'left'});
- // $('.block-grid.four-up>li:nth-child(4n+1)').css({clear: 'left'});
- // $('.block-grid.five-up>li:nth-child(5n+1)').css({clear: 'left'});
- });
-
-})(jQuery);
+
+
+
+ // UNCOMMENT THE LINE YOU WANT BELOW IF YOU WANT IE8 SUPPORT AND ARE USING .block-grids
+ // $('.block-grid.two-up>li:nth-child(2n+1)').css({clear: 'both'});
+ // $('.block-grid.three-up>li:nth-child(3n+1)').css({clear: 'both'});
+ // $('.block-grid.four-up>li:nth-child(4n+1)').css({clear: 'both'});
+ // $('.block-grid.five-up>li:nth-child(5n+1)').css({clear: 'both'});
+
+ // Hide address bar on mobile devices
+ if (Modernizr.touch) {
+ $(window).load(function () {
+ setTimeout(function () {
+ window.scrollTo(0, 1);
+ }, 0);
+ });
+ }
+
+})(jQuery, this);
View
3 language/en-GB/en-GB.tpl_siegeengine.ini
@@ -184,7 +184,8 @@ TPL_SETTINGS_FOUNDATION_ALL_NO="No"
TPL_SETTINGS_SETWIDTH_LABEL="Template Width"
TPL_SETTINGS_SETWIDTH_DESC="Specify the template width in px. Leave blank for default value (1440px)"
-
+TPL_SETTINGS_LAYOUT_LABEL="Choose Layout"
+TPL_SETTINGS_LAYOUT_DESC="Choose template layout. You can create your own using default.php as a basis and place the file in the 'layouts' in the template folder."
View
202 layouts/default.php
@@ -0,0 +1,202 @@
+
+
+<!--Logo / Nav Row -->
+ <div class="row">
+ <div class="three columns">
+ <?php if ($logoUp > 0) { ?>
+ <a href="<?php echo $this->baseurl ?>" alt="<?php echo $sitename ?>" title="<?php echo $sitename ?>">
+ <img src="<?php echo $custLogo ?>" alt="<?php echo $sitename ?>" title="<?php echo $sitename ?>" />
+ </a>
+
+ <?php } else { ?>
+ <jdoc:include type="modules" name="logo" style="html5" />
+ <?php }; ?>
+ </div>
+ <?php if ($menu > 0) : ?>
+ <nav class="nine columns">
+ <jdoc:include type="modules" name="menu" style="html5" />
+ </nav>
+ <?php endif; ?>
+ </div>
+
+<!--Orbit Row -->
+ <div class="row">
+ <?php if ($orbit > 0) : ?>
+ <div class="twelve columns" id="orbit">
+ <jdoc:include type="modules" name="orbit" style="raw" />
+ </div>
+ <?php endif; ?>
+ </div>
+
+<!--Slideshow Row -->
+ <div class="row">
+ <?php if ($slideshow > 0) : ?>
+ <div class="twelve columns">
+ <jdoc:include type="modules" name="slideshow" style="html5" />
+ </div>
+ <?php endif; ?>
+ </div>
+
+ <!--Top Row -->
+ <div class="row">
+ <?php if ($top1 > 0) : ?>
+ <div class="<?php echo $topWidth ?>">
+ <jdoc:include type="modules" name="top1" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($top2 > 0) : ?>
+ <div class="<?php echo $topWidth ?>">
+ <jdoc:include type="modules" name="top2" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($top3 > 0) : ?>
+ <div class="<?php echo $topWidth ?>">
+ <jdoc:include type="modules" name="top3" style="html5" />
+ </div>
+ <?php endif; ?>
+ </div>
+
+<!--MAIN Row -->
+ <div class="row">
+
+ <?php if ($left > 0) : ?>
+ <div class="<?php echo htmlspecialchars($leftWidth); ?> ">
+ <jdoc:include type="modules" name="left" style="html5" />
+ </div>
+ <?php endif; ?>
+
+ <div class="<?php echo htmlspecialchars($mainWidth); ?>">
+ <?php if ($above1 > 0) : ?>
+ <div class="<?php echo $aboveWidth ?>">
+ <jdoc:include type="modules" name="above1" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($above2 > 0) : ?>
+ <div class="<?php echo $aboveWidth ?>">
+ <jdoc:include type="modules" name="above2" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($above3 > 0) : ?>
+ <div class="<?php echo $aboveWidth ?>">
+ <jdoc:include type="modules" name="above3" style="html5" />
+ </div>
+ <?php endif; ?>
+
+ <jdoc:include type="message" />
+ <jdoc:include type="component" />
+
+ <?php if ($below1 > 0) : ?>
+ <div class="<?php echo $belowWidth ?>">
+ <jdoc:include type="modules" name="below1" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($below2 > 0) : ?>
+ <div class="<?php echo $belowWidth ?>">
+ <jdoc:include type="modules" name="below2" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($below3 > 0) : ?>
+ <div class="<?php echo $belowWidth ?>">
+ <jdoc:include type="modules" name="below3" style="html5" />
+ </div>
+ <?php endif; ?>
+ </div>
+
+ <?php if ($right > 0) : ?>
+ <div class="<?php echo htmlspecialchars($rightWidth); ?> ">
+ <jdoc:include type="modules" name="right" style="html5" />
+ </div>
+ <?php endif; ?>
+ </div>
+
+<!--Bottom Row -->
+ <div class="row">
+ <?php if ($bottom1 > 0) : ?>
+ <div class="<?php echo $bottomWidth ?>">
+ <jdoc:include type="modules" name="bottom1" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($bottom2 > 0) : ?>
+ <div class="<?php echo $bottomWidth ?>">
+ <jdoc:include type="modules" name="bottom2" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($bottom3 > 0) : ?>
+ <div class="<?php echo $bottomWidth ?>">
+ <jdoc:include type="modules" name="bottom3" style="html5" />
+ </div>
+ <?php endif; ?>
+ </div>
+
+<!--FooterTop Row -->
+ <div class="row">
+ <?php if ($footerTop1 > 0) : ?>
+ <div class="<?php echo $footerTopWidth ?>">
+ <jdoc:include type="modules" name="footerTop1" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($footerTop2 > 0) : ?>
+ <div class="<?php echo $footerTopWidth ?>">
+ <jdoc:include type="modules" name="footerTop2" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($footerTop3 > 0) : ?>
+ <div class="<?php echo $footerTopWidth ?>">
+ <jdoc:include type="modules" name="footerTop3" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($footerTop4 > 0) : ?>
+ <div class="<?php echo $footerTopWidth ?>">
+ <jdoc:include type="modules" name="footerTop4" style="html5" />
+ </div>
+ <?php endif; ?>
+ </div>
+
+<!--Footer Row -->
+ <div class="row">
+ <?php if ($footer1 > 0) : ?>
+ <div class="<?php echo $footerWidth ?>">
+ <jdoc:include type="modules" name="footer1" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($footer2 > 0) : ?>
+ <div class="<?php echo $footerWidth ?>">
+ <jdoc:include type="modules" name="footer2" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($footer3 > 0) : ?>
+ <div class="<?php echo $footerWidth ?>">
+ <jdoc:include type="modules" name="footer3" style="html5" />
+ </div>
+ <?php endif; ?>
+ </div>
+
+
+ <!-- Initialize JS Plugins -->
+ <script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/app.js"></script>
+<?php if ($orbit > 0) : ?>
+ <script type="text/javascript">
+ $(window).load(function() {
+ $('#orbit').orbit({
+ animation: 'fade', // fade, horizontal-slide, vertical-slide, horizontal-push
+ animationSpeed: 800, // how fast animtions are
+ timer: true, // true or false to have the timer
+ resetTimerOnClick: false, // true resets the timer instead of pausing slideshow progress
+ advanceSpeed: 4000, // if timer is enabled, time between transitions
+ pauseOnHover: false, // if you hover pauses the slider
+ startClockOnMouseOut: false, // if clock should start on MouseOut
+ startClockOnMouseOutAfter: 1000, // how long after MouseOut should the timer start again
+ directionalNav: true, // manual advancing directional navs
+ captions: true, // do you want captions?
+ captionAnimation: 'fade', // fade, slideOpen, none
+ captionAnimationSpeed: 800, // if so how quickly should they animate in
+ bullets: false, // true or false to activate the bullet navigation
+ bulletThumbs: false, // thumbnails for the bullets
+ bulletThumbLocation: '', // location from this file where thumbs will be
+ afterSlideChange: function(){}, // empty function
+ fluid: true // or set a aspect ratio for content slides (ex: '4x3')
+ });
+ </script>
+<?php endif; ?>
+
+
View
180 layouts/fullWidth.php
@@ -0,0 +1,180 @@
+
+<!--Logo / Nav Row -->
+ <div class="three columns">
+ <?php if ($logoUp > 0) { ?>
+ <a href="<?php echo $this->baseurl ?>" alt="<?php echo $sitename ?>" title="<?php echo $sitename ?>">
+ <img src="<?php echo $custLogo ?>" alt="<?php echo $sitename ?>" title="<?php echo $sitename ?>" />
+ </a>
+
+ <?php } else { ?>
+ <jdoc:include type="modules" name="logo" style="html5" />
+ <?php }; ?>
+ </div>
+ <?php if ($menu > 0) : ?>
+ <nav class="nine columns">
+ <jdoc:include type="modules" name="menu" style="html5" />
+ </nav>
+ <?php endif; ?>
+ <!--Orbit Row -->
+ <?php if ($orbit > 0) : ?>
+ <div class="twelve columns" id="orbit">
+ <jdoc:include type="modules" name="orbit" style="raw" />
+ </div>
+ <?php endif; ?>
+
+<!--Slideshow Row -->
+ <?php if ($slideshow > 0) : ?>
+ <div class="twelve columns">
+ <jdoc:include type="modules" name="slideshow" style="html5" />
+ </div>
+ <?php endif; ?>
+
+ <!--Top Row -->
+ <?php if ($top1 > 0) : ?>
+ <div class="<?php echo $topWidth ?>">
+ <jdoc:include type="modules" name="top1" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($top2 > 0) : ?>
+ <div class="<?php echo $topWidth ?>">
+ <jdoc:include type="modules" name="top2" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($top3 > 0) : ?>
+ <div class="<?php echo $topWidth ?>">
+ <jdoc:include type="modules" name="top3" style="html5" />
+ </div>
+ <?php endif; ?>
+
+<!--MAIN Row -->
+
+ <?php if ($left > 0) : ?>
+ <div class="<?php echo htmlspecialchars($leftWidth); ?> ">
+ <jdoc:include type="modules" name="left" style="html5" />
+ </div>
+ <?php endif; ?>
+
+ <div class="<?php echo htmlspecialchars($mainWidth); ?>">
+ <?php if ($above1 > 0) : ?>
+ <div class="<?php echo $aboveWidth ?>">
+ <jdoc:include type="modules" name="above1" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($above2 > 0) : ?>
+ <div class="<?php echo $aboveWidth ?>">
+ <jdoc:include type="modules" name="above2" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($above3 > 0) : ?>
+ <div class="<?php echo $aboveWidth ?>">
+ <jdoc:include type="modules" name="above3" style="html5" />
+ </div>
+ <?php endif; ?>
+
+ <jdoc:include type="message" />
+ <jdoc:include type="component" />
+
+ <?php if ($below1 > 0) : ?>
+ <div class="<?php echo $belowWidth ?>">
+ <jdoc:include type="modules" name="below1" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($below2 > 0) : ?>
+ <div class="<?php echo $belowWidth ?>">
+ <jdoc:include type="modules" name="below2" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($below3 > 0) : ?>
+ <div class="<?php echo $belowWidth ?>">
+ <jdoc:include type="modules" name="below3" style="html5" />
+ </div>
+ <?php endif; ?>
+ </div>
+
+ <?php if ($right > 0) : ?>
+ <div class="<?php echo htmlspecialchars($rightWidth); ?> ">
+ <jdoc:include type="modules" name="right" style="html5" />
+ </div>
+ <?php endif; ?>
+
+<!--Bottom Row -->
+ <?php if ($bottom1 > 0) : ?>
+ <div class="<?php echo $bottomWidth ?>">
+ <jdoc:include type="modules" name="bottom1" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($bottom2 > 0) : ?>
+ <div class="<?php echo $bottomWidth ?>">
+ <jdoc:include type="modules" name="bottom2" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($bottom3 > 0) : ?>
+ <div class="<?php echo $bottomWidth ?>">
+ <jdoc:include type="modules" name="bottom3" style="html5" />
+ </div>
+ <?php endif; ?>
+
+<!--FooterTop Row -->
+ <?php if ($footerTop1 > 0) : ?>
+ <div class="<?php echo $footerTopWidth ?>">
+ <jdoc:include type="modules" name="footerTop1" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($footerTop2 > 0) : ?>
+ <div class="<?php echo $footerTopWidth ?>">
+ <jdoc:include type="modules" name="footerTop2" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($footerTop3 > 0) : ?>
+ <div class="<?php echo $footerTopWidth ?>">
+ <jdoc:include type="modules" name="footerTop3" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($footerTop4 > 0) : ?>
+ <div class="<?php echo $footerTopWidth ?>">
+ <jdoc:include type="modules" name="footerTop4" style="html5" />
+ </div>
+ <?php endif; ?>
+
+<!--Footer Row -->
+ <?php if ($footer1 > 0) : ?>
+ <div class="<?php echo $footerWidth ?>">
+ <jdoc:include type="modules" name="footer1" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($footer2 > 0) : ?>
+ <div class="<?php echo $footerWidth ?>">
+ <jdoc:include type="modules" name="footer2" style="html5" />
+ </div>
+ <?php endif; ?>
+ <?php if ($footer3 > 0) : ?>
+ <div class="<?php echo $footerWidth ?>">
+ <jdoc:include type="modules" name="footer3" style="html5" />
+ </div>
+ <?php endif; ?>
+ <!-- Initialize JS Plugins -->
+ <script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/app.js"></script>
+<?php if ($orbit > 0) : ?>
+ <script type="text/javascript">
+ $(window).load(function() {
+ $('#orbit').orbit({
+ animation: 'fade', // fade, horizontal-slide, vertical-slide, horizontal-push
+ animationSpeed: 800, // how fast animtions are
+ timer: true, // true or false to have the timer
+ resetTimerOnClick: false, // true resets the timer instead of pausing slideshow progress
+ advanceSpeed: 4000, // if timer is enabled, time between transitions
+ pauseOnHover: false, // if you hover pauses the slider
+ startClockOnMouseOut: false, // if clock should start on MouseOut
+ startClockOnMouseOutAfter: 1000, // how long after MouseOut should the timer start again
+ directionalNav: true, // manual advancing directional navs
+ captions: true, // do you want captions?
+ captionAnimation: 'fade', // fade, slideOpen, none
+ captionAnimationSpeed: 800, // if so how quickly should they animate in
+ bullets: false, // true or false to activate the bullet navigation
+ bulletThumbs: false, // thumbnails for the bullets
+ bulletThumbLocation: '', // location from this file where thumbs will be
+ afterSlideChange: function(){}, // empty function
+ fluid: true // or set a aspect ratio for content slides (ex: '4x3')
+ });
+ </script>
+<?php endif; ?>
View
0 layouts/index.html
No changes.
View
1 templateDetails.xml
@@ -73,6 +73,7 @@
<field name="analytics" type="text" default="UA-XXXXX-X" label="TPL_SETTINGS_ANALYTICS_LABEL" description="TPL_SETTINGS_ANALYTICS_DESC" size="15" />
<field name="menuModTitle" type="text" default="MenuModule" label="TPL_SETTINGS_MENUMODULE_LABEL" description="TPL_SETTINGS_MENUMODULE_DESC" size="15" />
<field name="customCSS" type="filelist" default="" label="TPL_SETTINGS_CUSTOM_CSS_LABEL" description="TPL_SETTINGS_CUSTOM_CSS_DESC" directory="templates/siegeengine/css/" filter="" exclude="foundation\.css|templateCore\.css|index\.html" stripext="" />
+ <field name="layout" type="filelist" default="default.php" label="TPL_SETTINGS_LAYOUT_LABEL" description="TPL_SETTINGS_LAYOUT_DESC" directory="templates/siegeengine/layouts/" filter="" exclude="index\.html" stripext="" />
<field name="logoUp" type="radio" default="1" label="TPL_SETTINGS_LOGO_SELECT_LABEL" description="TPL_SETTINGS_LOGO_SELECT_DESC">
<option value="1">TPL_SETTINGS_LOGO_SELECT_UP</option>
<option value="0">TPL_SETTINGS_LOGO_SELECT_MOD</option>

0 comments on commit 3d9d1b3

Please sign in to comment.
Something went wrong with that request. Please try again.