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

Thread: Medium Category Image

  1. #1
    MTuttle is offline Junior Member
    Join Date
    Oct 2012
    Posts
    26

    Default Medium Category Image

    Ok, so I'm running into another quirk in ASF, which is the medium category images displaying on the category pages: https://www.davidscottco.com/c-271-p...stick-gel.aspx

    If I delete them, they go away, but I'd prefer to just change a setting or an xmlpackage to remove that by default.

    Any thoughts?

  2. #2
    MTuttle is offline Junior Member
    Join Date
    Oct 2012
    Posts
    26

    Default Anyone?

    Is anyone familiar with the medium image setting on the category pages?

  3. #3
    GoVedia is offline Member
    Join Date
    Oct 2012
    Location
    Orange, CA
    Posts
    98

    Default Category Description Without Image

    @MTuttle,

    If you only want to keep the/category description, you will want to modify your XML Package.

    Find the following code in the entity XML Package you are using:
    Code:
    <xsl:value-of select="aspdnsf:EntityPageHeaderDescription($EntityName, $EntityID)" disable-output-escaping="yes" />
    This code is responsible for returning the category image and description. Simply replace the code with the description. Something like this:
    Code:
    <xsl:value-of select="/root/EntityHelpers/Category/Entity[EntityID=$EntityID]/Description" disable-output-escaping="yes"/>
    Let me know if that works out for you!
    Robert
    Robert Kanaan
    AspDotNetStorefront Development Partner
    robert@GoVedia.com
    408-758-8845

    GoVedia
    http://GoVedia.com
    Approved AspDotNetStorefront Development Partner
    AspDotNetStorefront Recommended Reseller

  4. #4
    MTuttle is offline Junior Member
    Join Date
    Oct 2012
    Posts
    26

    Default Awesome!

    Just what I was looking for!

    Thanks,
    Matt

  5. #5
    GoVedia is offline Member
    Join Date
    Oct 2012
    Location
    Orange, CA
    Posts
    98

    Default Awesome!

    Great Glad that worked out for you.
    Robert Kanaan
    AspDotNetStorefront Development Partner
    robert@GoVedia.com
    408-758-8845

    GoVedia
    http://GoVedia.com
    Approved AspDotNetStorefront Development Partner
    AspDotNetStorefront Recommended Reseller