Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mike 3 posts 84 karma points
    Oct 24, 2015 @ 18:34
    Mike
    0

    Cannot get index,nofollow property in template foreach

    Hi, I'm trying to grab the seo properties in a template with a foreach loop grabbing a folder's child nodes, but it only returns the current page's data. If I map the keywords to another property it's fine, but when I attempt to get the index,follow property it doesn't and there is no option to map the property. My issue is similar to the page below, if that helps.

    https://our.umbraco.org/projects/website-utilities/seo-checker/using-seochecker/61184-Use-SeoChecker-in-searchview

    Thanks

  • Richard Soeteman 4054 posts 12927 karma points MVP 2x
    Nov 09, 2015 @ 16:06
    Richard Soeteman
    100

    Hi Mike,

    Sorry for the delay in reply. I didn't receive notifications. But indeed using the Metadata library it only can render it's current page. This is because it does a lot of things behind the scenes and needs the context of the current page.

    If you render each tag individually it should work.

    Best,

    Richard

  • Mike 3 posts 84 karma points
    Dec 12, 2015 @ 00:23
    Mike
    0

    Thanks Richard!

    Mike

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies