TYPO3 gridelements not selectable - typo3

I'm running a TYPO3 webseite with TYPO3 version 7.6.16 and the extensions gridelements 7.0.5. In backend the selection for gridelements is empty ... what could be the reason?
also missing is this tap in new page item wizard

Did you follow the steps in manual?
https://docs.typo3.org/typo3cms/extensions/gridelements/Chapters/Installation/Index.html
Include static template
Create some CE backend layouts
Create new Grid Elements

Related

How to setup icons for content elements or plugins in a TYPO3 extension

How are icons configured for content elements and plugins? Is there a shortcut to make it possible to configure it only once and not in 3 places?
AFAIK, there are 3 places to configure icons when creating new custom content elements & plugins in the TYPO3 backend:
New Content Element wizard
What is visible in the CType / list_type select list when you edit the content element (CE)
What is visible in the Page Layout view
I am not aware of any shortcuts, this is the way I do it.
First, register an icon identifier to reference your icon, see official TYPO3 documentation: Icon API > Registration.
You can register for example SVG icons or Font Awesome icons.
Next, make sure the icon is configured correctly in these 3 places:
1. New Content Element (CE) wizard
Is configured in Page TSconfig
e.g. (use the previously registered icon identifier)
mod.wizards.newContentElement.wizardItems.common.show:=addToList(extkey_plugin)
mod.wizards.newContentElement.wizardItems.common.elements.extkey_plugin {
iconIdentifier = my-icon
# ...
}
TYPO3 documentation: Add content elements to the Content Element Wizard
2. CType / list_type select list:
For Extbase plugins this is configured via registerPlugin (parameter 4)
Configuration/TCA/Overrides/tt_content.php:
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'ExtkeyInCamelCase',
'PluginIdentifier',
'plugin title',
// icon
'my-icon');
TYPO3 documentation: Extbase Plugin registration
For non-Extbase plugins, the icon can be passed via addPlugin.
For content elements, this can be configured via TCA:
Configuration/TCA/Overrides/tt_content.php:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'tt_content',
'CType',
[
'Title',
// plugin signature: extkey_identifier
'myext_plugin',
// icon identifier
'my-icon',
TYPO3 documentation: Register the content element
3. In the Page Layout view:
For content elements, you can set it in TCA:
Configuration/TCA/Overrides/tt_content.php:
$GLOBALS['TCA']['tt_content']['ctrl']['typeicon_classes'][$pluginname] = 'my-icon';
TYPO3 documentation: typeicon_classes
For plugins, the icon in the page layout view is already automatically registed via registerPlugins (since TYPO3 v11.5.12).

Typo3 7.6.22 Bootstrap Package / RTE / unable to use font colors

in my current configuration (TYPO3 CMS 7.6.22 Bootstrap Package) the font color picker in RTE does not work. can you help?
I added this TypoScript to PageTSConfig
now it is possible to select colors in RTE
but after saving the page - the color disappiered in RTE and is not displayed in the frontend
here is my template configuration.
Thanks to Thomas Löffler!
after changing the pageTSConfig, the format functions are working!

Flux and TYPO3 6.2.7 / 6.2.9

I tried the latest versions of flux in a fresh TYPO3 Instalaton 6.2.7 and 6.2.9.
I used the same templates for fluidcontent and fluidpages and it dont work properly.
The Page Grids dont work. (The default TYPO3 Grids are shown)
And the grids in the content elements dont work too.
Is there a solution for this?
If it shows the default TYPO3 columns, you probably did not select the fluidpages backend layout in the page record. In recent fedext/TYPO3 versions, you need to edit the properties of your root page and set both "Backend Layout (this page only)" and "Backend Layout (subpages of this page)" to "Fluidpages" in the "Appearance" tab

How to make TSConfig work in TYPO3 tx_news

In TYPO3 6.1, how do I get the tsconfig for the tx_news news extension to work?
I try to add selectable layouts to news items:
tx_news.templateLayouts {
1 = A custom layout
99 = LLL:fileadmin/somelocallang/locallang.xml:someTranslation
}
This should add the new Layout to the Type field, as in:
or did I get that wrong? Where can that new custom layout be selected?
Also, I'm trying to prefill fields in flexforms (when a new plugin is inserted):
TCEFORM.tt_content.pi_flexform.tx_news.sDEF.categoryConjunction = and
But it does not work yet.
How can this be done?
With tx_news.templateLayouts you override the flexform for the news plugin you insert on a page, not for a news record.
Your second code looks almost right, but you forgot settings: TCEFORM.tt_content.pi_flexform.tx_news.sDEF.settings.categoryConjunction = and
And even though this code is right, it will not work because of a bug with flexform fields that have a dot in their name (this is just stupid).
I think the only way to cleanly modify the flexform, is to write a small extension which overrides the default news flexform.

TYPO3 htmlArea RTE fill with content

I create in my TYPO3 Extension a RTE Editor ( http://typo3.org/extension-manuals/rtehtmlarea_api_manual/2.2.0/view/6/1/ ) and it's works fine.
But how I can put Content in the RTE? Like a "Hello World".
Thanks
Put some default content to the DB field for which you are using the RTE, you can do that in your extension OR using TCAdefaults