문제

I am having a great deal of difficulty getting my head round displaying secveral resources on one page with Ditto. I cant seem to get TV's to show along with my content.

Heres how I have set it out:

  • I have a page with my Ditto call:

    [!Ditto? &parents='134' &orderBy='createdon ASC' &tpl='temp'!]

  • I have a simple chunk called temp set up as such:

    <div id="content"> [*articlename*] [+content+] </div>

  • And I have a template with the TV articlename assigned to all the resource under parent 134.

The content shows fine but none of the TV's do. Can anyone point me in the right direction? thanks!

도움이 되었습니까?

해결책

I think the problem is in your syntax. You need to use a placeholder tag in the chunk for your TV:

Try this:

<div id="content"> [+articlename+] [+content+] </div>

다른 팁

I have found the answer: You are meant to use [+articlename+] for 'chunk TVs' rather then [*articlename*]. This is different to getResources.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top