We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33466
    • 5 Posts
    Hello guys, i am kind new here wink
    I just started my adventure with the Revolution version. I am studying all the manuals but still have some problems. The main thing is that i want to get the summary of other page and i do it like that:
    I am using Ditto to get the other page introtext:

    [[!Ditto? &documents=`1` &depth=`1` &total=`1` &tpl=`boks`!]]


    in my chunk "boks" i have code like that:
    ID: [[*id]]<br/>
    PageTitle: [[*pagetitle]]<br/>
    Longtitle: [[*longtitle]]<br/>
    Description: [[*description]]<br/>
    IntroText (Summary): [[*introtext]]<br/> 
    MenuTitle: [[*menutitle]]
    <hr/>
    Content: [[*content]]


    just to test the output (i tried also tu put there clear text)

    After that i get:
    &tpl either does not contain any placeholders or is an invalid chunk name, code block, or filename. Please check it.


    I know there was a couple of topics like that before but i tried to put those solution (ofc if i understood them wink )in my version but nothing happened. Can u help me with it? Actually i have no idea how to fix it.
      • 11155
      • 74 Posts
      Replace all [[* by [[+ maybe ?
        • 33466
        • 5 Posts
        Quote from: GoustiFruit at Oct 20, 2010, 06:41 AM

        Replace all [[* by [[+ maybe ?
        Unfortunately nothing changed sad
          • 4172
          • 5,888 Posts
          Remove ’!’ from the end of your snippet-call: !]] -> ]]
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 33466
            • 5 Posts
            Quote from: Bruno17 at Oct 20, 2010, 07:01 AM

            Remove ’!’ from the end of your snippet-call: !]] -> ]]

            Damn! It’s working now shocked
            I used the !]] because it was presented in some example.

            Lot’s of thanks Bruno17!
              • 28626
              • 87 Posts
              It’s the last exclamation mark but I would recommend using getResources instead as Ditto will not be updated in the future.


              [[!getResources? &resources =`1` &depth=`1` &limit=`1` &tpl=`boks`]]