Hi everyone, I'm trying to include view specific data in each view header (it is actually a GTM datalayer).
I thought the best way to do it was to define a global variable in db.py and to print a variable {{=datalayer}}, the each controller will overwrite it with specific data. It seems to be working for most of my views, except: -index.html -all user.html views (login/register/profile/change_password/etc.) Any suggestions on how to make it work on index.html and user.html? What am I doing wrong? Thanks in advance, Jon. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CAK8tz33N3JGKwKBtWON3ybUjjFKAZu9qhKK5M7WeC6BVbq5m4Q%40mail.gmail.com.