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

    how can I make TV template with that:

    <div class="index_1">[[*1text]]</div>
    <div class="index_1_text">[[*intericad_test_tv_produkt]]</div>

    I have tried allready, HTML and Text, but it doesnt shows up. Did U tried? Thx for help
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Make sure that the TV is associated with the template you want it displayed in.
        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
        • 35828
        • 6 Posts
        I was missing "*" - thx for looking in good direction.

        But output is as: <div class="index_1">correctly_showed_inside_of_TV_template</div><div class="index_1_text">correctly_showed_inside_of_TV_template</div>

        That means those div r not showed/tranleted but r shown as a plain text. At the begining in source code r made <p> and at the end is </p>.

        <div class="index_1"> r tranlated to &lt;div class="index_1"&gt;

        Any suggesions? Thank you.

          • 35828
          • 6 Posts
          OK. Mystery solved.

          to see correctly layout with that:

          <div class="index_1">[[*1text]]</div>
          <div class="index_1_text">[[*intericad_test_tv_produkt]]</div>

          I have to create chunk.

          It can not be done through TV template.

          Thx who tried to solve..