I've forgot to say that I've imported the plug in plugin_t2....

the thing that I'm trying to do with T2 is to display the user information
(a model that extends Auth) in a page where there are other informations and
forms....

On Fri, Feb 6, 2009 at 9:02 AM, Sebastian E. Ovide <sebastianov...@gmail.com
> wrote:

> in my model I've added:
>
> from applications.plugin_t2.modules.t2 import T2
> t2=T2(request,response,session,cache,T,db)
>
> and in one action I added (this line causes the error)
>
> theUser=t2.display(db.auth_user)
>
> )
>
> The cuntionality that I'm interested on is the image preview and zoom....
>
> thanks
>
>
> On Fri, Feb 6, 2009 at 1:51 AM, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
>>
>> Mind that t2 does not expose any action.
>>
>> You have to install t2 with the name "plugin_t2" you cannot rename
>> plugins. And use it in your own applications as explained in
>>
>> http://mdp.cti.depaul.edu/examples/static/t2.pdf
>>
>> Mind that the new web2py (1.56) has new APIs
>>
>> http://mdp.cti.depaul.edu/examples/default/tools
>>
>> That replace most of T2.
>>
>> Massimo
>>
>> On Feb 5, 9:13 pm, "Sebastian E. Ovide" <sebastianov...@gmail.com>
>> wrote:
>> > Hi All,
>> >
>> > I'm testing T2 and getting an "invalid function" error and nothing else
>> !...
>> > cannot find any log file nor a ticked with further information....
>> >
>> > any ideas?
>> >
>> > how can an error like that be debugged ?
>> >
>> > thanks
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to