Typolinks target not working after upgrade to typo3 8.7.20 - upgrade

after upgrading from Typo3 7.6.30 to 8.7.20 my typolinks are not working correctly. The resulting links in the website have _blank as target.
No matter if the links are internal links or external links.

maybe something lets TYPO3 think you always have external URLs.
what is your domain definition, absRefPrefix, baseURL?
have you a clean https-handling?

Related

change website from old.mysite.com to new.mysite.com typo3 webserver

First: i am kind of a beginner in web administration. Please be patient ;)
I got a cloned VM from a server with a typo3 website on. i want to make it a test server to test updates and stuff before trying it on the real site.
I want the typo3 website to use staging.mywebsite.com instead of its normal url, but i am not sure where i need to change stuff in order for typo3 to work correctly.
what i did so far:
renamed the folder under /var/www/old.mywebsite.com to staging.mywebsite.com
change entries in /etc/hosts
But i am quite sure i need to change some config files too. Typo3 Version is 9.5
I found this:
TYPO3 How to change the name of a TYPO3 website
But i think thats not what i need?
Thank you in advance.
The URL for the website is defined in the site configuration, see here.
You should modify the entry point as shown in the second image of the documentation (2) or just use the slash "/".
In your example you should use "https://staging.mywebsite.com/". Please keep in mind not forget the slash "/" after the domain.

Video relations not working for tx_news on TYPO3 7.6

I have been developing a site with TYPO3 6.2.15 and using the extension tx_news to show, well, news. Setting "Use FAL relations instead of news media elements" to "FAL + Multimedia" I could create relations with YouTube files, and they were shown in the frontend, both detail and list (if they have "Show in preview views" checked) page. The problem now is that after updating to TYPO3 7.6.2 they don't show up anymore. Gone, they appear in the backend if you edit a news record, but not in the frontend.
I know, in the documentation it says that the integration of audio and video is still to be done:
https://docs.typo3.org/typo3cms/extensions/news/stable/singlehtml/#video-audio-file
but it worked with TYPO3 6.2, so I assume it should work too with 7.6 too. The tx_news version I am using is 4.0.0.
Has anybody had the same issue and knows how to solve it?
The CE media element was removed in TYPO3 7LTS. In order to keep the old behaviour there is a system extension "mediace". I would install and configure it (f.e. add the static typoscript).
The custom media rendering has been removed in the master (upcoming 5.0.0) in favor of FAL. The best solution is to use
<f:for each="{newsItem.falMedia}" as="mediaElement">
<f:media file="{mediaElement}" class="img-responsive" />
</:for>
as this uses the renderers of FAL which can be of course also be extended by custom solutions.

TinyMCE with CDN on Contao 3.x

I have a Contao 3.x website where I use CDN for the assets. The problem that gives rise to on the backend is that TinyMCE does not work anymore. I read that there is a different cdn js for loading TinyMCE with CDN, but on a Contao (or probably the same with any other CMS using TinyMCE), and especially the backend, something like that is auto configured by the system. I could try to make a core change inserting a script tag on the template, but that is not optimal at all and not what I am looking for as a solution.
Anyone knows if there is a workaround with Access Control or something? I use Amazon CDN.

Creating a new page template in Typo3

I'm using Typo3 for the first time and have been asked to update a site built on it.
Making changes to existing templates so far has been OK since they were mainly CSS changes or replacing images. Now though I need to create a couple of new page templates.
What's the easiest way to go about this? The existing site has a home.html and layout.hmlt in the fileadmin directory. Do I need to create a new html file there, if so how do I use this as a new template for some of my pages?
I'm coming from a mainly WordPress background in terms of CMS (I've nearly given in a recoded the site as a WordPress site since I think it would be quicker at this stage) but I'd really prefer to figure this out.
Any suggestions would be greatly appreciated as I'm pulling my hair out trying to read through the documentation and getting nowhere. The site is using Typo3 version 4.4.6
Thanks!
How you add a new template to your page depends on how templating is handled. Sadly TYPO3 has a poor templating out of the box, so there is most likely an extension that does the job on your site.
Probably one of these:
automaketemplate
templa_voila
flux & fluidpages
Check if one of these extension is installed and add a new page template according to the extensions manual or specify your question afterwards.
Edit:
If plain TYPO3 was used, you'll find something like
page = PAGE
page.10 = TEMPLATE
page.10 {
file = fileadmin/myTemplate.html
}
in your Typoscript. You can add tmplate files like the ones that are already there. To use a different template on a page, you have to replace the page.10.file with the template you want to use. This can be done with a new template record (crated in backend via the template module). But this is a rather anoying procedure to change the template, because you have to create each time you want to change the page template for a page and its children. That is why mostly extensions are used for this.
The out of the box situation gets better with newer TYPO3 versions but in 4.4.6 there are no Backend Layouts that could be uses for a template switch ot something like that.
In Addition to change the mere file you have to adjust the subparts or marker that are filled with the content. You'll find that configured in your TypoScript as well

Add link to text in neos beta 1.0.2

I am new to Typo3 neos.
I am using neos with version 1.0.2
When i try to add links to custom content types the link will not be proper
and it appears some thing like below.For external urls it works fine.
node://06fbba05-82f1-e0b4-0e5e-4549e7aa4d11
How can i add target blank for external urls and mailto link for emails?
Thank you in advance.
you need to apply a converter to your text that changes the internal presentation of the link to the real link. Examples are in:
Packages/Application/TYPO3.Neos.NodeTypes/Resources/Private/TypoScript/Root.ts2
Basically if your custom node type has a property "text", you do:
text.#process.convertUris = TYPO3.Neos:ConvertUris
in your TypoScript prototype.
I think mailto: should work by typing mailto:foo#bar.com into the link box. Setting different targets is currently not supported out of the box, but could be done with a custom processor.