Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Carole 10 posts 30 karma points
    Feb 15, 2013 @ 12:19
    Carole
    0

    How to display a page from its content node Id, in a querystring ?

    Hi everybody,

    Another website need to call a page of my umbraco website by its node id.

    I know I can display a page using this kind of url :

    http://www.mysite.com/NODEID.aspx

    But it is possible to display the page with the node id in a querystring, and what would be the parameter name to use ?

    http://www.mysite.com/?MYPARAMETERNAME=NODEID

    Thanks a lot in advance !

  • Dennis Aaen 4457 posts 17970 karma points admin hq c-trib
    Feb 15, 2013 @ 12:45
    Dennis Aaen
    0

    Hi Carole,

    II have not worked with querySting in Umbraco, but I have searched in the Forum and found, some documentation that I hope can help you.

    Don“t know how much do you know about XSLT, but in Umbraco there is lots of built in XSLT extensions, and one of the is for querystring.

    I have found the documentation of the query string XSLT extension, and another post at the same subject.

    http://our.umbraco.org/wiki/reference/umbracolibrary/requestquerystring

    http://our.umbraco.org/forum/developers/xslt/3042-Umbraco-QueryString

    I hope these pages can help you solve your question.

    /Dennis

  • Carole 10 posts 30 karma points
    Feb 15, 2013 @ 14:07
    Carole
    0

    Thanks for your reply, but it is not what I need.

    It's not about doing something on my page, but calling a page with its content ID, that have to be in the querystring.

    I hope this is possible with umbraco.

    http://www.mysite.com/?MYPARAMETERNAME=NODEID

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies