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

    I have my own site, where I use Ditto to render news.

    I am using a template which has the following settings.
    This ditto template has been set up on my page where all the individual subpages are in fact my news.

    Now when I click on one of my news it stays on the same page "news.html" and display the news in its ful extent.

    Or rather it should have been doing this, but instead it only shows the content of this news and leaves the heading and subheading out.

    DITTO TEMPLATE
    <span class="dato">[+date+]</span>
    <h3>[+longtitle+] </h3>
    <p>[+introtext+].</p>
    <div class="learn"><span><a href="[~[+id+]~]">L&aelig;s mere</a></span></div>

    Can anyone tell me how to post everything so when I want to read the news in full it will do this?

    //Carsten
      You don
      • 26016
      • 561 Posts
      Hi Carsten,
      Your template looks pretty good. When I’ve checked everything (and with Ditto, there’s always a LOT to check when a variety of documents/templates are involved), I would suggest turning off the cache for the page that contains the Ditto call. As often as not, this fixes it for me.

      Good luck!
        MODx and Wordpress development
        Linux, PHP 5.2, MySQL 5.0, Evo 1.05, Revo 2.08-pl, Firefox 4
        • 25899
        • 46 Posts
        Hi Samba

        I will try this indeed, and see if this could be it.

        Thanks for the advice cool

        //Carsten
          You don
          • 25899
          • 46 Posts
          Quote from: samba at Apr 07, 2009, 02:17 PM

          Hi Carsten,
          Your template looks pretty good. When I’ve checked everything (and with Ditto, there’s always a LOT to check when a variety of documents/templates are involved), I would suggest turning off the cache for the page that contains the Ditto call. As often as not, this fixes it for me.

          Good luck!

          Hi again Samba

          I tryied this out, but it did not have any effect of any kind, sadly undecided
          //Carsten
            You don