TYPO3 Every internal link (Navigation too) has a target=_blank - typo3

after an upgrade from v7.6 to v8.7 and executing the upgrade wizard every link in content and navigation has a target="_blank".
Can anybody help me?
Best regards

In your Typoscript:
To open internal links in the same window:
either set config.intTarget = _self (TYPO3 11 documentation)
or completely remove config.intTarget, as _self is the default <a> target attribute value
To open external links in a new tab/window:
set config.extTarget = _blank (TYPO3 11 documentation)

You can set the value of PAGE_TARGET to a empty value in TypoScript constants:
[PAGE_TARGET] =

Related

reactivate saveDocView Buttons in TYPO3 9

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.

TYPO3 7.6 TCEFORM Custom Layouts doesn't work

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.

how to completely remove more link in typo3 news subhead

Does anyone know how I can completely remove the [more] link that appears next to the subheader in tt_news items in typo3? I've tried the following, but neither removes the anchor tag that is generated:
_LOCAL_LANG.default.more =
_LOCAL_LANG.default.more >
Any help would be appreciated.
In tt_news v3 list view, use
plugin.tt_news.displayList.subheader_stdWrap.append >
With _LOCAL_LANG you can only override or clear language labels. The tags are generated in the code or templates.

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 with TemplaVoila missing Backend Content View

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.