stepofweb theme layouts?

65 views
Skip to first unread message

pumplerod

unread,
Nov 10, 2015, 5:03:39 PM11/10/15
to web2py-users
I'm coming over from PHP where I was using the "Smarty" theme template from stepofweb.

I'd like to build this into my web2py site. 

Has someone already done this? Or is there a best practice for implementation?  For example, should I try and create a "layout plugin" to accomplish this?


Massimo Di Pierro

unread,
Nov 11, 2015, 10:29:59 AM11/11/15
to web2py-users
No layout plugin.
I works as with any other template. Remove the PHP tags, copy index.html into layout.html. Fix the links to static files (put them in static) and add the web2py tags {{...}} as exampled in the book.
Reply all
Reply to author
Forward
0 new messages