Hi,
I have one Asset Listing Page (asset ID: 638168) that accepts a GET parameter called ‘root’. I have a standard page that will query the Asset Listing Page by using:
%globals_asset_contents_raw:638168^with_get:root=16776%
%globals_asset_contents_raw:638168^with_get:root=19953%
%globals_asset_contents_raw:638168%
where 16776 and 19953 are the IDs of the assets to list.
When accessing the Asset List page directly, everything works as expected.
However, when accessing via the standard page, it will only list the result IF I append the GET variable ‘root’ to the URL. E.g.:
http://www.monash.edu/bytes/standard-page?root=16776
http://www.monash.edu/bytes/standard-page?root=19953
In addition, regardless of what value is being passed to the ^with_get: modifier in the standard page, only the assets under the one with the ID being passed in the URL will be returned. For example:
If I access the Standard Page via http://www.monash.edu/bytes/standard-page?root=16776, the assets under 16776 with be printed three times even though I have the three statements below with different (or no) IDs passed to the globals_asset_contents_raw.
%globals_asset_contents_raw:638168^with_get:root=16776%
%globals_asset_contents_raw:638168^with_get:root=19953%
%globals_asset_contents_raw:638168%
If I access the Standard Page via http://www.monash.edu/bytes/standard-page, ‘no result were found’ will be returned.
I tried both %globals_get_root% and %nested_get_root% in the Page Contents and Page Contents (No Result) and they share the same behaviour (i.e. both keyword replacements will ONLY show the ID being passed in the URL)
I have also tried to set up the pages according to this resource but it again has the same behaviour.
I would very much appreciate if anyone can shed some light on that.
With thanks,
Eddie.