[Typo3-UG Denmark] userTS spørgsmål.

Stig N. Færch stig at 8620.dk
Mon Oct 25 09:59:51 CEST 2004


Prøver lige et mere spørgsmål jeg ikke kunne få svar på i typo3.english.

Jeg indsendte dette indlæg i typo3.projects.tt-news:

>> When I'm admin and creating a new newsitem, the fields Author and
Email
>> are automatically filled.
>> Now I tried to create a new usergroup for a user, - just for adding
>> news. But when I create a new newsitem with this user Author and
Email
>> are not filled in automatically.
>>
>> Do I have to permit something special... or?
>> Any ideas?
>
> put this into the userTS:
>
> TCAdefaults.tt_news.author = Name of the current User
> TCAdefaults.tt_news.author_email = Email of the current User

Det er den sidste del herunder jeg er interesseret i.
Kan det lade sig gøre at bruge en eller anden variabel, så det bliver
defineret automatisk hvad der skal stå i f.eks.
TCAdefaults.tt_news.author.
Kan man tilgå de informationer der er indtaster under
indstillinger/Setup i backenden, på en eller anden måde?

> PS: BUT
>
> there could be a smoother way to set this dynamically for a whole
> usergroup. Something like this would be cool in the userTS:
>
> TCAdefaults.tt_news.author = {$username}
> TCAdefaults.tt_news.author_email = {$useremail}


Mvh Stig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 135 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-ug-denmark/attachments/20041025/75846a31/attachment.gif 


More information about the TYPO3-UG-denmark mailing list