[TYPO3] Re: [Typo3] Username in standard mail forms

bernd wilke xoonsji02 at sneakemail.com
Thu May 8 23:16:37 CEST 2008


on Thu, 09 Sep 2004 11:47:57 +0700, thomas.maschutznig wrote:

> I created a standard mail form on a page only accessible for logged in
> users. I would like to know, is it at all possible to insert the
> username of the currently logged in user as a hidden field into that
> form using only the "Configuration" of the mail form in the Page module?
> 
> Martin Erichsen and Peter Klein posted a solution to the list/FAQs ("how
> to display the username of fe_user") how to insert the username using a
> PHP include but Martin created a form using a typoscript template and
> replaced the ###USERNAME### marker with the content from the PHP script.
> I want to insert the username into a normal pagecontent "mail form"
> without having to create the whole form in typoscript! How can this be
> done?

for this I created long time ago an extension wich fills in form-fields 
with javascript which you must insert in the page behind the form. 

You have to name this fields like the fields from the fe_user-records.
They may be hidden.

look for 'formfill'
(documentation in readme.txt)


bernd
-- 
http://www.pi-phi.de/t3v4/cheatsheet.html


More information about the TYPO3-english mailing list