I have bee using the Goran post here: https://www.i-do-this.com/blog/Another- ... MS-Page/57 to get this to work. However the code is for version 1.1x.x of CMSMS and I cannot find anything that relates to hierarchy for version 2.2.10.
I figured out '$friendly_position' is no longer available but neither is '$position', am i missing something here.
Partial of template code below:
Code: Select all
{capture assign="hierarchy_us"}2{$friendly_position|substr:'1'}{/capture}
{capture assign="hierarchy_en"}3{$friendly_position|substr:'1'}{/capture}
{capture assign="hierarchy_de"}4{$friendly_position|substr:'1'}{/capture}
{capture assign="hierarchy_fr"}5{$friendly_position|substr:'1'}{/capture}
{hierarchy_position friendly_position=$hierarchy_us assign="us_alias"}
{hierarchy_position friendly_position=$hierarchy_en assign="en_alias"}
{hierarchy_position friendly_position=$hierarchy_de assign="de_alias"}
{hierarchy_position friendly_position=$hierarchy_fr assign="fr_alias"}
Mark