phpgroupware-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-users] add link to menu


From: Chris Weiss
Subject: Re: [Phpgroupware-users] add link to menu
Date: Thu, 27 Mar 2003 15:13:00 +0000

the login name can be gotten via $GLOBALS['phpgw']->accounts->id2name($GLOBALS
['phpgw_info']['user']['account_id'])

and from looking at the email app, it seems the password is in $GLOBALS
['phpgw_info']['user']['passwd']


address@hidden (address@hidden) wrote:
>
>Dave,
>
>this works very well! Now i wish i could pass the phpgw login/passwd to my 
>apps. My
>users get annoyed if they have to login every some clicks again. is it stored 
>in
>some variable that i can simply use in my apps? (don't know anything about 
>php...)
>
>Thanks
>Jens
>
>Dave Hall (address@hidden) wrote*:
>>
>>address@hidden <address@hidden> wrote:
>>
>>> sure. for example i want to add a link to smartsieve (would
>>> be /smartsieve/index.php then). and also to a self-written sms-
>>> mailer on
>>> localhost. maybe 2 or 3 other things. not sure yet.
>>
>>ah ok ... so not phpgw apps.
>>
>>Probably the easiest way to do this, would be to write simple header
>>redirect scripts.
>>
>>something like this:
>>
>><?php
>>header('Location: http://mydomain.com/smartsieve/index.php');
>>exit();
>>?>
>>
>>save this as /path/to/phpgroupware/smartsieve/index.php
>>
>>Then in admin applications add an application smartsieve, then grant
>>users access to them.
>>
>>This should work - if not you have a good start
>>
>>Cheers
>>
>>Dave
>>
>>>
>>> thanks
>>>
>>> Dave Hall (address@hidden) schrieb:
>>> >
>>> >Woerns Urstmann <address@hidden> wrote:
>>> >
>>> >> hi,
>>> >> i would like to add some own links to the phpgw-menubar. how/where
>>> >> can i add
>>> >> those? best would be if they just open in a new window (leavin the
>>> >> phpgw
>>> >> menubar intact would be quite complicated, wouldn't it?).
>>> >>
>>> >> what i need is like:
>>> >> menu:
>>> >>
>>> >> - home
>>> >> - mail
>>> >> - calendar
>>> >> - addressbook
>>> >> - ...
>>> >> - (my own link#1)
>>> >> - (my own link#2)
>>> >
>>> >What are these links for? Applications other sites?  Gimme some more
>>> >info and I can give you the best solution :)
>>> >
>>> >
>>> >>
>>> >> thanks
>>> >> jens
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> _______________________________________________
>>> >> Phpgroupware-users mailing list
>>> >> address@hidden
>>> >> http://mail.gnu.org/mailman/listinfo/phpgroupware-users
>>> >>
>>> >
>>>
>>>
>>>
>>> _______________________________________________
>>> Phpgroupware-users mailing list
>>> address@hidden
>>> http://mail.gnu.org/mailman/listinfo/phpgroupware-users
>>>
>>
>
>
>
>_______________________________________________
>Phpgroupware-users mailing list
>address@hidden
>http://mail.gnu.org/mailman/listinfo/phpgroupware-users
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]