Hi. I have container with:
[[getResources? &parents=`11` &tpl=`menu-tpl` &includeContent=`1` &includeTVs=`1` &processContent=`1` &limit=`20` &processTVs=`1`]]
In documents in this container I use this chunk:
<span class="menu-category">[[+pagetitle]]</span>
So I want to display pagetitles of listed docs.
And when I open webpage I don't see right text, there are TV's value from one document everywhere.
I tried to change + to +tv., but it also doesn't work.
-
☆ A M B ☆
- 894 Posts
Try running getResources uncached or clear your cache, it might be displaying the cached version.
What does your menu-tpl code look like?
<div id="menu-list">
[[+content]]
</div>
Running uncached getResources and clearing cache didn't help...
I have never heard of a &processContent param, is there one? Maybe the presence of this (if not existing) param disturbs poor getResources?
It also didn't help. What's more if I put TV in document (not in chunk) it also doesn't work :/
-
☆ A M B ☆
- 24,524 Posts
So you want two listings, in two different places on the page, one of the children's pagetitles, and one of the children's contents?
I want to display content of few documents, and in every document I want to display this document's title in few places.
-
☆ A M B ☆
- 24,524 Posts
in every document I want to display this document's title in few places
To do that you just use the resource's field tag [[*pagetitle]] wherever you want it.
But I want display all documents from container and I want to add TV to its contents by chunk.