We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 35824
    • 6 Posts
    Hi, i’m having trouble with wayfinder when i try to use a Template Variable in rowTpl for the title of the link instead of [[wf.title]].

    The result in the source code of the page is this:


    <ul id="navigation">
    <li><a href="http://valportable/" title="">ACCUEIL</a></li>
    <li><a href="news.html" title="">NEWS</a></li>
    <li><a href="exposition.html" title="">EXPOSITION</a></li>
    <li><a href="galerie.html" title="">GALERIE</a></li>
    <li><a href="contact.html" title="">CONTACT</a></li>
    </ul> 


    Here is my call to wayfinder:

    <div>
    [[!Wayfinder? &startId=`0` &outerTpl=`mh.outer` &rowTpl=`mh.Row`]] 
    </div>


    And here is my chunk mh.row:

    <li><a href="[[+wf.link]]" title="[[*titleredirect]]">[[+wf.linktext]]</a>[[+wf.wrapper]]</li>


    From where do you think the problem could emanate?

    Edit: I don’t know what I’ve done but it’s working now, sry for the useless post :/

    Edit 2: After another test, it’s working half way, all my links are taking the TV, but the same title as the one of the page i’m on, any ideas why?

    Example: when I’m on "Accueil" it displays the link title of Accueil for all the other links
    <ul id="navigation">
    <li><a href="http://valportable/" title="Aller à l'Accueil">ACCUEIL</a></li>
    <li><a href="news.html" title="Aller à l'Accueil">NEWS</a></li>
    <li><a href="exposition.html" title="Aller à l'Accueil">EXPOSITION</a></li>
    <li><a href="galerie.html" title="Aller à l'Accueil">GALERIE</a></li>
    <li><a href="contact.html" title="Aller à l'Accueil">CONTACT</a></li>
    </ul> 


    Edit 3: Ok,I must be blind, I didn’t saw that you could set another value than pagetitle for titleOflinks, sry for disturbance.