Hello.
is it possible to get the asset_short_name of the parent asset for a nested content area?
I have an asset (called site name) with a nested content area
I would like to be able to display the (site name) from the nested conted area?
is that possible and if so what keywords?
thanks
An asset has no idea if it is nested or not, therefore it is not possible to display the name of the asset doing the nesting.
Can you explain what you're trying to achieve so perhaps we can work out an alternative method?
[quote]Hello.
is it possible to get the asset_short_name of the parent asset for a nested content area?
I have an asset (called site name) with a nested content area
I would like to be able to display the (site name) from the nested conted area?
is that possible and if so what keywords?
thanks[/quote]
i also got this same problem earlier :D…
i want an asset listing page to get the parent short name of the standard page nesting it.
the keyword for it is. [color="#2E8B57"]"%asset_short_name%"
and actually, i include that kword to under the nested asset listing page, and it doesnt work instead it listed the short name of the asset it lists.
so what i did is declared a script [color="#FF0000"]variable [/color]under the parent page and assigned the keyword [color="#2E8B57"]"%asset_short_name%"[/color]
to the [color="#FF0000"]variable[/color]. and the [color="#FF0000"]variable [/color]will now be carrying the keyword value to the asset listing page.
P.S.: you can check some other keywords in the keywords manual.
[quote]An asset has no idea if it is nested or not, therefore it is not possible to display the name of the asset doing the nesting.
Can you explain what you're trying to achieve so perhaps we can work out an alternative method?[/quote]
Avi, couldn't %globals_asset_short_name% be used for this? As it would print the short name of the page it is nested in.
excellent %globals_asset_short_name% did the job love your work…