We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4749
    • 623 Posts
    I’ve created several TV’s for a template. The TV’s show up in the manager, but only two of them show up in the rendered page. They are in a chunk that’s being called by a ditto call. [!Ditto?&documents=`6`&tpl=`tabsContentTop`&display=`all`!]

    They are all Text TV’s. There is one for a heading, paragraph, and I have four TV’s as list items. So, something like this:

    
    <h3>[+heading+]</h3>
    <p>[+paragraph+]</p>
    <ul>
    <li>[+itemone+]</li>
    <li>[+itemtwo+]</li>
    <li>[+itemthree+]</li>
    <li>[+itemfour+]</li>
    </ul>
    


    The heading and the paragraph TV’s show up just fine, but the TV’s in the list items are missing. Does anyone have any ideas?

    Thanks.
      The MODx has you...
      Utah Web Design
      • 7231
      • 4,205 Posts
      The only thing I can guess is that there maybe a typo. I think that it is case sensitive so if you have itemOne it will not work. Just guessing though. By logic if one tv works they should all work.
        [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]
        • 4749
        • 623 Posts
        Yeah, that’s what I thought. They should all work, but they’re not. Maybe it has something to do with the <ul>, but then again I have no idea.
          The MODx has you...
          Utah Web Design
          • 4749
          • 623 Posts
          Yeah, that’s my template chunk. Even if the syntax were wrong, it shouldn’t work for any of the TV’s, but some are working and some are not.
            The MODx has you...
            Utah Web Design
            • 6726
            • 7,075 Posts
            It should work, a few things you should check :

            • even if values show up in the manager, if you have a TV with a list of values the first one will show up but it won’t be assigned as default value unless you specify it as default value... played some tricks on me a few times tongue
            • have you set specific document permission for those TV (or forgotten to do so) ?


              .: COO - Commerce Guys - Community Driven Innovation :.


              MODx est l&#39;outil id
              • 4749
              • 623 Posts
              Is there a better way to create a list then? The way I have it there’s a fixed number of list items and each item has it’s own tv. Is there a TV that will create a dynamic list?
                The MODx has you...
                Utah Web Design
                • 6726
                • 7,075 Posts
                Not necessarily a better way, and it’s not the list which is responsible for it... there has to be something in your TVs setup which is not configured properly, I have several list using TVs working A-OK
                  .: COO - Commerce Guys - Community Driven Innovation :.


                  MODx est l&#39;outil id
                  • 4749
                  • 623 Posts
                  Still no luck. It’s kinda driving me crazy that I can’t figure out why two of the TV’s are showing up and the other four (list items) are not. Has anyone else experienced this issue? I’ve deleted and recreated the TV’s to no avail. Nothing seems to work. I’ve even changed out the <li> for &bull; and nothing is working. Still hoping!
                    The MODx has you...
                    Utah Web Design
                    • 6726
                    • 7,075 Posts
                    You’d have to give us more details about what templates / chunk you’re using for us to figure out what is wrong here... it should work !
                      .: COO - Commerce Guys - Community Driven Innovation :.


                      MODx est l&#39;outil id
                      • 4749
                      • 623 Posts
                      Sorry, I thought most the info needed was in the first post. But here’s my chunk:
                      <h3>[+service+]</h3>
                                 <table class="tab_info">
                      		<tr>
                      		    <td><p>[+serviceDesc+]</p>
                      		           •[+itemone+]<br />
                      			        •[+itemtwo+]<br />
                      			        •[+itemthree+]<br />
                      			        •[+itemfour+]<br />
                      	                </td>
                      			<td class="pics">[[MaxiGallery? &manage_target=`[+id+]`&view_gallery=`[+id+]` &display=`embedded` &embedtype=`slimbox`&max_pic_number=`4` &max_thumb_size=`150x100` ]]
                                                 </td>
                      	       </tr>
                      	       <tr>
                      		   <td colspan="2" class="foot">*Click <a href="[~[+id+]~]">Here</a> to see our complete gallery.</td>
                      	       </tr>
                               </table>
                      


                      The list items aren’t showing up. (itemone, itemtwo, etc.) I’m using ModX version 0.9.6. What more do you need and I’ll get it to you.
                        The MODx has you...
                        Utah Web Design