If you like to modify the “Append with Link to Top of Page” output of fluidtemplate (fluid_styled_content) (which is the default setting of Typo3 Version 8. However you can even use it with Version 6 or 7) you need to create an partial override.
Hint: When using css_style_content you can use
tt_content.stdWrap.innerWrap2 ... to modify the output.
First you need to add the location of your override directory to you setup:
lib.contentElement.partialRootPaths.100 = EXT:tpl_site/Resources/Private/Partials/override/
Within this directory you now can override any file of
Beware of the folder structure!
The render of the “to top”-feature is in the file “Footer/All.html”. Therefore we need to create this file. It is a good idea to copy the original file and then make the modifications you like to do. I liked to add a class. So this is my file:
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<a class="topTopLink" href="#top"><f:translate key="toTop" extensionName="fluid_styled_content" /></a>
When you are using Synergy with Windows as server you may notice that Max OS has some slightly different key bindings 🙂 The most annoying one can be fixed by Synergy itself. Just open the configuration editor double click on the Mac computer and change the modifiery keys (ctrl=meta, meta=ctrl). So Ctrl+S will work on the Mac the same way as it do on an Windows PC.
Most of the time a
finde -mtime x does a good job. But it not always return the expected results 🙁 But you just need to use on of the other options 🙂
find -newermt '2016-08-01T00:00:00'
Will return all files modified since the give timestamp.
While trying to run an Windows Universal App on a Windows 10 Emulator I got this error message:
Microsoft Synthetic 3D Display Controller: Failed to Power on with Error 'Insufficient system resources exist to complete the requested service.' (0x800705AA).
- Open the Hpyer-V Manager
- Delete the virtual machine which will cause the error. VS will recreate it when needed
- Open Hyper-V settings
- Disabled the RemoteFX support for any GPU
Now it should work.
Since a long time it’s possible to split your TypoScripts into external files and include them from your template via
<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/fileToInclude.ts">
So it’s very easy to use your favorite editor and, more important, organize the TypoScript-Files into smaller, reusable chunks.
My common setup is something like that:
<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/tpl/include.ts">
But there is one large downside. Every include adds an
[GLOBAL] at the end of file. So it’s not possible to include files based on a multi level condition. For example if you like to develop a new design and want to test it on a test domain. For more information see https://forge.typo3.org/issues/16525
But since Typo3 7.6 there is something which can help. Continue reading
After upgrading a Typo3 4.5 Installation to Version 6.2 your old pibase extension may still running. Hmm .. at least mostly 🙂
You just need to remove some
requice_once statements and modify the
ext_table.php to use the
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility class. Most of the other stuff is still there.
Once when you try to upgrade to version 7.6 you are in need to modify a bit more. But don’t worry. After all it isn’t that complicated. And by the way … you don’t need to wait until you upgrade. These changes are running very well even in an 6.2 installation.
So here is a small list of needed action to upgrade from 4.5 via 6.2 to 7.6 🙂
After you upgraded from a Typo3 Version 4.5 LTS to Version 6.2 or higher you may wounder why the backend search is not working anymore as expected. Even in the list mode the result of extension records can be empty.
If it’s your own extension you can fix it very easy. Since Version 4.6 the search behavior was changed (see https://forge.typo3.org/issues/36452).
To re-enable the search function of your own extension records to have to add this line to your
$TCA['name_of_table']['ctrl']['searchFields'] = 'col1, col2, col3';
Just include all columns which make sense. Clear the system cache and it’s done. Of course you need to do this for every table which you wanted to be searched 🙂
If you like to upgrade your mysql installation to a newer version you may try this:
First of all we need to add a repo with contains the new mysql version. I’ve chose the one of the IUS Community
Then we need to check what currently is installed:
# rpm -qa | grep mysql
We need to remove the old stuff. Be sure to select only the parts we can really get rid off 🙂 Never every remove the one which starts with plesk-mysql-server !
rpm -e --nodeps mysql-server-5.5.48-1.el6.remi.x86_64 mysql-libs-5.5.48-1.el6.remi.x86_64 mysql-5.5.48-1.el6.remi.x86_64 compat-mysql51-5.1.54-1.el6.remi.x86_64 compat-mysql51-5.1.54-1.el6.remi.x86_64
Now install the new one. In my case I want mysql 5.7:
yum install mysql57u-server.x86_64 mysql57u.x86_64
Since the databases are in the old format we need to upgrade them to work with the new server version:
mysql_upgrade -u admin -p`cat /etc/psa/.psa.shadow`
This may take a while. After that you should restart the mysql server.
If you every modified
/etc/my.cnf you may should have a look since it may reset to the defaults. But don’t worry. The original one should be saved to my.cnf.rpmsave (or something similar).
I really like to you the hibernate mode of Windows. And it’s working very fine. However I recently added a new mouse device. First it seems to work but when I accidentally moved my mouse while the PC was in hibernate the computer restarted! The quickest way to find out which device is able to awake the computer and disabled it is to use the command line:
powercfg -devicequery wake_armed Will list all devices which are allowed to wake up the computer.
powercfg -devicequery wake_programmable will list all disallowed devices.
Now you just have to pick the right one from the allowed list and disable it with this command
powercfg -devicedisablewake deviceNname
For what ever reason I had to disable all devices until the movement of my mouse didn’t wake up the PC any longer.
If you wounder how to create links in an extbase controller instead of using the old
pi_getPageLink methode you should have a look at this:
To get more information you may search for