the only other thing I need to change is the URL. It should grab
the URL of the Item Link: Property which is a content picker. I would
like the NiceURL of the Human Resources node selected in the content
picker above and not the links of the Billing, Payments, and Purchasing
nodes themselves. Any direction appreciated.
When you retrieve the value from a content picker, it will be the id of the selected node, so you can simply pass it into the NiceUrl function, instead of the @id attribute (which is the id of the node containing the content picker).
Returning the URL of the a Content Picker
OK I git this semi-working...this is my node structure, beginning with the Menu Items node ignore DeptHome
this is my XSLT:
the only other thing I need to change is the URL. It should grab the URL of the Item Link: Property which is a content picker. I would like the NiceURL of the Human Resources node selected in the content picker above and not the links of the Billing, Payments, and Purchasing nodes themselves. Any direction appreciated.
Hi Kevon,
Something like this should work
When you retrieve the value from a content picker, it will be the id of the selected node, so you can simply pass it into the NiceUrl function, instead of the @id attribute (which is the id of the node containing the content picker).
Matt
PS I've assumed your Item Link alias is "itemLink" so just change this to the relevant property alias if this is not the case
Thanks stepped away for a while and ill try this as soon as i get back to my workstation.
Great,
Like Ambien it worked like a dream. I learned a lot from you the last few days thanks.
Hey Kevon
No problem. We've all been there, happy to be of assistance.
Matt
Hi I tried the way it was mentioned here but it was a very old post and I cant get this working.
Can anyone help me regarding this.
The problem is I need to link content picker Urls to images on the homepage
Thanks
Ben
is working on a reply...