We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27330
    • 884 Posts
    I was just trying the great idea from the wiki
    I like the idea, just what I needed but I can only get it to partly work smiley

    what happening is that the snippet output on the page is not what I inserted in the TV for that page, instead just a single letter from the output is printed. for example i have in the snippet this:
             // Here is where we can start customizing the output.
    	// For now, just return the TV output in a <div> container
    	return '<div class="list">'.$tvOutput.'</div>';


    and in my features TV I have
          <ul>
                                                                   <li>feature 1</li>
                                                                   <li>feature 2</li>
                                                                </ul>

    on the page where I call the snippet I can see in the source only <div class="list">u</div> what’s weired is that the letter in the source is always the first letter of the html tag I have in the features TV huh

    does anyone knows what could I’ve messed up?