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: Paging problem

  1. #1
    curlackhacker is offline Junior Member
    Join Date
    Oct 2010
    Posts
    0

    Default Paging problem

    Hi guys

    Please help.
    Category have subcategories.
    e.g.

    Category 1
    >> Subcategory 1
    >> Subcategory 2

    When clicking page 2 (url: http://ip_address/subdir/c-1-subcate...aspx?pagenum=2) it give me: 'Object moved to HERE (url: http://ip_address/subdir/c-1-category-1.aspx?pagenum=2&)'.

    The funny think is, when subcategory has more than 1 page, it works fine.

    Anyone has an idea what could cause this, please help.
    I am using ML9

    Thanks

  2. #2
    lambrite is offline Senior Member
    Join Date
    Jun 2007
    Posts
    116

    Default

    I am also having possibly a related problem. Paging on Parent category tries to go to the subcategory?

    c-2-parent.aspx has page number links that are formatted like c-2-firstchildcategory.aspx?pagenum=2

  3. #3
    Mike Sollars is offline Junior Member
    Join Date
    Aug 2005
    Posts
    6

    Default Problem with Paging Control Showing SubCategory SENames

    Hi lambrite,

    I turned in a ticket on this over a month ago, and finally dug into it myself tonight.

    There were errors in the XML packages sent out with v9.0.1.3 & w/SP1. The BaseURL parameter in the entity XMLs was:

    <xsl:param name="BaseURL">
    <xsl:variable name="currentEntity" select="/root/EntityHelpers/*[name()=/root/Runtime/EntityName]/descendant::Entity[EntityID=/root/Runtime/EntityID]/Entity" />
    <xsl:value-of select="aspdnsf:EntityLink(/root/Runtime/EntityID, $currentEntity/SEName, /root/Runtime/EntityName, 0)" />
    </xsl:param>


    Should Be:
    <xsl:param name="BaseURL">
    <xsl:variable name="currentEntity" select="/root/EntityHelpers/*[name()=/root/Runtime/EntityName]/descendant::Entity[ParentEntityID=/root/Runtime/EntityID]/Entity" />
    <xsl:value-of select="aspdnsf:EntityLink(/root/Runtime/EntityID, $currentEntity/SEName, /root/Runtime/EntityName, 0)" />
    </xsl:param>

    Update your XML Packages and it should work fine. At least it did for me.

    Mike

  4. #4
    lambrite is offline Senior Member
    Join Date
    Jun 2007
    Posts
    116

    Default

    Mike, thanks for taking time to post an answer!

    This unfortunately did not work for me, but I haven't applied the SP yet either. Maybe the combination will make it work.