Using a GET keyword in the Assets Per Page of the List Formatting of an asset listing


(Buttrose) #1

In the List Formatting section of an asset listing, the Assets Per Page can be set either as a number or as a keyword, which evaluates to a number.

 

Question 1

 

Together with setting the A-Z listing style to a single page, is this the only way to limit the number of assets that are listed?

 

 

Question 2

 

I have another page which nests an asset  listing. I can pass a GET var to the nested content, let say numAssetsToList.

 

This can be picked up for display with the keyword %nested_get_numAssetsToList%. So, the nested content is getting this value.

 

However, if I use  the keyword  %nested_get_numAssetsToList% to set the Assets Per Page it is not recognised (=0).

 

Why is this?


(Peter McLeod) #2

Hi

 

Re Q1: can also set limits to groups if you use a custom grouping format - not sure what your specific requirements are, but it could give you some other options to achieve it.

 

Re Q2: using a nested_get value in assets per page seems to work ok for me on a standard list format - are you applying it to a  standard / custom grouping or to an A-Z format?

 

Thanks

Peter