Hi everyone
I would like to display the folder names that are associated with an asset listing page. e.g. the root note names of the folder that contains the asset is what I would like to display on the page.
Is there a relevant keyword anyone can suggest?
The %structured_root_node% shows the asset Id of the folder - but I want to show the folder name.
If anyone can help that would be great
thanks
This is what you would use asset grouping for. Say you are listing images, and those images are inside of a few folders. If you turn on custom grouping, then configure the group settings to group by parent asset. Then, configure that screen for folder and then edit the group format using the %group_name% keyword to print the name of the folder.
Is this what you were wanting?
Hi and thanks for your reply.
I am not sure if these instructions are what I mean - can you possibly give me a more detailed and/or step by guide as to how to apply the settings you mention.
Many thanks for your help.
[quote]
Hi and thanks for your reply.
I am not sure if these instructions are what I mean - can you possibly give me a more detailed and/or step by guide as to how to apply the settings you mention.
Many thanks for your help.
[/quote]
Sorry, maybe you need to use %root_nodes% which can be used in the Page Contents. Is this what you were wanting?
My method was to show parents of listed assets, but not necessarily the set root nodes for the listing.
thanks for your help.
the %root_nodes% keyword actually shows the folder asset ID - I am wanting to list the folder short name.
Unfortunately, up until this point have not been able to find a suitable keyword for this.
Any other advice you may have would be of much help - thanks again!
[quote]
thanks for your help.
the %root_nodes% keyword actually shows the folder asset ID - I am wanting to list the folder short name.
Unfortunately, up until this point have not been able to find a suitable keyword for this.
Any other advice you may have would be of much help - thanks again!
[/quote]
Can you not use the as_asset keyword modifier
%root_nodes^as_asset:asset_name%
http://manuals.matrix.squizsuite.net/keyword-replacements/chapters/keyword-modifiers
Dave
Hi Dave
thanks for your help.
Unfortunately, when I add this keyword on the preview screen all that is listed on the frontend is:
^as_asset:asset_name%
so, unfortunately the folder names are still not replicating to the live website.
thanks again for your help though
[quote]
Can you not use the as_asset keyword modifier
%root_nodes^as_asset:asset_name%
http://manuals.matrix.squizsuite.net/keyword-replacements/chapters/keyword-modifiers
[/quote]
This would possibly only work if there was only one root node, since if you have more than one, the %root_nodes% keyword is a comma separated list of the root nodes.
[quote]
thanks for your help.
the %root_nodes% keyword actually shows the folder asset ID - I am wanting to list the folder short name.
Unfortunately, up until this point have not been able to find a suitable keyword for this.
Any other advice you may have would be of much help - thanks again!
[/quote]
Can you show us an example of how you want the fine page to look? That might help with us knowing how to help you.
Hi Nick
Many thanks for all your help and support so far.
At this stage, please view the attached file. It will show you the asset names of some items that are contained within specific folders.
What I am hoping to show on this page instead of the actual asset names is the folder names (which are not visible).
As mentioned, the asset names within each of folders I have created currently are visible on the frontend - but I would like the folder names that contain these asset's to be visible on the live site instead then when someone clicks on these folder names - they are shown a list of all the asset's contained within that folder.
I hope this makes sense!
many thanks
example of asset's current view.png (4.87 KB)
[quote]
Hi Nick
Many thanks for all your help and support so far.
At this stage, please view the attached file. It will show you the asset names of some items that are contained within specific folders.
What I am hoping to show on this page instead of the actual asset names is the folder names (which are not visible).
As mentioned, the asset names within each of folders I have created currently are visible on the frontend - but I would like the folder names that contain these asset's to be visible on the live site instead then when someone clicks on these folder names - they are shown a list of all the asset's contained within that folder.
[/quote]
Ok, so what you want is asset grouping like I described before. That will allow you to group your assets by their parent folder, then print any keywords of that parent. Give it a try by setting up the asset listing how I have described previously, then let me know if you have any questions.