hi...
i am now using javascript to retrieve the details...
my approach is like this,
+lto create 2 hidden variables on the login form..
+and on clicking the login button(onsubmit event) on the login form,i am
trying to assign the username and password to the hidden variables.
+then retrieve the details from the hidden variables.
for this,
i created 2 hidden varaibles on the login form.
first to just try with, i wrote a javascript function on the
plone/data/products/plone_depricated.login.js
which fires a alert box.
and wrote onsubmit=getuserdetails()
[note: at first i wrote the javascript function directly on the login
form.and called it at onsubmit event ..did not work!]
but the event not firing up!
plzz help me.. its been a long time since i am on this task!
regards,
srivalli
Andreas Jung-5 wrote:
>
>
>
> --On 25. August 2008 08:51:26 -0700 srissri <srivalli.gunturi@...>
> wrote:
>
>>
>> i am new to programming in plone, python and ZMI...
>> i created a page template;i was trying hard to understand the framework
>> like where to put ,how to call the python methods.
>
> Such code belongs into a "PythonScript" or "BrowserView" _called_ by some
> page template (magic terms in quotes).
>
>
>>
>> to get basic understanding,followed the tutorial,
>> http://www.ifpeople.net/fairsource/courses/material/apiPlone_en
>>
>> can anyone please let me know where should i use this method in plone to
>> retrieve the details?
>> and good documentation for using python in plone and plone api?
>>
>
> You should really look at Martin Aspeli's book in order to get an overview
> how to do things nowadays.
>
> Andreas
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Plone-Users mailing list
> Plone-Users@...
> https://lists.sourceforge.net/lists/listinfo/plone-users
>
>
--
View this message in context: http://n2.nabble.com/to-get-the-user-id-and-password-from-plone-tp732802p797987.html
Sent from the General Questions mailing list archive at Nabble.com.
|