Copied to clipboard

Flag this post as spam?

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


  • Rylan 67 posts 251 karma points
    Jul 20, 2017 @ 15:12
    Rylan
    0

    7.6 Support

    Will there be 7.6 support anytime soon? A bunch of my new projects need this SEO tool.

    Let me know if it's in the works, or if it does already work!

  • Mark Wemekamp 73 posts 385 karma points
    Jul 20, 2017 @ 15:19
    Mark Wemekamp
    0

    Should work in 7.6 already, if you encounter any problems, please let me know

  • Rylan 67 posts 251 karma points
    Jul 20, 2017 @ 15:53
    Rylan
    0

    Thanks, I'll check it out! The project page said untested, so I wasn't sure.

  • Rylan 67 posts 251 karma points
    Jul 21, 2017 @ 19:12
    Rylan
    0

    Keywords is definitely not working!

  • Mark Wemekamp 73 posts 385 karma points
    Jul 21, 2017 @ 19:14
    Mark Wemekamp
    0

    Can you explain the problem? Do you get an error?

  • Rylan 67 posts 251 karma points
    Jul 21, 2017 @ 19:28
    Rylan
    0

    I have no errors, I can enter tags fine! It's just not rending it properly.

    enter image description here

    This is the code I used from your package:

    <meta name="keywords" content="@Umbraco.Field("seoMetaKeywords", recursive: true)">
    

    enter image description here

    When I view source on the live page:

  • Rylan 67 posts 251 karma points
    Jul 25, 2017 @ 22:34
    Rylan
    100

    Solution

    <meta name="keywords" content="
    @if(CurrentPage.HasValue("seoMetaKeywords")){
        foreach (var tagItem in CurrentPage.seoMetaKeywords){
            var SplitTags = tagItem;
            SplitTags = SplitTags + ",";
            @SplitTags
        }
    }
    ">
    
  • Mark Wemekamp 73 posts 385 karma points
    Aug 04, 2017 @ 11:38
    Mark Wemekamp
    1

    Was able to reproduce this and will be fixed in the new version I'm releasing later this day

    https://github.com/markwemekamp/RankOne-Umbraco-SEO-Tool/commit/6114fad8419d85b846e9d2c56a763246b22519d0

    @if(Model.Content.HasProperty("seoMetaKeywords") && Model.Content.HasValue("seoMetaKeywords")){
        var keywordsValue = string.Join(", ", Model.Content.GetPropertyValue<System.String[]>("seoMetaKeywords"));
        <meta name="keywords" content="@keywordsValue">
    }
    
Please Sign in or register to post replies

Write your reply to:

Draft