I have a list of courses, some of them is a list of associated courses (nested array), I tried using the script {{#core}} {{name}} {{/core}} where core is the name of the array of courses. I tried also intercalating the {{#.}} and {{/.}} but it still only displays the courses on level 1, but does not show those in the nested arrays.
the array been passed is like this
Array ( [0] => Array ( [courseCode] => UBSA-C700 [courseName] => Undergraduate Biochemistry [routes] => Array ( [0] => Array ( [routeCode] => C700 [routeName] => Biochemistry [type] => Core [block] => 3 [year] => ) ) ) [1] => Array ( [courseCode] => ULFA-C1A2 [courseName] => Undergraduate Biochemistry (MBio) [routes] => Array ( [0] => Array ( [routeCode] => C1A2 [routeName] => Biochemistry [type] => Core [block] => 3 [year] => ) ) ) [2] => Array ( [courseCode] => UBSA-C701 [courseName] => Undergraduate Biochemistry (with Intercalated Year) [routes] => Array ( [0] => Array ( [routeCode] => C701 [routeName] => Biochemistry with Intercalated Year [type] => Core [block] => 4 [year] => ) ) ) [3] => Array ( [courseCode] => ULFA-C1A6 [courseName] => Undergraduate Biochemistry with Industrial Placement (MBio) [routes] => Array ( [0] => Array ( [routeCode] => C1A6 [routeName] => Biochemistry with Industrial Placement [type] => Core [block] => 3 [year] => ) ) ) [4] => Array ( [courseCode] => UBSA-3 [courseName] => Undergraduate Biological Sciences [routes] => Array ( [0] => Array ( [routeCode] => C100 [routeName] => Biological Sciences [type] => Core [block] => 3 [year] => ) [1] => Array ( [routeCode] => C102 [routeName] => Biological Sciences with Cell Biology [type] => Core [block] => 3 [year] => ) [2] => Array ( [routeCode] => C103 [routeName] => Biological Sciences with Environmental Resources [type] => Core [block] => 3 [year] => ) [3] => Array ( [routeCode] => C104 [routeName] => Biological Sciences with Microbiology [type] => Core [block] => 3 [year] => ) [4] => Array ( [routeCode] => C105 [routeName] => Biological Sciences with Molecular Genetics [type] => Core [block] => 3 [year] => ) [5] => Array ( [routeCode] => C107 [routeName] => Biological Sciences with Virology [type] => Core [block] => 3 [year] => ) ) ) [5] => Array ( [courseCode] => ULFA-C1A1 [courseName] => Undergraduate Biological Sciences (MBio) [routes] => Array ( [0] => Array ( [routeCode] => C1A1 [routeName] => Biological Sciences [type] => Core [block] => 3 [year] => ) ) ) [6] => Array ( [courseCode] => UBSA-4 [courseName] => Undergraduate Biological Sciences (with Intercalated Year) [routes] => Array ( [0] => Array ( [routeCode] => C111 [routeName] => Biological Sciences with Cell Biology (with Intercalated Year) [type] => Core [block] => 4 [year] => ) [1] => Array ( [routeCode] => C101 [routeName] => Biological Sciences with Intercalated Year [type] => Core [block] => 4 [year] => ) [2] => Array ( [routeCode] => C109 [routeName] => Biological Sciences with Microbiology (with Intercalated Year) [type] => Core [block] => 4 [year] => ) [3] => Array ( [routeCode] => C108 [routeName] => Biological Sciences with Molecular Genetics ( with Intercalated Year) [type] => Core [block] => 4 [year] => ) [4] => Array ( [routeCode] => C110 [routeName] => Biological Sciences with Virology (with Intercalated Year) [type] => Core [block] => 4 [year] => ) [5] => Array ( [routeCode] => C521 [routeName] => Microbiology and Virology with Intercalated Year [type] => Core [block] => 4 [year] => ) [6] => Array ( [routeCode] => C523 [routeName] => Virology (with intercalated year) [type] => Core [block] => 4 [year] => ) ) ) [7] => Array ( [courseCode] => ULFA-C113 [courseName] => Undergraduate Biological Sciences (with Placement Year) [routes] => Array ( [0] => Array ( [routeCode] => C113 [routeName] => Biological Sciences (with Placement Year) [type] => Core [block] => 4 [year] => ) ) ) [8] => Array ( [courseCode] => ULFA-C1A5 [courseName] => Undergraduate Biological Sciences with Industrial Placement (MBio) [routes] => Array ( [0] => Array ( [routeCode] => C1A5 [routeName] => Biological Sciences with Industrial Placement [type] => Core [block] => 3 [year] => ) ) ) [9] => Array ( [courseCode] => UBSA-C1B9 [courseName] => Undergraduate Biomedical Science [routes] => Array ( [0] => Array ( [routeCode] => C1B9 [routeName] => Biomedical Science [type] => Core [block] => 3 [year] => ) ) ) [10] => Array ( [courseCode] => ULFA-C1A3 [courseName] => Undergraduate Biomedical Science (MBio) [routes] => Array ( [0] => Array ( [routeCode] => C1A3 [routeName] => Biomedical Science [type] => Core [block] => 3 [year] => ) ) ) [11] => Array ( [courseCode] => ULFA-C1A7 [courseName] => Undergraduate Biomedical Science with Industrial Placement (MBio) [routes] => Array ( [0] => Array ( [routeCode] => C1A7 [routeName] => Biomedical Science with Industrial Placement [type] => Core [block] => 3 [year] => ) ) ) [12] => Array ( [courseCode] => UBSA-CB19 [courseName] => Undergraduate Biomedical Science with Intercalated Year [routes] => Array ( [0] => Array ( [routeCode] => CB19 [routeName] => Biomedical Science with Intercalated Year [type] => Core [block] => 4 [year] => ) ) ) )
i also tried flattening the array, but that does not work either
the mustache section looks like this
{{#Core}}
<p class="paragraph-list bulletlist"> {{#.}} {{courseCode}} {{/.}} {{ courseName }} </p>
{{/Core}}