In TYPO3 9 the save and view button for tt_content and pages is missing. I tried reactivating it via user.ts:
options.saveDocView.tt_content = 1
options.saveDocView.pages = 1
Unfortunately nothing happens. Can someone help? Alternatively, is it possible to view the whole TCEMAIN config somewhere as you can with the TCA? Maybe I could go search there...
The feature you're looking for has been removed.
With TYPO3 version 9LTS a new concept for save document buttons was introduced.
See epic issue "Save Button Gate" on forge https://forge.typo3.org/issues/84751
See also concept here https://docs.google.com/document/d/1Pr85TllSeuYvy5pxUz9A2k-YFrJNW5J5FuCVpuPkYPY.
options.saveDocView will just handle visibility of the single view-button for current document.
options.saveDocView = 1 is default for TYPO3 v9LTS.
options.saveDocView.pages = 0 fx. will override defaults and disable the view-button for entries of table pages.
Related
How can one play around with TypoScript code shown in documentations about TypoScript?
Tested with a local Typo3 test instance, Typo3 version 9.5.5, Official Introduction Package installed.
In the backend, create a new page in the tree. Rightclick -> enable it (the red overlay should disappear). Make sure it is selected in the tree.
Click on the blue Template button on the left. Usually it will show you the blue No Template message.
Make sure on the top Info/Modify is selected from the drop down.
Click the gray + (New record) button under the drop down.
On the bottom, click Edit the whole template record.
Optionally give it a speaking template and website title, like 'Playaround' and 'Play Around'.
Optionally, under tab Options -> Clear, select Constants and Setup - this will clear everything this Template has inherited from parent templates, but will also disable the debug infos at the bottom of the frontend for this page (if you have installed the Official Introduction Package).
Under the tab General -> text entry Setup, enter the following TypoScript:
page = PAGE
page.10 = TEXT
page.10.value = Hello World
press the Save and then the View button.
A new tab opens, showing you the frontend for your page, printing the text 'Hello World'.
Now you can play around with the code examples given in eg. the TypoScript Reference.
Funnily enough, I just found out that Typoscript is by definition not a programming language, but a configuration description. That's why Typo3 is needed as a substructure for this, I think. There seem to be online demos of Typo3 on the net, but I don't know whether they are up to date and whether you can test TypoScript there. Therefore access local containers / installations as suggested. Or if the possibility exists a dev subdomain.
When adding a certain tyle of link in TYPO3 RTE. We always have to resize the wizard window because we can't see all the options on the right.
Is there a way to set the height and width of the RTE wizard in TYPO3 when adding a link ?
Current setup:
- TYPO3 7.6.23
The following code has to be inserted in the field "Page TSConfig" in the page-properties of the root-page, then the configuration is available for all pages.
After saving the windows to create / modify links have the defined size.
The numbers can be adjusted to the own needs but is then configured for all users.
RTE.default {
buttons.link.dialogueWindow.width = 800
buttons.link.dialogueWindow.height = 800
}
To adjust the windows related to further buttons the lines can be copied and then link has to be replaced by the name of the button.
A full list can be found here:
https://docs.typo3.org/typo3cms/extensions/rtehtmlarea/Configuration/PageTsconfig/interfaceConfiguration/Index.html#showbuttons
An explanation of all options related to buttons.[ button-name ].dialogueWindow can be found here. Scroll down to see all the options, they're listed and explained one by one.
I upgraded TYPO3 6 to 7.6.x and now I can't choose custom layouts in the backend for any content elements in the backend. I only see the default options like "layout 1, layout 2". The reason is obviously that my TCEFORM addings doesn't work..
The following typoscript won't have any effect in a ext-template of a page or in the root setup.ts:
TCEFORM.tt_content.layout.altLabels.2 = Test
TCEFORM.tt_content.layout.removeItems = 2,3
TCEFORM.tt_content.layout.addItems.5 = New Item
I know the problem description is a bit inaccurate. But I don't see the relevant infos which u need. Can u give me an advice what I have to check? Are there known conflicts with extension like fluidcontent, css_styled_content or so?
TypoScript configuring the back end is (though TypoScript by syntax) often called TSConfig and can be added either in page records or via user settings but never in extension templates or similar.
Configuring TCEFORM is usually done in page properties. To add, open page properties of your root page (or the topmost page of the subtree you want to configure) and add your code there.
As in front-end TypoScript you can swap your code to external files.
You need to add this typoscript on Root Page in Page TSconfig.
Edit root page properties and add your typoscript in Resources tab in Page TSConfig section like below image, so it's work fine.
I use this TYPO3 news extension.
I want to disable paging though typoscript. The option for it is plugin.tx_news.settings.hidePagination so I tried this
plugin.tx_news {
settings.hidePagination = 1
}
But this doesn't work. However setting plugin.tx_news.settings.list.paginate.itemsPerPage to a very large value does work. But that isn't a very nice solution.
Have I missed something on how to set hidePagination?
Theres a checkbox in the tx_news plugin.
Additional -> Hide the pagination
It seems to overwrite the TS (unchecked by default).
Does
plugin.tx_news {
settings.hidePagination = 1
}
get called in your template?
You can always check this with
<f:debug><{settings}</f:debug> to see what get's parsed.
The option to hide the pagination only hides the pagination in the frontend and does not show all news entries at one page. You can only set a high number to the list View to show all entries at one page. I think, there is no other solution at this time.
To override the values set in the news plugin flexform, you have to add the field to plugin.txnews.settings.overrideFlexformSettingsIfEmpty.
To add the field in question to the news extension standard list add this to your TS:
plugin.txnews.settings.overrideFlexformSettingsIfEmpty := addToList(hidePagination)
After setting up TemplaVoila like ever i end up in this view.
I set up TV with the wizard. all example pages and content elements were there (i deleted them after)
but they werent visible in Page view. also there are no "new contentelement" icons and all that stuff.
Heres the typoscript:
page = PAGE
page.typeNum = 0
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main_page
No errors, installed everything like 20 times before. Just another TYPO3 Version 4.6.3 - but theres nothing to if there are some conflicts with TV and TYPO3 4.6.3
Check your TemplaVoila mapping. This usually happens when you don't have an entity for content elements mapped.