Nibble

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.

relatedlinksdatatype

16 Comments so far

  1. Warren Buckley on November 5th, 2008

    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

  2. Dillorscroft on November 5th, 2008

    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

  3. Ruben Verborgh on November 5th, 2008

    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.

  4. Aaron Powell on November 5th, 2008

    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.

  5. Ruben Verborgh on November 14th, 2008

    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

  6. Nafiseh on March 4th, 2009

    It was great job .. I do appreciate you

  7. Kevin on May 4th, 2009

    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

  8. Tim Geyssens on May 4th, 2009

    @Kevin,

    should be something like

    count(data [@alias=’testRelatedLinks’])/links/link) = 0

  9. Kevin on May 4th, 2009

    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

  10. Kevin on May 4th, 2009

    sorry ….

    count(data [@alias=’testRelatedLinks’]/links/link)

  11. Tim Geyssens on May 5th, 2009

    @Kevin, make sure the alias is correct. And if it’s from the current page try
    count($currentPage/data [@alias=’testRelatedLinks’]/links/link)

  12. Kevin on May 11th, 2009

    Thanks Tim - that is working well now. The related links datatype has really enhanced umbraco - great work!

  13. Pat on March 18th, 2010

    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

  14. Andy on July 12th, 2010

    Great data type
    I test for links just with the xsl (new schema):

  15. Andy on July 12th, 2010

    The missing code from the above was xsl:if with test=”$currentPage/relatedLinks/links/link”

  16. hetal on December 17th, 2011

    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.

Leave a Reply