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

    I got wayfinder splitting out a menu for me.
    One of the items is a weblink that has the link attribute: target="_blank"
    This attribute however is not coming out in the wayfinder menu, and the link opens in the same window.

    Is there anyway to read in the target="_blank" to force a new window?

    Thanks in advance
      • 7231
      • 4,205 Posts
      Add [+wf.attributes+] to your rowTpl (or wherever you need the attribute displayed). See the example of a rowTpl with a full set of placeholders.

      <li[+wf.id+][+wf.classes+]>
      	<a href="[+wf.link+]" title="[+wf.title+]" [+wf.attributes+]>[+wf.linktext+]</a>
      	[+wf.wrapper+]
      </li>
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don&#39;t know what it is.
        Do you, Mr. Jones? - [bob dylan]
        • 15083
        • 697 Posts
        excellent, thank you!