[web2py] ApplicationController to always call function on page load?

2013-08-28 Thread Tobias Dahlberg
Hi

I have been developing some applications using Ruby on Rails but have now 
switched to web2py. The switch have been very pleasant, I find web2py to be 
really useful and fun to develop in. I have figured out how to do most 
things that I am used to do in RoR. One thing I haven't been able to do yet 
is to create a function that ALWAYS is called before page load. In RoR I 
could create a function in ApplicationController and use a before_filter to 
make sure the function always was called before every page was loaded. 

Is there a way to ALWAYS call a function before page load? 

I guess I could create a decorator and explicitly add it before all other 
functions. Is that the best way to do it? If so, how do I create a 
decorator? 

Thanks!

BR 
Tobias Dahlberg 

-- 

--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Web2py forum plugin

2013-09-29 Thread Tobias Dahlberg
Hi 

I'm looking for a forum plugin that I can use to extend a web2py 
application. I need a forum plugin that uses web2py's normal auth since I 
need it integrated with other web2py app. 
I looked at pyforum, but it doesn't seem to use the standard auth, correct? 

Thanks!

BR
Tobias Dahlberg 

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.