Hi,
is it possible to fill the from field on the WRITE EMAIL-Screen, so it is automatically filled with the current backend user's email adress?
Thanks for any help in this respect!
From email adress - current user
-
- Phoca Newbie
- Posts: 2
- Joined: 20 Apr 2011, 15:36
Re: From email adress - current user
..Ok - as for now, I just added some code to the view file for the write screen replacing the ['form'] value with the actual user's email adress, which works fine. (The usual Joomla thing ...$some = &JFactory::getUser(); and then r['form'] = $some->email; ) around line 100.
/views/phocaemailwrite/view.html.php
I'm not a programmer, so maybe not the best place, but it works now - before that I always had the superadmin email in the field.
/views/phocaemailwrite/view.html.php
I'm not a programmer, so maybe not the best place, but it works now - before that I always had the superadmin email in the field.
- Jan
- Phoca Hero
- Posts: 48416
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: From email adress - current user
Ok
If you find Phoca extensions useful, please support the project