View Single Post
  #12  
Old 05 Mar 2010, 12:36
Ronny Ronny is offline
 
Join Date: Jan 2002
Question

I can't convert my custom pages until i know how to access and loop with templates again. It is nice to know how to access one single var or single var in an array but how to loop? I did try my luck with ... (but without any success, yet ...)

Template i need to loop for output

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


And the template that should display the whole looped conteend

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


$data is an array like

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


My "NAMES" template looks like this ...

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


My "names_loop" template looks like this ...

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So far i can access all the vars in my array with {vb:var names.0.name} or {vb:var names.0.age} but i can't use it in templates to loop an output.

Can anyone help, please?

Thanks.
__________________
ohhm
Reply With Quote