Welcome Guest, Not a member yet? Register   Sign In
Use deep nested array in view parser
#3

Yes, there is a way to achieve this without using PHP. You can use a looping construct such as a "for" loop. For example:


Code:
{{nav:footer}}
<h1>{{name}}</h1>
<h2>{{link}}</h2>

{{#for children}}
    <h3>{{name}}</h3>
    <h4>{{link}}</h4>
{{/for}}

{{/nav:footer}}
Reply


Messages In This Thread
Use deep nested array in view parser - by sjender - 12-28-2022, 09:27 AM
RE: Use deep nested array in view parser - by Sprint - 01-03-2023, 06:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB