NO Flexform (pi_flexform) Field in BE Permission Settings - plugins

I developed a FE Plugin which should be configurable by the editor via flexform settings (pi_flexform field in the tt_content table). Similar to tt_news or news Extension. Everything working great as Admin, but it is not possible to active the Flexform for another user... The plugin can be selected but the flexform will not render... How can I enable the flexform field.
Add. Comment: There is no table field pi_flexform in the permission settings for a BE User Group!
Please Help
Working and tested TYPO3 6.2.5 und 7.6.9
German Maillist Question:
https://forum.typo3.org/index.php/t/215053/

Please check if the TCA for the field has a setting $GLOBALS[TCA][<table>][columns][<field>][exclude] = 1. Otherwise it will not be listed in the BE user settings.

Related

How to edit: TypoScript Configuration » Page TSConfig?

I'm using TYPO3 (using ver: 6.2.11) and I want to do the exact thing as mentioned in: Rename the subheading in backend. The problem is that I simply could not find navigation link to reach the specified destination page settings » resources » TypoScript Configuration » Page TSConfig. Either it is not showing or I am not at a right start page.
You need to edit properties of the page like shown on below screenshot, if this tab/field is unavailable for you that means, you haven't proper permissions and need to ask to do this change the full admin.
You can also include pageTS config and UserTSConfig by using extension in ext_localconf.php with:
<?php
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:typo3_template/Configuration/TypoScript/userTsConfig.ts">');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:typo3_template/Configuration/TypoScript/pageTsConfig.ts">');
?>
Hope it would be helpful for TYPO3 Users!

TYPO3: how to show the field in BE only for its owner?

TCA offers the possibility for conditional displaying fields using displayCond. for an instance HIDE_FOR_NON_ADMINS allows to display field only for admin, but is there a way to display given field only for its creator, determined by cruser_id field?
Not out of the box. You can hook into TCEMAIN (DataHandler) or TCEFORM (FormEngine) to archive this.
You can however use access rights and set the rights to show the page (storage folder) only the the given backend user. Check out the access module.

How to change default settings when adding new users?

I wonder how it is possible to change the default settings for creating new users. At the moment I must remove the “live edit” permission and change the BE language to german for every single user.
I have two groups for my users AUTHOR and MAINAUTHOR. Members of AUTHOR should only have access to the draft workspace and only MAINAUTHOR’s members should have the live workspace too. (MAINAUTHOR inherits from AUTHOR and should add only the live permission.)
I found out that I can use setup.override.lang = de in the group options to change the language but I can’t find an equivalent for the live permission.
You can change the default pageTS for your own user via userTS (or for a whole group).
There you can use TCAdefaults to set default values for your be_users table.
https://docs.typo3.org/m/typo3/reference-tsconfig/11.5/en-us/PageTsconfig/TcaDefaults.html
Example from TYPO3 Core Docs for pages table
# Show newly created pages by default
TCAdefaults.pages.hidden = 0
You could try the extension sys_workflows[1] which was made for these kind of tasks. The extension should work on TYPO3 4.5 but doesn't work on a 6.2beta3 (just tested).
[1] http://forge.typo3.org/projects/extension-sys_workflows
You can configure the default values in the user TSconfig for new users. All options are described in the user TSconfig manual: https://docs.typo3.org/m/typo3/reference-tsconfig/11.5/en-us/UserTsconfig/Setup.html
Also explained is how to configure user TSconfig in general:
https://docs.typo3.org/m/typo3/reference-tsconfig/11.5/en-us/UsingSetting/UserTSconfig.html

Displaying user specific Form Fields in TCA TYPO3

Is there a way I can change the Form fields and options depending on the current user?
Like for instance, if the current user is just a Simple_User he/she should not be shown the option "evaluate". But for an Admin, the evaluate option should be available.
How can I achieve this using TCA for creating backend forms for a plugin ?
In the TCA there is the option "exclude", which gives you the option to set the permission for BackendUser or BackendGroup if the user is allowed to view/edit the field.

TYPO3 tt_news : No code given

I just inherited this TYPO3 project and have a bunch of tasks to perform with it (adding this here, and that there, etc.) and I'm at the task "Add news to the front page" and "Add a RSS feed to the site"
Well, the tt_news extension is installed and I have created 1 test news. Now I added a page content plugin of type "News" and configured it from the best of my knowledge, following the outdated manual provided with the extension, saved the page, cleared the cache and refreshed the frontend page to see this :
...What does it mean and how do I make the extension work?
Edit the content element containing tt_news extension and at the Plugin tab in select field What to display choose default view ie: Standard list view (LIST)
Also:
make sure that in Content Element's settings you choose correct
folder with tt_news records in field Other settings > Page(s)
with tt_news records
tt_news records are created by default with Hidden flag set to true, make sure that the checkbox is unchecked. (BTW this behaviour can be changed with TCAdefaults.tt_news.hidden=0 in PageTS or UserTS)