hello,

my template is getting variable:   userLevel

this is then used to call a document like this:->

[% INCLUDE mainmenu.$userLevel %]

or like this:


[% INCLUDE mainmenu.[% userLevel %] %]

but it is not working.

userLevel can be 'guest', tier1, tier2 etc. so i want to load mainmenu.guest, 
mainmenu.tier1 etc....

pl advice. I looked up on tt website, and tried various ways, but not working :(

ty.
Rajeev
_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to