Unhide tt_news articles by default



 

For a basic user in my TYPO3 installation, I wanted to make all tt_news records visible (not hidden) by default.

I wanted tt_news records to be not hidden by default, but only for a specific user, who edits my "Small Talk" segments. The "Small Talk" section of my site consists of very brief news segments, kind of like Twitter "tweets", that wouldn't require any further editing once written.

So, to make sure that the "hide" checkbox wouldn't need to be unchecked for the user when new news records are created, I just edited that user's TSConfig so that the following was added:

 // Don't hide new news items

TCAdefaults.tt_news.hidden=0


Now, every new news item created by the user is automatically unhidden by default.

 

 


No comments

Add comment

* - required field

*

CAPTCHA image for SPAM prevention
If you can't read the word, click here.
*
*
 

Netdip.com is an excellent web site that's powered by TYPO3 and other great open source software. Netdip.com is also a fat free alternative to ice cream.