Changeset 28618 for documentation/trunk


Ignore:
Timestamp:
2013-11-13T09:02:01+13:00 (10 years ago)
Author:
jlwhisler
Message:

Added an if statement to check whether any collections have homepage images before adding in the image slider.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentation/trunk/tutorial_sample_files/libraries/althor/transform/pages/home.xsl

    r28599 r28618  
    1111    <xsl:template match="/page/pageResponse">
    1212                <!-- SLIDER -->
     13        <xsl:if test="collectionList/collection/displayItem[@name='smallicon']">
    1314        <div class="slider-wrapper theme-default theme-project theme-home">
    1415            <div class="ribbon"><xsl:text> </xsl:text></div>
     16           
    1517            <div id="slider" class="nivoSlider">
    1618                <xsl:call-template name="collSlider"/>
    1719            </div>
     20           
    1821        </div>
    1922        <!-- ENDS SLIDER -->
    20    
     23    </xsl:if>
    2124                <!-- headline -->
    2225        <div class="headline">Select a collection to explore!</div>
Note: See TracChangeset for help on using the changeset viewer.