It would be good to give me a (small) sample project so I can find out what went wrong.
Some questions to ask oneself:
1. did it show any errors in the browsers log?
2. did it find the #template id after loading the first layout?
dim tmpObj as BANanoElement
tmpObj.initialize("#template1")
log(tmpObj)
3. What generated html did you expect (what is in de layouts)?
4. Did you have only one tag with 'template1' as id? (I say this because I had it recently that two layouts used the same name for a component and it gave me trouble as they need to be unique in html)
Alwaysbusy