Hi,
Basically I’m trying to list group of assets so that it matches the asset tree map and when you move assets up/down the tree it should replicate it on front end.
Has this functionality been added since this post this post
This has worked for a long as I can remember.
In your asset listing make sure you have "Direct Links Only" to YES (which means you can only list direct children like this) and asset sorting set to No Sorting. Then the asset listing will mirror the order of the asset map.
If for some reason you are needing multiple levels, I would use a Site Map asset.
I can get it to show for normal list of assets but not for Custom Groups.
My asset tree looks like this for example:
Folder 1
- Folder 1.1
- Comment
- Comment
- Folder 1.2
- Comment
- Comment
Folder 2
- Folder 2.1
- Comment
- Comment
- Folder 2.2
- Comment
- Comment
With this site structure I'm trying to seperate Folder 1 and Folder 2 into its own separate group, use the child folder as section title for the comments, and comments used as content.
Everything works fine but when I move assets up or down the tree there is no change on front end.
[quote]
I can get it to show for normal list of assets but not for Custom Groups.
[/quote]
Sorry, didn't realize you were using grouping. If it isn't working how you would expect, I would just use the list_current_asset_id feature where you will have more control over grouping and can then list the group children in asset map order.
As nic mentioned, the list_current_asset_id feature is what you're after.
For this you'll need to create 2 asset listings, one that first looks for Folder assets (with Direct Links set to Yes) and then a second listing which looks for Comment assets. The second listing is Nested within the first (in the Type Format for "Folder") and uses the Dynamic Parameter (Session variable) of list_current_asset_id.
If you need to learn more about list_current_asset_id I wrote a blog post about it: http://www.zedsaid.com/blog/understanding-the-power-of-list_current_asset_id-in-squiz-matrix
Awesome, thanks for the help.