Displaying asset_contents of all pages in a Multiple Page asset


(Birdg) #1

Hi,

 

We are on 5.0.2. (Yay!)

 

I want to use a Multiple Page asset to build a long page with multiple sections (ie each page inside the Multiple Page asset would count as one section). However, when I try an asset list to loop through the pages in the Multiple Page asset, it only prints the first one.

 

What could I be doing wrong? Is this possible?

 

Thanks,

 

Graham


(Anthony) #2

I've never heard of the multi page being used in that way. Have you set the asset listing so it matches the child pages and not the parent?

 

Alternatively could you achieve what you want by having separate standard pages (instead of the multi page) and then nesting them within your top level page? Alternatively if you need it a bit more dynamic could you use a bit of jQuery to AJAX the separate pages where you need them? There's probably a SQIUZ querystring that you append to the URL of the multi page in order to retrieve each separate page, so you could dynamically loop through and grab each one in turn.


(Birdg) #3

Hi,

 

Thanks for your reply. I thought of having a standard asset list to list child pages but I wanted to explore the Multiple page asset first as this seemed more "self-contained". However, it seems that Multiple Page pages cannot be edited via Edit+ so that's not going to work for our authors.

 

I'll stick to the asset list and child pages option I think.

 

:)

 

Graham