Possible to generate individual pages for each 'Data Source Record Set' asset?


(Bdebroglio) #1

I'm using the EventBrite API to generate a series of assets of type 'Data Source Record Set'.

 

I can use an asset listing to present these on a page.

 

But is it possible to generate individual pages for each 'Data Source Record Set'?

 

It would have to be dynamic, as the number of these assets can range from 0 to 10.


(Nic Hubbard) #2

Sure. Build a first asset listing to list the records. Then, build a second asset listing. Build links that go from the first asset listing to the second one (e.g. ./?a=1234?result_112442_result_page=%asset_position%), but also include the %asset_position% keyword in the query string. Then on the second asset listing, set it to display 1 page at a time and it will just load up the Data Record Set based on its position.


(Bdebroglio) #3

Thanks Nic, I think I understand that approach - sending a URL variable to a standard page, which displays content based on that variable.

 

I was hoping however to create a series of child pages under a standard page that would appear in the navigation. Do you think this is possible? The navigation is generated based off the site map in the left-hand pane. 


(Nic Hubbard) #4

Thanks Nic, I think I understand that approach - sending a URL variable to a standard page, which displays content based on that variable.

 

I was hoping however to create a series of child pages under a standard page that would appear in the navigation. Do you think this is possible? The navigation is generated based off the site map in the left-hand pane. 

 

Well, not sending the variable to a standard page, but to a second Asset Listing that will list only the record, since you are passing in the page number (second asset listing have all settings the same as first asset listing, except for showing 1 page at a time).

 

Do you mean have the parse file menu tags print these dynamic pages?


(Bdebroglio) #5

Can't modify the render file. Thanks for your help, Nic. I'll go with the approach you outline above.