Exclude certain paint layouts from the %asset_contents% keyword


#1

Matrix version 5.4.3.1

Hi all,

Does anyone know of a way to exclude certain paint layouts when using the %asset_contents% keyword?

Basically, we’re pulling content through from a child page and we want to pull through content inside CCT’s and paint layouts, however we don’t want to pull through content that is purely written in the paint layout (otherwise it will duplicate content that is on the parent page).

Thanks.


(Bart Banda) #2

If you use %asset_contents_raw%, it will not use the PL applied to the Standard page, but it will include the PL applied to the Content Containers that are using Content Templates applied. Is that what you want?


#4

Ignore the deleted post above, I replied to the wrong post!


#5

Hi @Bart.

It’s partly what I’m looking for, however I need to allow only certain CCT’s/PL’s to be pulled through.

I need to use a modifier with %asset_contents_raw% to pull through a particular paint layout asset ID.

Thanks.


(Bart Banda) #6

So you want to nest in the Standard Page, but using a specific PL applied to the SP? Or do you want to nest in the Standard Page, without any PL applied to the SP, and different PLs applied to each Content Container inside the SP?

Can you explain a bit more about your use case and what your end goal is?