I am trying to relate links to an event so i follow these steps:
1. Add new 'Related Links with Media' Type property to type of document "Event item". The propertyAlias is "eventsRelated". 2. Edit the event node from "Contents" section and add the related links using the new property added. 3. Save and Publish changes. 3. Edit the template associated to the "Event item" adding the following code:
You need to add a Macro in order to call a Macro, you are trying to access a Property with a Macro control, try <umbraco:Item runat="server" Field="eventsRelated" /> instead. Although, I think you'll need to write a proper macro to get anything good out of the property.
I can't make it work correctly, please Help
Hi:
I am trying to relate links to an event so i follow these steps:
1. Add new 'Related Links with Media' Type property to type of document "Event item". The propertyAlias is "eventsRelated".
2. Edit the event node from "Contents" section and add the related links using the new property added.
3. Save and Publish changes.
3. Edit the template associated to the "Event item" adding the following code:
<umbraco:Macro Alias="RelatedLinkswithMedia" propertyAlias="eventsRelated" runat="server"></umbraco:Macro>
Problem is i dont get any entries in the frontend or backend (visualize XSLT).
What am i doing wrong?
Thanks in advance for your help.
Ivan
You need to add a Macro in order to call a Macro, you are trying to access a Property with a Macro control, try <umbraco:Item runat="server" Field="eventsRelated" /> instead. Although, I think you'll need to write a proper macro to get anything good out of the property.
Hi Stephan:
I tried adding <umbraco:Item runat="server" Field="eventsRelated" /> and still getting no results.
Anyway i got the macro "RelatedLinkswithMedia" which xslt file is:
Any ideas?
on the first line, there's a hard-coded propertyAlias, exchange that for your propertyAlias, 'eventsRelated', and try again.
Thanks Stephan but i am still getting no results.
I changed my propertyAlias field to "links" and now everything is working properly.
Thanks a lot for your help Stephan.
Bye!
is working on a reply...