is there an possibility to get all the content IDs from a page? I tried something like this:
<v:resource.record
table="tt_content"
uid="1811"
field="pid"
as="item"
>
<f:debug>{item}</f:debug>
</v:resource.record>
But it only gives me the parent ID and i cant swap the attributes to make it work. Thanks
get Page ID of content element with UID 312:
<v:resource.record
table="tt_content"
uid="312"
field="pid"
as="item"
><f:debug title="query 1: page of CE">{item}</f:debug></v:resource.record>
get UID of content elements in page with UID 123:
<f:cObject typoscriptObjectPath="lib.UidList" data="{pid:123}" />
typoscript:
lib.UidList = CONTENT
lib.UidList {
table = tt_content
select {
pidInList.field = pid
}
renderObj = TEXT
renderObj.field = uid
renderObj.wrap = |, |*| |, |*| |
}