We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25973
    • 5 Posts
    saldana_joel Reply #1, 16 years ago
    I’m creating a site map (not xml sitemap) with Wayfinder that links to all the pages in my site.

    [[Wayfinder? &startId=`0`]]

    Displays and links everything fine. Problem is that I have a resource item "Communities" with some children resources. All these children resources have a TV that stores an external link.

    I’m trying to figure out a way to link every resource on the site map as it currently is, but if it’s a child of "Communities" to instead link to the URL in the TV.

    Is there a way to do this?
      • 25973
      • 5 Posts
      saldana_joel Reply #2, 16 years ago
      Alright well I figured out how to do it.

      For those wondering, I saw a somewhat related link that brought me to PHx.

      After installing PHx, I used a row template on my Wayfinder with the following code and it worked great:

      <li>
      <a href="
      [+phx:input=`[+TV+]`:if=`[+TV+]`:is=``:then=`[+wf.link+]`:else=`[+TV+]`+]" title="[+wf.linktext+]
      ">[+wf.linktext+]</a>
      [+wf.wrapper+]
      </li>