CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Feature #33066

Fill in author automatically

Added by Christopher Seidel over 1 year ago. Updated over 1 year ago.

Status:Closed Start date:2012-01-09
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
TYPO3 Version:4.7 Has patch:No
PHP Version: Complexity:
Votes: 0

Description

Hi,

in tt_news it is possible setting the author name and e-mail address automatically while creating a new news. The name and email are fetched of the logged in backend user. Maybe it is possible to realize that for news aswell because it would speed up the creation process of news.

T3X_newsextended-0_0_0-z-201201121133.t3x (4.9 kB) Georg Ringer, 2012-01-12 11:38

History

Updated by Georg Ringer over 1 year ago

  • Status changed from New to Needs Feedback

you mean using this in the UserTsConfig

TCAdefaults.tx_news_domain_model_news.author = Name of author
TCAdefaults.tx_news_domain_model_news.author_email = author@example.com

? This is not a feature of tt_news but of the core. you can do this with any table.

If you mean something else, plesae explain how it is configured in tt_news.

thanks

Updated by Christopher Seidel over 1 year ago

Thanks for your feedback but this wouldnt be nice because we have many many authors. Now i found it: i'm sorry it's not a function of tt_news but it's a very small extension:

http://typo3.org/extensions/repository/view/cron_setdefaultauthor/current/

I think this is the very little code:

if (t3lib_extMgm::isLoaded('tt_news')) {
$this->TSdataArray[]='
// Setting defaults for tt_news author / email...
TCAdefaults.tt_news.author = '.$this->user['realName'].'
TCAdefaults.tt_news.author_email = '.$this->user['email'].'
';
}

I think it would be nice if the news extension would come with this feature out of the box.

Updated by Georg Ringer over 1 year ago

  • Status changed from Needs Feedback to Closed

so this need to be added to cron_setdefaultauthor and not to ext:news

i will report it to ernesto

Updated by Christopher Seidel over 1 year ago

Of course it could be integrated in cron_setdefaultauthor but why dont offer the functionality out of the box?

Updated by Georg Ringer over 1 year ago

not that easy and cron_setdefaultauthor does use XCLASS which I really want to avoid. If Ernesto won't do it, I will come up with a different solution

Updated by Georg Ringer over 1 year ago

just released ext:newsextended to TER. this will include this feature

Also available in: Atom PDF