Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I'm having some problems with this XSLT.
The list is being generated without any problems but the paging links are returning a 404 error:
No umbraco document matches the url 'http://umbraco.domain.com/sectionone/sectiontwo/2'
umbraco tried this to match it using this xpath query'/root/node/node [@urlName = "sectionone"]/node [@urlName = "sectiontwo"]/node [@urlName = "2"]')
I have given this other example a try which seems to use query strings for the page numbers:
http://our.umbraco.org/forum/developers/xslt/1611-Flexible-XSLT-Paging-and-Sorting-Example
Query strings work but I would much prefer avoiding them.
At the moment I'm using a wildcard mapping to ASP.Net.
I'd really appreciate any pointers.
I'd suggest you look into url rewriting which is available in umbraco install oob. Just have to create your rewriting rule to map
http://umbraco.domain.com/sectionone/sectiontwo/2
onto
http://umbraco.domain.com/sectionone/sectiontwo?p=2
(doc on url rewriting to be found here)
Hope this helps.
Regards,
/Dirk
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
404 Error
Hi,
I'm having some problems with this XSLT.
The list is being generated without any problems but the paging links are returning a 404 error:
No umbraco document matches the url 'http://umbraco.domain.com/sectionone/sectiontwo/2'
umbraco tried this to match it using this xpath query'/root/node/node [@urlName = "sectionone"]/node [@urlName = "sectiontwo"]/node [@urlName = "2"]')
I have given this other example a try which seems to use query strings for the page numbers:
http://our.umbraco.org/forum/developers/xslt/1611-Flexible-XSLT-Paging-and-Sorting-Example
Query strings work but I would much prefer avoiding them.
At the moment I'm using a wildcard mapping to ASP.Net.
I'd really appreciate any pointers.
I'd suggest you look into url rewriting which is available in umbraco install oob. Just have to create your rewriting rule to map
onto
(doc on url rewriting to be found here)
Hope this helps.
Regards,
/Dirk
is working on a reply...