A look at the related links datatype in umbraco v4
A couple of weeks ago I released the related links package for umbraco v3. Recently the related links datatype has also been added as a default datatype in umbraco v4 (a more polished version).
I recorded a screencast wich will show you how to use the datatype in v4.
Hi Tim,
I like the look of the new polished version of this dataType. Its great that there is an XSLT template too, which saves alot of time.
I think you should publish this screencast in umbraco.tv or on the blog as not everyone in the community knows about your blog and will miss this.
As always keep this good stuff coming
Warren
Great stuff. Might be worth identifying in the list box if the link is internal or external.
Umbraco.tv would welcome this demo as well.
DC
Nice work, Tim. I suggest you look into the possibilities of Umbraco.tv. I’m planning on doing videos on Live Editing and Inline XSLT.
Interesting, I’m going to have to check how it works with the Umbraco Interaction Layer I’m building. It should would out-of-the-box but I may want to make it easier to interact with the stored data of the data type.
Related links are now compatible with Live Editing. Check out this blog post / screencast:
http://ruben.3click.be/blog/bringing-related-links-to-live-editing
It was great job .. I do appreciate you
Great work Tim,
How can I check for the data in the related links field being present? I have tried:
[string(data [@alias=’testRelatedLinks’]) != ”]
But this is unsuccessful even when there are related links present (Checked in db). I need a simple check like this so that I can inherit related links from parent nodes.
Thanks,
Kevin
@Kevin,
should be something like
count(data [@alias=’testRelatedLinks’])/links/link) = 0
Thanks Tim,
I have tested with:
and it returns 0 even when there are links on the page. Is there something else that I should be doing - I’m pretty new to all of this!
Thanks again,
Kevin
sorry ….
count(data [@alias=’testRelatedLinks’]/links/link)
@Kevin, make sure the alias is correct. And if it’s from the current page try
count($currentPage/data [@alias=’testRelatedLinks’]/links/link)
Thanks Tim - that is working well now. The related links datatype has really enhanced umbraco - great work!
Hi,
this is a great package, thanks for building it!
Just one question though, is there any way to restrict the number of links that a user can create in the CMS? For example, they can create only 1 at most?
Thanks,
Pat
Great data type
I test for links just with the xsl (new schema):
The missing code from the above was xsl:if with test=”$currentPage/relatedLinks/links/link”
hey, there is a remove link button in this.
But can we have edit title/edit link button? It will be better as one can change Link title easily when needed as link is not changing just title is changing.
Otherwise we have to delete whole link, create new link and shift it to proper position using up-down buttons.