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

Thread: Where is the REAL manual about XML Packages?

  1. #1
    some_yahoo is offline Junior Member
    Join Date
    Aug 2010
    Posts
    6

    Default Where is the REAL manual about XML Packages?

    I am trying to copy functionality from the simple product template to my own. The code in the aspndsf template looks like this:

    Code:
    <xsl:value-of select="aspdnsf:ProductNavLinks(ProductID, /root/Runtime/EntityID, /root/Runtime/EntityName, /root/EntityHelpers/*[name()=/root/Runtime/EntityName]/descendant::Entity[EntityID=/root/Runtime/EntityID]/SEName, 0, 1, 1)" disable-output-escaping="yes" />
    Note there are 7 parameters in this call to ProductNavLinks.

    Here is ALL the help I can find from the site on this function.
    from http://manual.aspdotnetstorefront.co...-packages.aspx ...

    Code:
    ProductNavLinks
    Description: Returns the next-previous product navigation for products within the specified category or section
    Sample: <xsl:value-of select="aspdnsf:ProductNavLinks(ProductID, SectionID)" disable-output-escaping="yes"/>
    
    Argument Name: ProductID
    Data Type: String
    Description: Specified product
    
    Argument Name: SectionID
    Data Type: String
    Description: Desired section (specify this OR category)
    
    Argument Name: CategoryID
    Data Type: String
    Description: Desired category (specify this OR section)
    Note how there are only *2* parameters listed here. By the way, NOTHING I tried with 2 parameters could in any way be made to work.

  2. #2
    esedirect is offline Senior Member
    Join Date
    Feb 2010
    Location
    Norfolk, UK
    Posts
    343

    Default

    Looks like a typo in the bit you're quoting from, it should include CategoryID.

    Looking at the source you have a choice of:

    Code:
    ProductNavLinks(String sProductID, String sCategoryID, String sSectionID)
    ProductNavLinks(String sProductID, String sCategoryID, String sSectionID, String sUseGraphics)
    ProductNavLinks(String sProductID, String sCategoryID, String sSectionID, String sUseGraphics, String sIncludeUpLink)
    ProductNavLinks(String sProductID, String sEntityID, string sEntityName, string sEntitySEName, String sSortByLooks, String sUseGraphics, String sIncludeUpLink)
    http://www.esedirect.co.uk
    --------------------------------------------------------------------------
    Using MS 9.2.0.0 with the following customisations:

    Lightbox/Fancybox enlarged images;
    Auto-suggest searchbox;
    Extra product information shown only to our IP Address (such as supplier info, costs, etc.);
    Failed transactions emailed via trigger;
    Custom app to show basket contents when customer online;
    Orders pushed through to accounting systems.

    All the above without source!