5. Extensions Flashcards

Extensions of the TYPO3 cms

1
Q

5.1.1 What is the purpose of an extension key? (3)

  1. The extension key encrypts the extension.
  2. It is the unique identifier for an extension.
  3. The extension directory is named after the extension key.
  4. The extension key guarantees portability and compatibility.
  5. Extension keys can be purchased on typo3.org, so they provide financial backing for the TYPO3 project.
A

Therefore, the correct answers are 2, 3 and 4.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

5.1.2 You want to download the data relating to an extension as a SQL dump. What do you need to do? (1)

  1. This is only possible using a tool such as “phpMyAdmin”.
  2. This can be achieved in the Extension Manager using the “Download SQL Dump” function.
  3. You copy the extension directory where all files and data of an extension are saved.
  4. The SQL dump is already contained within the download of an extension using the T3D Export Tool.
  5. This can be achieved in the Install Tool using the “Download SQL Dump” function.
A

Therefore, the correct answer is 2.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

5.1.3 What exactly is deleted when you uninstall an extension in the Extension Manager? (2)

  1. The temporary data of the extension.
  2. The typo3conf/ext/ extension directory.
  3. The extension key in the typo3conf/localconf.php file.
  4. The extension key in the typo3conf/LocalConfiguration.php file.
  5. The corresponding section in the typo3conf/PackageStates.php file.
  6. The corresponding database tables.
A

Therefore, the correct answers are 4 and 5.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

5.1.4 A currently installed extension is obviously incompatible with your TYPO3 installation. How can you downgrade to a lower version? (2)

  1. That is not possible. You can only ever install the newest version.
  2. You can install all available versions in the “Get Extensions” sub menu of the Extension Manager.
  3. You can download older versions on typo3.org and uploading them to the TYPO3 instance.
  4. All old versions of an extension are archieved in the typo3temp/extensions/ directory.
  5. You can install these versions by adding _recent to the file name.
A

Therefore, the correct answers are 2 and 3.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

5.1.5 How can you ensure, that the Extension Manager installs the latest version of an extension? (2)

  1. You have to update the extension list before installing an extension.
  2. You download the current ZIP file from https://extensions.typo3.org.
  3. You have to tick the “Use latest version” check box in the settings of the Extension Manager.
  4. You have to select “Latest” during the installation of an extension.
  5. In the Install Tool, you have to make sure the option useLatestExtensionVersions is set to true.
A

Therefore, the correct answers are 1 and 2.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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)

  1. The “composer mode” indicates, that TYPO3 runs in a debug mode.
  2. Extensions can be installed/uninstalled using “composer” on the command line.
  3. The Extension Manager can be used to activate or deactivate extensions.
  4. If an extension requires configuration, the XML file of the extension needs to be edited.
  5. With no appropriate access to the command line (e.g. via SSH), extensions can not be added by default.
A

Therefore, the correct answers are 2, 3 and 5.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

5.1.7 How can you pass on a version of an extension installed in your system to another developer? (2)

  1. You can download the corresponding ZIP file in the Extension Manager.
  2. You can zip the extension directory and pass it on.
  3. You first have to perform a database dump and then pass it on along with the original extension from the TYPO3 Extension Repository (TER).
  4. 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.
  5. You can download the extension in the “Extension download” section of the Install Tool.
A

Therefore, the correct answers are 1 and 2.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

5.1.8 What does it mean if an extension has the “beta” status? (1)

  1. Such extensions may never be used for production systems.
  2. This status is not really important.
  3. By default, extensions whose status is not “stable” are not displayed in the extension list of the
    Extension Manager.
  4. Extensions with the “beta” status are automatically deactivated in a productive server.
  5. Extensions with known bugs are automatically marked as in “beta” status.
A

Therefore, the correct answer is 2.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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)

  1. You update the extension.
  2. You uninstall the extension and install it again in the same version.
  3. You delete individual files in the typo3temp/ directory.
  4. You select the faulty extension in the “Update Manager”.
  5. You delete the key in the LocalConfiguration.php file.
A

Therefore, the correct answers are 1 and 3.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

5.2.2 Which sub-module in the Extension Manager allows you to update extensions that exist in your system? (2)

  1. “Loaded extensions”.
  2. “Installed extensions”.
  3. “Import extensions”.
  4. “Update extensions”.
  5. “Check for extension updates”.
  6. “Manage Extensions”.
  7. “Get Extensions”.
  8. Function “Update” in the “Manage Extensions” menu.
A

Therefore, the correct answers are 2 and 7.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

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)

  1. The current version of the extension may be faulty. You should therefore downgrade to a lower version.
  2. You can use the “Database Analyzer” to check whether the database schema is correct.
  3. The problem usually disappears if you log out of the backend and then log in again.
  4. Manually delete all files from the typo3conf/ directory.
  5. Uninstalling the extension and re-installing it again solves the problem.
A

Therefore, the correct answers are 1 and 2.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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)

  1. You use the Extension Manager to uninstall the extension.
  2. You use the Install Tool to uninstall the extension.
  3. You delete the extension key in the localconf.php file from the variable $TYPO3_CONF_VARS[‘EXT’][‘extList’]
  4. You delete the extension key in file LocalConfiguration.php.
  5. You delete the extension key in file PackageStates.php.
  6. You delete the typo3temp/Cache/ directory.
  7. You delete the extension directory.
A

Therefore, the correct answers are 5 and 6.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

5.2.5 Your TYPO3 instance runs in “composer mode”. How can you update extensions? (1)

  1. You can use the Extension Manager to download and install the new version of an extension.
  2. You can use the command line and execute the following command:
    php typo3/sysext/core/bin/typo3 –upgrade-extension
  3. You can use the command line and execute the following command in the project folder: composer update
  4. You have to use the Install Tool to update extensions, if the TYPO3 instance runs in “composer mode”.
A

Therefore, the correct answer is 3.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

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)

  1. Only the author of the extension can change text outputs.
  2. You can simply use TypoScript to overwrite certain texts.
  3. Changes can only be made in the source code of the extension.
  4. You can use a form in the “Labels” backend module to change labels.
  5. Changes can be made using the Extension Manager.
A

Therefore, the correct answer is 2.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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)

  1. plugin.tt_news._LOCALLANG.default.more = much more
  2. plugin.tt_news._LOCALLANG.more.en = much more
  3. plugin.tt_news._LOCAL_LANG.more.default = much more
  4. plugin.tt_news.LOCAL_LANG.de.more = much more
  5. plugin.tt_news._LOCAL_LANG.default.more = much more
  6. plugin.tt_news.LOCALLANG.default.more = much more
  7. plugin.tt_news.LOCALLANG.more = much more
A

Therefore, the correct answer is 5.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

5.3.3 You have to know the name of a language label in order to change it in an extension. In which files can labels be stored? (3)

  1. In the labels.php file.
  2. In the locallang.php file.
  3. In the locallang.xml file.
  4. In the _local_lang.php file.
  5. In the tca.php file.
  6. In the language.xml file.
  7. In the locallang.xlf file.
A

Therefore, the correct are answers 2, 3 and 7.

17
Q

5.3.4 You need to change something in a PHP file of an extension. Which statements are correct? (2)

  1. TYPO3 automatically detects modified extensions and highlights the extension in the Extension Manager.
  2. Modifying extension files directly is not recommended and should be avoided.
  3. The “Edit files” function in the Extension Manager can be used to modify files directly.
  4. The “Edit files” function in the Install Tool can be used to modify files directly.
  5. TYPO3 prevents backend users to edit or upload .php files in the Filelist module.
A

Therefore, the correct answers are 2 and 5.