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 3 of 3

Thread: DoNotShowNewsOnHomePage set to TRUE but still showing

  1. #1
    3DUInc is offline Junior Member
    Join Date
    Sep 2009
    Location
    Seattle
    Posts
    19

    Default DoNotShowNewsOnHomePage set to TRUE but still showing

    Hi

    I set the appconfig DoNotShowNewsOnHomePage to TRUE which means it should not be showing on the homepageintro page, however it is still showing up. How do I make this stop showing on the homepageintro page please?

    Thank you very much

    Tamela
    3D Unforgettables, Inc.
    http://www.3dunforgettables.com/
    ...texturing with lasting memories


    Be Good, Be Happy, Be Kind, and Be Positive...Donate to those that are less fortunate then you.

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    Open up your page.default.xml.config file located in XMLPackages folder.

    From:
    Code:
    <xsl:value-of select="aspdnsf:XmlPackage('news.xml.config')" disable-output-escaping="yes"/>
    Change it to:
    Code:
    <xsl:if test="aspdnsf:AppConfig('DoNotShowNewsOnHomePage') = 'false'">
               <xsl:value-of select="aspdnsf:XmlPackage('news.xml.config')" disable-output-escaping="yes"/>	 
    </xsl:if>

  3. #3
    3DUInc is offline Junior Member
    Join Date
    Sep 2009
    Location
    Seattle
    Posts
    19

    Default

    Alfred

    Thank you so very much. I was going crazy trying to figure out how to make News get off my front page.

    Much appreciated. Have a good night.

    Tamela
    3D Unforgettables, Inc.
    http://www.3dunforgettables.com/
    ...texturing with lasting memories


    Be Good, Be Happy, Be Kind, and Be Positive...Donate to those that are less fortunate then you.