Andreas Kirilow
Quiz von , erstellt am more than 1 year ago

Programmierung Quiz am TYPO3 CI 2018 7.1, erstellt von Andreas Kirilow am 20/12/2018.

9
0
0
Andreas Kirilow
Erstellt von Andreas Kirilow vor fast 6 Jahre
Schließen

TYPO3 CI 2018 7.1

Frage 1 von 12

1

You want to create a website with four different output formats, e.g. HTML, print version, iPhone and plain text. What do you need? (1)

Wähle eine oder mehr der folgenden:

  • Four different servers with a TYPO3 installation on each.

  • Four TYPO3 installations on one server.

  • Four PAGE objects with different typenum.

  • Four pages in a TYPO3 installation that contain a root template.

  • Four root templates.

Erklärung

Frage 2 von 12

1

When you access your website in the frontend, the following error message appears: “No Template found!”. Why is this? (1)

Wähle eine oder mehr der folgenden:

  • No HTML template was specified.

  • The HTML template is read-only.

  • No TypoScript root template was specified.

  • The path to the HTML template is not correct.

  • No extension template was created.

Erklärung

Frage 3 von 12

1

When you access your website in the frontend, the following error message appears: “The page is not configured!” Why is this? (1)

Wähle eine oder mehr der folgenden:

  • No HTML template was specified.

  • No TypoScript root template was specified.

  • No extension template was created.

  • There is no PAGE object.

  • The “Rootlevel” check box in the root template was not activated.

Erklärung

Frage 4 von 12

1

When you access your website in the frontend, the following error message appears: “The page is not configured!” Which code fixes the error? (4)

Wähle eine oder mehr der folgenden:

  • The following TypoScript code:
    page = PAGE

  • The following TypoScript code:
    seite = PAGE

  • The following TypoScript code:
    page = PAGE
    page.10 = HTML

  • The following TypoScript code:
    page = PAGE
    page.50 = TEXT
    page.50.value = Hello world

  • The following TypoScript code:
    page = PAGE
    page.10 = TEMPLATE

  • The following TypoScript code:
    website = PAGE
    website.foobar = 37

Erklärung

Frage 5 von 12

1

Is it possible to build a website without an HTML template? (1)

Wähle eine oder mehr der folgenden:

  • No, this is not possible. Every website requires at least one HTML template.

  • Yes, if you use TypoScript.

  • No, you need the “Themes” or “Grid Elements” extension at least.

  • Yes, but only if the site has no HTML output.

  • No, ever since the HTML content object was removed in TYPO3 version 6.0, this is no longer possible.

Erklärung

Frage 6 von 12

1

How can you display a site name in the title bar of the browser? (1)

Wähle eine oder mehr der folgenden:

  • The Install Tool contains a parameter for this purpose:
    $TYPO3_CONF_VARS['SYS']['sitename']

  • You can enter the site name in the “Basic Configuration” view in the Install Tool.

  • By using Sitetitle in the “Template” module to specify the title in the TypoScript template.

  • By using the TypoScript option config.pageTitle = ....

  • By using the TSconfig option config.pageTitle = ....

Erklärung

Frage 7 von 12

1

The following script aims to produce a debug output on the screen. Why is it not functioning by default? (1)
page = PAGE
page.10 = TEXT
page.10.value = Hello world!
page.10.debugData = 1

Wähle eine oder mehr der folgenden:

  • The syntax is wrong, it should be page.10.stdWrap.debugData.

  • The output is always written to a log file and not displayed on screen.

  • You first have to enter the IP address of the client requesting the page in the Install Tool.

  • The function mentioned above only works for local installations. If the TYPO3 instance is on the Internet, the display of debug data does not work.

  • The output is shown in the backend in module “WEB → Info”, rather than on screen.

Erklärung

Frage 8 von 12

1

What can you do, if a TypoScript template is growing increasingly bulky? (2)

Condition: You have created a TypoScript template, filled all required markers and subparts with content and configured all extensions in use. As a consequence, your template is growing increasingly bulky, which makes it hard to read, debug, review.

Wähle eine oder mehr der folgenden:

  • You can separate the TypoScript template into several files and include these in your master
    template.

  • You can separate the TypoScript template into several templates and include them in the Include
    basis template section.

  • You remove all line breaks in the TypoScript code to reduce the amount of data.

  • You can use the “MinimizeTypoScript” extension to compress the TypoScript code.

  • You can export the same TypoScript command code into constants to save space.

Erklärung

Frage 9 von 12

1

Why is it not possible to edit or create the file fileadmin/filename.text via “FILE -> Filelist” module by default? (1)

Wähle eine oder mehr der folgenden:

  • Only image and PDF files can be uploaded in the “FILE → Filelist” module.

  • You first have to permit the use of *.text files in the Install Tool.

  • The “FILE → Filelist” module cannot be used for this purpose either; you have to use the
    “Quixplorer” extension.

  • You first have to permit the use of *.text files in the Page TSconfig.

  • The file extension can only have two characters, e.g. filename.ts.

Erklärung

Frage 10 von 12

1

You want to include a complete directory of TypoScript files with an include statement; is this possible, and, if yes, how? (1)

Wähle eine oder mehr der folgenden:

  • No, it is not possible. You can only use an include statement to include individual files.

  • Yes, by using <INCLUDE_TYPOSCRIPTDIR: source="EXT:myext/Typoscript">.

  • Yes, by using <INCLUDE_TYPOSCRIPT: source="DIR:EXT:myext/Typoscript">.

  • Yes, by using <INCLUDE_TYPOSCRIPT: source="DIR:myext/Typoscript">.

  • Yes, by using <INCLUDE_TYPOSCRIPT: sourcedir="EXT:myext/Typoscript">.

Erklärung

Frage 11 von 12

1

By default, it is not possible to create, edit or upload PHP files in the “FILE -> Filelist” module. Why is this? (2)

Wähle eine oder mehr der folgenden:

  • You first have to permit the use of PHP files in the Install Tool, using the option
    $TYPO3_CONF_VARS['SYS'][textfile_ext]

  • These actions are prohibited for safety reasons, and you cannot change this behavior.

  • You first have to permit the use of PHP files in the Install Tool, using the option
    $TYPO3_CONF_VARS['SYS'][fileDenyPattern]

  • You first have to permit the use of PHP files in the Page TSconfig.

Erklärung

Frage 12 von 12

1

You want to use TypoScript template “A” for the current page and template “B” for all the subpages of the current page. What is the best way to proceed? (1)

Wähle eine oder mehr der folgenden:

  • You assign template “A” to the current page, and template “B” to each subpage.

  • You assign template “A” to the current page, and then assign template “B” in the “Template on
    next Level” setting.

  • You assign template “A” to the current page, and use a condition to assign template “B” to the
    subpages.

  • You assign template “B” to all pages and use a condition to assign template “A” to the current
    page.

Erklärung