CMS MADE SIMPLE FORGE

Products

 

[#11892] Can't display sub hierarchies with action='hierarchy'

avatar
Created By: Mich-adg (Mich)
Date Submitted: Wed Sep 12 06:52:01 -0400 2018

Assigned To: Robert Campbell (calguy1000)
Version: 2.28.4
CMSMS Version: 2.2.7
Severity: Minor
Resolution: Invalid
State: Open
Summary:
Can't display sub hierarchies with action='hierarchy'
Detailed Description:
Hi,

with the default template, i can't display the subs hierarchies, something is
wrong or missing in this part :

  {elseif $item.count gt 0}
     <a href="{$item.url}">{$item.name}</a> -> doesn't display the sub name !
  {else} ...

If i try : <a href="{$item.url}"> {$item.children[0].name} </a> i can display
the first sub hierarchy name.

Is it missing a loop code to get the children names a this place?

thx.


History

Comments
avatar
Date: 2019-07-01 12:10
Posted By: Robert Campbell (calguy1000)

The hierarchy view does not generate a recursive DISPLAY of child items,  it
allows NAVIGATION between parent and child items.
      
Updates

Updated: 2019-07-01 12:10
resolution_id: => 9