5. Extensions Flashcards
Extensions of the TYPO3 cms
5.1.1 What is the purpose of an extension key? (3)
- The extension key encrypts the extension.
- It is the unique identifier for an extension.
- The extension directory is named after the extension key.
- The extension key guarantees portability and compatibility.
- Extension keys can be purchased on typo3.org, so they provide financial backing for the TYPO3 project.
Therefore, the correct answers are 2, 3 and 4.
5.1.2 You want to download the data relating to an extension as a SQL dump. What do you need to do? (1)
- This is only possible using a tool such as “phpMyAdmin”.
- This can be achieved in the Extension Manager using the “Download SQL Dump” function.
- You copy the extension directory where all files and data of an extension are saved.
- The SQL dump is already contained within the download of an extension using the T3D Export Tool.
- This can be achieved in the Install Tool using the “Download SQL Dump” function.
Therefore, the correct answer is 2.
5.1.3 What exactly is deleted when you uninstall an extension in the Extension Manager? (2)
- The temporary data of the extension.
- The typo3conf/ext/ extension directory.
- The extension key in the typo3conf/localconf.php file.
- The extension key in the typo3conf/LocalConfiguration.php file.
- The corresponding section in the typo3conf/PackageStates.php file.
- The corresponding database tables.
Therefore, the correct answers are 4 and 5.
5.1.4 A currently installed extension is obviously incompatible with your TYPO3 installation. How can you downgrade to a lower version? (2)
- That is not possible. You can only ever install the newest version.
- You can install all available versions in the “Get Extensions” sub menu of the Extension Manager.
- You can download older versions on typo3.org and uploading them to the TYPO3 instance.
- All old versions of an extension are archieved in the typo3temp/extensions/ directory.
- You can install these versions by adding _recent to the file name.
Therefore, the correct answers are 2 and 3.
5.1.5 How can you ensure, that the Extension Manager installs the latest version of an extension? (2)
- You have to update the extension list before installing an extension.
- You download the current ZIP file from https://extensions.typo3.org.
- You have to tick the “Use latest version” check box in the settings of the Extension Manager.
- You have to select “Latest” during the installation of an extension.
- In the Install Tool, you have to make sure the option useLatestExtensionVersions is set to true.
Therefore, the correct answers are 1 and 2.
5.1.6 When opening the Extension Manager, TYPO3 shows a note that the system is set to composer mode. What does this mean? (3)
- The “composer mode” indicates, that TYPO3 runs in a debug mode.
- Extensions can be installed/uninstalled using “composer” on the command line.
- The Extension Manager can be used to activate or deactivate extensions.
- If an extension requires configuration, the XML file of the extension needs to be edited.
- With no appropriate access to the command line (e.g. via SSH), extensions can not be added by default.
Therefore, the correct answers are 2, 3 and 5.
5.1.7 How can you pass on a version of an extension installed in your system to another developer? (2)
- You can download the corresponding ZIP file in the Extension Manager.
- You can zip the extension directory and pass it on.
- You first have to perform a database dump and then pass it on along with the original extension from the TYPO3 Extension Repository (TER).
- There is no straightforward way of doing this, because you have usually made numerous settings in the TYPO3 system which need to be transferred as well.
- You can download the extension in the “Extension download” section of the Install Tool.
Therefore, the correct answers are 1 and 2.
5.1.8 What does it mean if an extension has the “beta” status? (1)
- Such extensions may never be used for production systems.
- This status is not really important.
- By default, extensions whose status is not “stable” are not displayed in the extension list of the
Extension Manager. - Extensions with the “beta” status are automatically deactivated in a productive server.
- Extensions with known bugs are automatically marked as in “beta” status.
Therefore, the correct answer is 2.
5.2.1 You have updated your TYPO3 version (or have had it updated), and now detect problems with an extension. How do you approach this problem? (2)
- You update the extension.
- You uninstall the extension and install it again in the same version.
- You delete individual files in the typo3temp/ directory.
- You select the faulty extension in the “Update Manager”.
- You delete the key in the LocalConfiguration.php file.
Therefore, the correct answers are 1 and 3.
5.2.2 Which sub-module in the Extension Manager allows you to update extensions that exist in your system? (2)
- “Loaded extensions”.
- “Installed extensions”.
- “Import extensions”.
- “Update extensions”.
- “Check for extension updates”.
- “Manage Extensions”.
- “Get Extensions”.
- Function “Update” in the “Manage Extensions” menu.
Therefore, the correct answers are 2 and 7.
5.2.3 You have installed or updated an extension and now your TYPO3 installation no longer runs properly. What can you do in this situation? (2)
- The current version of the extension may be faulty. You should therefore downgrade to a lower version.
- You can use the “Database Analyzer” to check whether the database schema is correct.
- The problem usually disappears if you log out of the backend and then log in again.
- Manually delete all files from the typo3conf/ directory.
- Uninstalling the extension and re-installing it again solves the problem.
Therefore, the correct answers are 1 and 2.
5.2.4 You have installed or updated an extension and are now unable to access your TYPO3 installation. Instead, a PHP fatal error or an empty page is shown in the backend and frontend. What should you do? (2)
- You use the Extension Manager to uninstall the extension.
- You use the Install Tool to uninstall the extension.
- You delete the extension key in the localconf.php file from the variable $TYPO3_CONF_VARS[‘EXT’][‘extList’]
- You delete the extension key in file LocalConfiguration.php.
- You delete the extension key in file PackageStates.php.
- You delete the typo3temp/Cache/ directory.
- You delete the extension directory.
Therefore, the correct answers are 5 and 6.
5.2.5 Your TYPO3 instance runs in “composer mode”. How can you update extensions? (1)
- You can use the Extension Manager to download and install the new version of an extension.
- You can use the command line and execute the following command:
php typo3/sysext/core/bin/typo3 –upgrade-extension - You can use the command line and execute the following command in the project folder: composer update
- You have to use the Install Tool to update extensions, if the TYPO3 instance runs in “composer mode”.
Therefore, the correct answer is 3.
5.3.1 You want to change the text output of an installed extension, because certain labels have an incorrect or missing translation, for example. How would you proceed? (1)
- Only the author of the extension can change text outputs.
- You can simply use TypoScript to overwrite certain texts.
- Changes can only be made in the source code of the extension.
- You can use a form in the “Labels” backend module to change labels.
- Changes can be made using the Extension Manager.
Therefore, the correct answer is 2.
5.3.2 You want to change the text [more] in extension tt_news for the English language output to much more. What is the correct TypoScript code? (1)
- plugin.tt_news._LOCALLANG.default.more = much more
- plugin.tt_news._LOCALLANG.more.en = much more
- plugin.tt_news._LOCAL_LANG.more.default = much more
- plugin.tt_news.LOCAL_LANG.de.more = much more
- plugin.tt_news._LOCAL_LANG.default.more = much more
- plugin.tt_news.LOCALLANG.default.more = much more
- plugin.tt_news.LOCALLANG.more = much more
Therefore, the correct answer is 5.