I've three boxes on my home page, In each box there is a "Read more" link. But I cant figure out how to select a internal page with the Content Picker mediatype fx: www.mysite.com/newpage.aspx?
The Content Picker stores the Id of the picked page, so you just throw that into the NiceUrl() extension - but I can see you've found some code for the old schema - here's how to make it work:
<!-- fokusLink is the ContentPicker --> <xsl:iftest="normalize-space(fokusLink)"><ahref="{umbraco.library:NiceUrl(fokusLink)}">Læs mere</a></xsl:if> </div> </xsl:for-each>
Redirect to internal page with contentPicker
Hey Guys
i'm using 4.7.2
I've three boxes on my home page, In each box there is a "Read more" link. But I cant figure out how to select a internal page with the Content Picker mediatype fx: www.mysite.com/newpage.aspx?
Hope somone can help me :o)
//mads
Hi Mads,
The Content Picker stores the Id of the picked page, so you just throw that into the NiceUrl() extension - but I can see you've found some code for the old schema - here's how to make it work:
/Chriztian
Hi Christian
Thanks a lot :o)
I was a bit confused cause I couldn't find any thing about this.
I just have a little correction :o)
...just missed a )
:o)
is working on a reply...