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
How can i get current content node id using template or xslt.
Touhid
In the template you can do
<umbraco:Item field="pageID" runat="server"></umbraco:Item>
in xslt you can do
<xsl:value-of select="$currentPage/@id"/>
I would recommend you download and install the creative website starter kit and look at some of the xslts in there to get to
grip with Umbraco basics.
Regards
Ismail
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
how to get node id using xslt
HI
How can i get current content node id using template or xslt.
Touhid
In the template you can do
<umbraco:Item field="pageID" runat="server"></umbraco:Item>
in xslt you can do
<xsl:value-of select="$currentPage/@id"/>
I would recommend you download and install the creative website starter kit and look at some of the xslts in there to get to
grip with Umbraco basics.
Regards
Ismail
is working on a reply...