We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11316
    • 81 Posts
    Followed the tutorial on the wiki - works great. Here is my question. I am trying to us a custom TV for the link but it’s not displaying the link. instead of using <link>[(site_url)][~[+id+]~][(site_url)</link>. I wanted to use <link>[+clientnews-links+]</link> (custom tv link) but it wont display the link. In the xml source it just has <a>Name of title</a>. Thanks in advance.
      • 3707
      • 241 Posts
      Try adding the hiddenFields parameter to your Ditto call.
      &hiddenFields=`clientnews-links`
        • 11316
        • 81 Posts
        no luck. doh! hopefully I can close the book on this soon. thanks

        code: [[Ditto? &parents=`63` &format=`rss` &summarize=`20` &total=`20` &tpl=`rss_chk` &hiddenFields=`clientnews-links`]]

        rss_chk:
        <item>
        <title>[+rss_pagetitle+]</title>
        <link>[+clientnews-links+]</link>
        <description><![CDATA[ [+content+] ]]></description>
        <pubDate>[+rss_date+]</pubDate>
        <guid isPermaLink="false">[(site_url)][~[+id+]~]</guid>
        </item>

        source: <div class="entry"><h3><a>IRI April 8, 2009</a><div class="lastUpdated">Monday, April 13, 2009 1:22 PM</div></h3>
          • 3707
          • 241 Posts
          What type of TV are you using and what values are you using for the TV?
            • 11316
            • 81 Posts
            thank you for replying - I am using a (input type) URL - widget (link)

            I would be happy to supply a url via pm - due to being my development site for client.
              • 3707
              • 241 Posts
              Try removing the widget from the TV so only the path gets output, then change your chunk so the <link> element is:
              <link>[(site_url)][+clientnews-links+]</link>

              And you don’t need the &hiddenFields parameter in the Ditto call.
                • 3707
                • 241 Posts
                Or if you’re using absolute URLs, remove the [(site_url)]
                <link>[+clientnews-links+]</link>
                  • 11316
                  • 81 Posts
                  that worked great! awesome - but now my page that displays our "pretty" side of the site all the urls are unlinked. how should I go about using the tv correctly to handle both? once again thank you!
                    • 3707
                    • 241 Posts
                    How are you using outputting the TV for the other parts of the site?

                    You could use the following in your chunk:
                    <a href="[+clientnews-links+]">[+pagetitle+]</a>
                      • 11316
                      • 81 Posts
                      posted to wrong area but as soon as replied the light came on! <a href="[+clientnews-links+]" target="_blank">[+clientnews-links+]</a> thank you so much for helping me step away for a minute - just stared to long into the light and became blinded! very helpful and awesome communication!