We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36549
    • 572 Posts
    Hi,

    I have had this issue before and i cannot remember how i foxed it but I've exhausted every possible solution i'm aware of so need to ask for assistance.
    My menu is adding extra titles inside the <a> tag like so:

    Error Line 132, Column 50: "Services" is not a member of a group specified for any attribute
    …="services/" title="Services" Services>Services</a><ul><li class="first"><a hr…


    My wayfinder call is:
          [[!Wayfinder? &startId=`0` &outerTpl=`mh.outer` &rowTpl=`mh.row` &innerTpl=`mh.Inner` &innerRowTpl=`mh.innerRow` &hereClass=`active` &firstClass=`` &lastClass =`` ]]



    The row chunk is:
    <li [[+wf.classes]]><a href="[[+wf.link]]" title="[[+wf.title]]"><b>[[+wf.linktext]]</b><!--[if gte IE 7]><!--></a><!--<![endif]-->
    		<!--[if lte IE 6]><table><tr><td><![endif]-->[[+wf.wrapper]]
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
    		</li>


    the inner row chunk is:
    <li><a href="[[+wf.link]]" title="[[+wf.title]]">[[+wf.linktext]]</a></li>


    Can anyone see anything wrong with the above?
    i have used very similar settings on many MODx sites and not had this issue but there must be something that causing the extra title to be generated.

    REVO 2.1.3
    Wayfinder 2.3.1

    Thanks for any help

    j
      www.9thwave.co.uk
         WEB | DESIGN | PRINT
      • 33968
      • 863 Posts
      Does removing this
      title="[[+wf.title]]"
      from your rowTpl make any difference to the output?
        • 36549
        • 572 Posts
        Hi Lucas,

        Thanks for your reply.
        removing that does not make any difference and interestingly when i check the source there is no extra title so i am wondering if this might be a caching issue, although i have cleared the cache and tried validating in Firefox and Chrome!!!
        Any chance i could pm you the URL just for a quick check?
          www.9thwave.co.uk
             WEB | DESIGN | PRINT
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          What doctype are you using? I've run across some odd bugs in the W3C validator before.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 36549
            • 572 Posts
            Hi Susan,

            Thanks for your reply.
            I was thinking it might be the doctype too.
            After initially writing the site using html5 and having issues with layouts in ie 6, 7 & 8. i re-wrote it in XHTML 1.0 Transitional.
            I have actually now changed it to the following (the reason being that the site wasn't working in ie9 but now it is):
            <!DOCTYPE html>
            <!--[if IE 7 ]>    <html lang="en" class="no-js ie7"> <![endif]-->
            <!--[if IE 8 ]>    <html lang="en" class="no-js ie8"> <![endif]-->
            <!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> <![endif]-->
            <!--[if (gt IE 9)|!(IE)]><!-->
            <html lang="en" class="no-js">
            <!--<![endif]-->
            <head>
            <meta charset="UTF-8">


            The validation still fails though with the same problem!!
              www.9thwave.co.uk
                 WEB | DESIGN | PRINT
              • 33968
              • 863 Posts
              @9thwave: feel free to send me a PM with the link and I'll be happy to check it out for you.

              Have you tried copying your source html and pasting it into the direct input validator?
              http://validator.w3.org/#validate_by_input

              I find it's easier to make quick changes and revalidate that way.