We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9359
    • 128 Posts
    Hi at all,
    in the content of my page, i have this code:

    <h1>[*pagetitle*]</h1>
    <table id="referenze" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
    <tbody>
    [[Ditto? &parents=`8` &orderBy=`bandiera ASC, pagetitle ASC` &tpl=`dittoRef`]]
    </tbody>
    </table>
    


    i don't understand because, when i save the page the code change in this wrong way:

    <h1>[*pagetitle*]</h1>
    <table id="referenze" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
    <tbody>
    </tbody>
    </table>
    [[Ditto? &parents=`8` &orderBy=`bandiera ASC, pagetitle ASC` &tpl=`dittoRef`]]
    


    The ditto call is set to the end of page so all is wrong.

    Why the editor change position yourself?????????

      "Destiny is not a matter of chance, it's a matter of choice"
      • 36926
      • 701 Posts
      Are you pasting it directly into the content area field. If so it's probably the wysiwyg messing about with it as it doesn't see any <tr> or <td> tags.

      Couple of possible options:
      1) put it directly into the template code.
      2) put the table and ditto call into a chunk and put the chunk call in there instead.
      3) Create a new TV for plain text and put it into there.

      I reckon if you can put it into the template directly.