TYPO3: sys_file_reference disable new field in Text & Media - typo3

I have extended the sys_file_reference to a new field.
The new field is also displayed in text & media. How can I disable it?
The new field should only be displayed under page ressources?
Thank you.
Typo3 7.6.x

You need to change the TCA of pages and add the field to the foreign_types only there. Check out how I do it in my news extension https://github.com/georgringer/news/blob/master/Configuration/TCA/tx_news_domain_model_news.php#L565-L602

Related

Kentico form - captions inside form element

I am guessing this is really simple but I haven't been able to work out a solution.
I have created a form in Kentico and need to show the caption in the form element itself. I can do this in bootstrap but cannot seem to get this to work in the form editor. I am guessing this is because of the id kentico assigns to each form element.
An example would be the search box used on the stackoverflow site.
Does anyone have an idea how to do this?
Thanks,
When configuring some text field and form control is Text box under Editing control settings click 'Advanced' you will see the Watermark section, where you can put your caption (Text field). This caption will be displayed in form element.

why format list in tinymce RTE is empty in umbraco?

in my umbraco system when i try to create a content in RichTextbox format list is empty as below picture:
I have searched in google and found this issue on umbraco issue tracker and do its guide line but there was no result. how can I fix this issue?
Login to umbraco backoffice and go to Settings>Stylesheets section and create a rte style sheet with all the css classes in it.
Add a new rte.css class to your umbraco solution's css folder if there isn'T one already and update the css classes according to your values in umbraco backoffice.
Go to Developer>DateTypes and select SimpleRTE and in the Stylesheets section, check rte as your stylesheet.
The in your content page, you will see the formats list as shown below.
Please see screen shots for more details. Hope it helps.

TYPO3 TCA - Display or hide tabs at treelevel

For an project, I have extended the TYPO3 TCA with a extra extension, named "project_extends". Now, I have all new TCA Objects - sorted in tabs - on every Treepoint/Contentpage, to configurate some fluid templates or extensions.
For example: I have three tabs, named "Tab1","Tab2" and "Tab3".
Now I want to display Tab1 and Tab3 at the second tree-level of the contentpages, but not at level one.
I don't found a understandable solution via google & co and hope here of helpful solutions :)
That's simple, to hide whole tab you just need to disable ALL fields which are visible on it.
To do this open page properties, find Page TSconfig field and for each field you want to disable add something like this:
TCEFORM.tt_content.list_type.disabled = 1
in this sample tt_content is a required table and list_type is the field. Normally (without above config) it should be visible as only field on the Plugin tab when inserting TT content with type Insert Plugin , however while you disabled it will be hidden and also tab will disappear.
Tip: you can recognize these values using some browser inspection tool, i.e. FireBug of Firefox.

In TYPO3 6.x BE, how to enable another doktype's fields in a sysfolder

In TYPO3 6.x, I have a sysfolder where I would like to enable the "abstract" and "media" fields in the Backend page settings. How can this be done?
PS The reason for is that I need their contents cascading to subpages. But the sysfolder/page they're on can't be displayed in the FE, so I want to prevent editors from adding content.
The easiest workaround without manipulating the TypoScript (so it can be clicked-out in 5 seconds) is creating a Shortcut instead of SysFolder, it will behave similar, but you'll keep the page typical fields. Theoretically SysFolders shouldn't be used for storing subpages therefore Shortcuts are more appropriate
Create a Shortcut page type and set its mode to First subpage of selected/current page
Hide this page in menus
If using RealURL check the Exclude from speaking URL checkbox.
Create subpages of that.
That's all

Is there any way to enable or disable check box RTE below the bodytext for tt_news in Typo3

Generally there will be checkbox for disable rte in normal content element.
I need same functionality for ttnews rte.
Any suggestions how to do it ?
In the folder(s) where your news records are stored, paste this into the TypoScript Configuration (in the page properties):
RTE.default.disabled = 1