We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17121
    • 3 Posts
    at this moment i got a news section.

    News
    Message1
    Message2

    I call it as [[Ditto? &parents=`2` &tpl=`tplNews`]] on main page
    Which will show a small summary of news items and a link to the item selected which contains content of the selected item.
    But how do I give the final link an own template where i just can make the layout in html and call [[+content]] ?

    It seems i can give templates in every step until i reach the last step and i dont know where to put the call for the template.
      • 16278
      • 928 Posts
      Once you get to the full item from the link generated by Ditto and placeholders, you are just in the document, with Ditto playing no part in its presentation. It’s exactly the same as if you had entered the URL of the document in your browser. The template is the site template in its "Uses template" field.
      laugh KP
        • 17121
        • 3 Posts
        ah k thx so it basically means that i need to create a whole new template just for a news item or do i have it wrong?
        talking about templates now, how do i load a template in a template? like loading a header and footer in.