Test 7 (Chapter 8 I)

Description

Quiz on Test 7 (Chapter 8 I), created by Ma Hi on 19/06/2015.
Ma Hi
Quiz by Ma Hi, updated more than 1 year ago
Ma Hi
Created by Ma Hi over 9 years ago
9
0

Resource summary

Question 1

Question
Which of the following objects are not TypoScript top level objects? (2)
Answer
  • config
  • TEXT
  • styles
  • GMENU
  • PAGE
  • includeLibs

Question 2

Question
What do you enter in the constants area to makethe following TypoScript setup code functional? (1) config.language = {$langKey} config.sys_language_uid = 1 config.htmlTag_langKey = {$langKey}
Answer
  • $langKey = de
  • {$langkey = en}
  • langKey = jp
  • langkey = cn
  • LANGKEY = at

Question 3

Question
You want to execute a replacement in content elements: the system is to replace the ###MAIL### placeholder with the current email address of the web master. How do you proceed? (1)
Answer
  • You enter the following line in the TypoScript constant area: MAIL = info@mytypo3domain.de
  • You enter the following line in the TypoScript setup area: MAIL = info@mytypo3domain.de
  • You enter the following line in the TypoScript setup area: <...> = {$MAIL}
  • You enter the following line in the TypoScript constant area: constant.MAIL = info@mytypo3domain.de
  • You enter the following line in the TypoScript setup area: constants.MAIL = info@mytypo3domain.de

Question 4

Question
What is the output produced by this TypoScript code? (1) page = PAGE page.10 = COA page.10 { 30 = TEXT 30.value = A 30.wrap = B|C 40 = HTML 40.value = D 40.wrap = E|F 10 = TEXT 10.value < .40.value 20 < .30 40.value = G }
Answer
  • DBACBAC
  • DBACD
  • GBACBAC
  • EDFBACEGF
  • DBACEGF
  • DBACEDF
  • BACBAC

Question 5

Question
What is the output produced by this TypoScript code? (1) page = PAGE page.10 = COA page.10 { 30 = TEXT 30.value = A 40 = TEXT 40.value = C 20 = TEXT 20.value = B 20.stdWrap.append < .30 10 = TEXT 10.prepend < .40 10.value = D }
Answer
  • ABCD
  • CDBAAC
  • BDCAAB
  • ABCADB
  • BDCAB
  • DBCAB

Question 6

Question
What is the output produced by this TypoScript code? (1) object1 = TEXT object1.value = value1 page = PAGE page { 10 <= object1 15 < object1 15.value = - 20 < object1 } object1.value = value3
Answer
  • value1
  • -value1
  • value1-value1
  • value1-value3
  • value3-value1

Question 7

Question
What code do you enter in place of the question marks so that the output of the script is AB? (1) lib.obj = COA lib.obj { 10 = COA 10.10 = TEXT 10.10.value = A 10.20 < .10 } page = PAGE page.10 = COA page.10 { 10 =< lib.obj ??? }
Answer
  • 10.value = B
  • 10.10.value = B
  • 10.20.value = B
  • 10.10.20.value = B
  • 10.10.20.10.value = B
  • 10.10.10.20.value = B

Question 8

Question
Is it possible to check the backend_layout field in the backend, and if so, how? (1)
Answer
  • No, that is not possible. Page properties are only relevant in the frontend and are checked there by TypoScript.
  • [globalVar = TSFE:current|backend_layout = 1]
  • [globalVar = TSFE:this|backend_layout = 1]
  • [globalVar = TSFE:page|backend_layout = 1]
  • [TSFE|backend_layout = 1]
  • [this|backend_layout = 1]
  • [page|backend_layout = 1]
  • [current|backend_layout = 1]

Question 9

Question
Which condition allows you to determine in the frontend whether a user is logged into the backend at the same time? (1)
Answer
  • [belogin = true]
  • [BEloginUser = *]
  • [globalVar = TSFE : beUserLogin > 0]
  • [globalVar = TSFE : beLogin > 0]
  • [TSFE:beUser > 0]

Question 10

Question
What do you need to observe when creating your own condition? (5)
Answer
  • You have to create a PHP file.
  • You can only address a function, and not a class.
  • You address a function within a class.
  • The function can have any name.
  • The function has to start with user_.
  • It is possible to transfer parameters.
  • It is not possible to transfer parameters.
  • The function can return any value.
  • The function can only return true or false.

Question 11

Question
Is it possible to select any font in images that contain text and are created using the GIFBUILDER? (2)
Answer
  • Yes, you can use a font from any font file with the format ttf (True- Type fonts).
  • Yes, you can use a font from any font file with the format otf (OpenType fonts).
  • Yes, you can use a font from any font file with the format ctf (ClearType fonts).
  • Yes, you can use a font from any font file with the format pfm/pfb (Type 1 fonts).
  • No, you have to use an extension to do this.
  • No, it is not possible.

Question 12

Question
You want to use TypoScript to specify a background image. Which content element needs to replace the question marks? (1) page = PAGE page.10 = ??? page.10 { file = fileadmin/backgroundimg.jpg file.width = 100 file.height = 100 stdWrap.wrap = <div style="background-image:url(|); width:100px; ↩ height:100px;">Text</div> }
Answer
  • IMG
  • IMAGE
  • IMG_RESOURCE
  • IMAGE_RESOURCE
  • GIFBUILDER

Question 13

Question
You want to display the data records from the tt_content table that have the IDs 2 and 3. What should be in place of the question marks? (1) page = PAGE page.10 = ??? page.10 { tables = tt_content source = 2,3 dontCheckPid = 1 }
Answer
  • TEXT
  • HTML
  • COA
  • RECORDS
  • DATA
  • CONTENT

Question 14

Question
How can you automatically replace specific strings with other strings in the output of the tt_content text content? (1) tt_content.text.20 { ??? }
Answer
  • parseFunc.string1 = string2
  • parseFunc.short.string1 = string2
  • parseFunc.tags.string1 = string2
  • string1 = string2
  • HTMLparser.string1 = string2
  • HTMLparser.replace.string1 = string2

Question 15

Question
You want to prevent the content elements with IDs 37 and 38 from being output if it is 11 a.m. or later. What code do you have to enter in place of the question marks? (1) page = PAGE page.10 < styles.content.get [hour = > 11] page.10.??? { isInList.field = uid value = 37,38 negate = 1 } [end]
Answer
  • if
  • stdWrap.if
  • renderObj.stdWrap.if
  • renderObj.if
  • if.stdWrap

Question 16

Question
What are the prerequisites for membership in the TYPO3 Association? (1)
Answer
  • Residence in the EU.
  • Residence in Europe.
  • Payment of a one-off fee.
  • Payment of a one-off fee and an annual membership fee.
  • You have to be suggested and selected by the TYPO3 Association.
  • You have to be able to show at least one project that you have implemented independently using TYPO3.

Question 17

Question
In which database tables are page configurations, content elements and website users stored? (3)
Answer
  • be_user
  • seiten
  • pages
  • feuser
  • tt_pages
  • content
  • tt_content
  • users
  • fe_users

Question 18

Question
What is cached in TYPO3? (4)
Answer
  • Images in the /fileadmin directory
  • The HTML output of static pages
  • The thumbnails of files in the /fileadmin directory that can be displayed in the Filelist module.
  • Configuration settings
  • TypoScript templates
  • Files that are loaded onto the server using a backend form

Question 19

Question
Where can you find help texts for a TypoScript option? (1)
Answer
  • In the TSref on http://www.typo3.org
  • In the TypoScript help module
  • In the template tools in the Setup section
  • In the Info module
  • In the TypoScript module

Question 20

Question
What exactly is TemplaVoilà? (2)
Answer
  • A TYPO3 module
  • A TYPO3 core feature
  • A TYPO3 core extension
  • A TYPO3 extension
  • A TYPO3 setting option

Question 21

Question
Which of the following processing statuses in the workspace exist by default? (2)
Answer
  • Editing
  • Review
  • Updating
  • Deleted
  • Publish
  • Ready to publish
  • Rejected
  • None of the above, as they are created specifically.

Question 22

Question
You want to refer to the DOCUMENT_BODY subpart in your HTML template. Which is the correct code for this purpose? (1) page = PAGE page.10 = TEMPLATE page.10 { template = FILE template.file = fileadmin/template.html ??? = DOCUMENT_BODY }
Answer
  • subpart
  • marks
  • useSubPart
  • workOnSubpart
  • defineSubpart
Show full summary Hide full summary

Similar

Abschluss Test
Ma Hi
Chapter 4
Ma Hi
Chapter 7
Ma Hi
Chapter 6 II (6.5-6.8)
Ma Hi
Chapter 8 II
Ma Hi
Chapter 5
Ma Hi
Chapter 6
Ma Hi
Chapter 8 III
Ma Hi
Chapter 1
Ma Hi
Chapter 8 I
Ma Hi
Test 5 (Chapter 6)
Ma Hi