Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 4 of 4

Thread: How do I include default content different from "hometopintro" in an alternate skin?

  1. #1
    TertiaryLocus is offline Junior Member
    Join Date
    Jul 2011
    Posts
    2

    Default How do I include default content different from "hometopintro" in an alternate skin?

    I have an alternate skin set up as a specialty store-within-a-store, that can be reached through an affiliate address. That works fine, but my problem is that I can't seem to get it to display an alternative to the "hometopintro" topic that my main skin shows. I don't want to change hometopintro, because my main skin needs it.

    In page.default.xml.config, I added the lines

    <xsl:if test="skinid=4">
    <xsl:value-of select="aspdnsf:topic('specialstore')" disable-output-escaping="yes"/>
    </xsl:if>

    thinking that would do the trick, but it's not. How do I configure the config file to get this skin to pull an alternative to hometopintro?

  2. #2
    mikemurphy is offline Senior Member
    Join Date
    Mar 2006
    Location
    United Kingdom
    Posts
    207

    Default

    8.0.1.4 W2008R2 64-bit MSSQL2005

  3. #3
    ROBB is offline Senior Member
    Join Date
    Jun 2011
    Location
    United States
    Posts
    107

    Default Alternate Skin - Alternate Topic

    @TertiaryLocus

    Try this code instead:

    Code:
     <xsl:if test="/root/System/SkinID = 4">
              <xsl:value-of select="aspdnsf:Topic('specialstore')" disable-output-escaping="yes"/>
            </xsl:if>

  4. #4
    TertiaryLocus is offline Junior Member
    Join Date
    Jul 2011
    Posts
    2

    Default

    Thanks to both of you! I'll get right on it.