Test 8 (Chapter 8 II)

Description

Quiz on Test 8 (Chapter 8 II), created by Ma Hi on 02/07/2015.
Ma Hi
Quiz by Ma Hi, updated more than 1 year ago
Ma Hi
Created by Ma Hi over 9 years ago
13
0

Resource summary

Question 1

Question
You want to format the display of the menu item for the current page and the parent pages, regardless of whether subpages exist. Which menu state do you use? (1)
Answer
  • NO
  • CUR
  • CURIFSUB
  • ACT
  • ACTIFSUB

Question 2

Question
Which menu state can you use to indicate pages if access to them is restricted to user groups where the group name begins with the letters A-K? (2)
Answer
  • NO
  • USERDEF1
  • USERDEF2
  • CUR
  • CURIFSUB
  • ACT
  • ACTIFSUB

Question 3

Question
We have pages A (ID = 179) and B (ID = 178). What is the output of the following menu? (1) page = PAGE page.10 = HMENU page.10.special = list page.10.special.value = 178,179 page.10.1 = TMENU page.10.1.NO.after = |*||*|-
Answer
  • A-B
  • B-A
  • -A-B
  • -B-A
  • AB
  • BA
  • A-B-
  • B-A-

Question 4

Question
Your website has five pages A, B, C, D and E. What is the output of the following TypoScript code? (1) page = PAGE page.10 = HMENU page.10.1 = TMENU page.10.1.NO.linkWrap = 1 |*||*| 2 page.10.1.NO.allWrap = | 
Answer
  • 1A 2C 2D 2B 1E
  • 1A 1B 1C 1D 2E
  • 1A 2B 2C 2D 2E
  • 1A 2B 1C 2D 1E

Question 5

Question
Your website has five pages A, B, C, D and E. What is the output of the following TypoScript code? (1) page = PAGE page.10 = HMENU page.10.1 = TMENU page.10.1.NO.linkWrap = 1||2 |*| 3 |*| 4 page.10.1.NO.allWrap = | 
Answer
  • 1A 2B 1C 3D 4E
  • 1A 2B 3C 3D 4E
  • 1A 2B 1C 2D 3E
  • 1A 2B 2C 3D 4E

Question 6

Question
Your website has five pages A, B, C, D and E. What is the output of the following TypoScript code? page = PAGE page.10 = HMENU page.10.1 = TMENU page.10.1.NO.linkWrap = |*||*| 1||2||3 page.10.1.NO.allWrap = | 
Answer
  • 1A 2B 3C 1D 2E
  • 1A 2B 3C 3D 3E
  • 1A 1B 1C 2D 3E
  • 1A 2B 1C 2D 3E

Question 7

Question
Your website has two pages A and B. What is the output of the following TypoScript code? (1) page = PAGE page.10 = HMENU page.10.1 = TMENU page.10.1.NO.linkWrap = |*||*| 1||2||3 page.10.1.NO.allWrap = | 
Answer
  • 1A 2B
  • 2B 3A
  • 2A 3B
  • 1A 3B

Question 8

Question
Your website has five pages A, B, C, D, E and F. What is the output of the following TypoScript code? (1) page = PAGE page.10 = HMENU page.10.1 = TMENU page.10.1.NO.linkWrap = 7||6|*|5||4|*|3||2||1 page.10.1.NO.allWrap = | 
Answer
  • 7A 6B 5C 3D 2E 1F
  • 7A 6B 5C 4D 2E 1F
  • 6A 7B 5C 3D 2E 1F
  • 6A 7B 5C 4D 2E 1F
  • 6A 7B 5C 4D 3E 1F

Question 9

Question
What is the precise effect of the following two lines of TypoScript code in the constants area? (2) # cat=mytext/ctext/a; type=color; label= text color mytextcolor = red
Answer
  • The first line is ignored because it is introduced with a comment character.
  • The mytextcolor constant is set to red.
  • A selection field for colors is created in the Constant Editor.
  • An error message is created.
  • There is no effect.

Question 10

Question
What do you have to add to the script below so that the complete URL is output? (1) page = PAGE page { 10 = TEXT 10.data = ??? }
Answer
  • TYPO3_REQUEST_URL
  • getIndpEnv:TYPO3_REQUEST_URL
  • {getIndpEnv:TYPO3_REQUEST_URL}
  • ${TYPO3_REQUEST_URL}
  • TSFE:TYPO3|REQUEST_URL

Question 11

Question
What code is required in place of the question marks in order to achieve the output of all important properties of the current page and the parent pages (such as pid, uid, title etc.)? (1) page = PAGE page.10 = TEXT page.10.value = TypoScript page.10.???
Answer
  • .data = debug : rootLine
  • .data = debug : -1
  • .debugData = 1
  • .data.debug = rootLine
  • .debugData = rootline
  • .data.debugData = 1

Question 12

Question
Is there a specific sequence in which stdWrap properties are executed in a TypoScript template? (1)
Answer
  • The property that is listed first is executed first.
  • The property that is listed first is executed last.
  • The property whose name is first in alphabetical order is executed first.
  • The order is determined by the order in the source code.
  • No, there is no order.

Question 13

Question
Your TypoScript code contains a default image in the temp.stdimage object, and the user can upload an image in the backend which is saved in the temp.userimage object. What do you have to enter so that the default image is displayed if the user has not uploaded an own image? (1) page = PAGE page.10 = COA page.10 { ??? }
Answer
  • 10 < temp.stdimage 20 < temp.userimage
  • 10 < temp.userimage 20 < temp.stdimage
  • 10 <= temp.userimage 20.stdWrap.ifEmpty.cObject < temp.stdimage
  • 10 < temp.userimage stdWrap.ifEmpty.cObject < temp.stdimage
  • 10 < temp.stdimage+ ifEmpty.cObject < temp.userimage
  • 10 < temp.userimage stdWrap.if.isTrue.cObject < temp.stdimage

Question 14

Question
You want to link to an image. When the image is clicked, you want a new page with ID 123 to be opened in a 350x700 pixel window. How can you do this? (1) page = PAGE page.10 = IMAGE page.10 { file = fileadmin/example.jpg ??? }
Answer
  • typolink.parameter = 123 350x700
  • stdWrap.typolink.parameter = 123 350x700
  • typolink.parameter = 123 typolink.JSwindow_params = width=350,height=700
  • stdWrap.typolink.parameter = 123 stdWrap.typolink.JSwindow_params = width=350,height=700
  • typolink.popup = 1 typolink.popup.params = 123 350x700
  • stdWrap.typolink.popup = 1 stdWrap.typolink.popup.params = 123 350x700

Question 15

Question
What options enable you to use custom functions with userFunc? (3)
Answer
  • Content object USER_INT
  • Conditions
  • Top level object USERFUNC
  • stdWrap

Question 16

Question
What are the tasks of the TYPO3 Association? (4)
Answer
  • Organizing events
  • Financing full-time programmers
  • Specifying the colors in the TYPO3 logo
  • Collecting membership fees
  • Programming new websites for the TYPO3 project

Question 17

Question
On which operating systems can TYPO3 run? (6)
Answer
  • Windows Vista
  • Windows XP SP3
  • Windows 2000
  • Windows 8
  • Dell
  • Debian GNU/Linux
  • Mac OS X 10.9

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
What is the central official point of contact if you require documentation for the TYPO3 project? (2)
Answer
  • http://www.typo3.com
  • http://docs.typo3.org
  • http://association.typo3.org
  • http://www.typo3.org
  • http://www.typo3.net

Question 20

Question
What is the function of an extension key? (3)
Answer
  • 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.

Question 21

Question
Which methods can you use to access the list view? (3)
Answer
  • You click on the Web ‣ List module on the left in the backend.
  • You click on the appropriate icon on the top right in the submodules of the Web module.
  • In the Info sub-module, select the Pagetree overview function and click the appropriate page icon. Then select Web ‣ Edit.
  • In the Info sub-module, select the Pagetree overview function and click the pen icon.
  • You right-click a page in the page tree and select Web ‣ List.

Question 22

Question
You can delete pages in the page tree by rightclicking a page and selecting Delete. This procedure fails by default if the page to be deleted contains subpages. Why is this? (2)
Answer
  • Recursive deletion is not possible in TYPO3 for reasons of safety.
  • The ability to delete recursively has to be configured in User settings.
  • Recursive deletion is only possible using a DELETE database command.
  • The recursive delete function has to be activated in the User TSconfig.
  • Recursive deletion does not work in the page tree, but only in the Web ‣ List module.

Question 23

Question
Select the marker combination that the following TypoScript code can replace in a meaningful manner. (2) page = PAGE page.10 = TEMPLATE page.10 { template = FILE template.file = fileadmin/template.html workOnSubpart = DOCUMENT marks { MARKER = TEXT MARKER.value = Hello World! } subparts { SUB = TEXT SUB.value = TYPO3-Integrator! } }
Answer
  • ###MARKER### ###SUB###
  • MARKER SUB
  • <!-- ###SUB### begin --> ###MARKER### <!-- ###SUB### end -->
  • ###MARKER### <!-- ###SUB### begin --> <!-- ###SUB### end -->
  • <!-- ###SUB### begin --> <!-- ###SUB### end --> ###MARKER###

Question 24

Question
What is the output produced by this TypoScript code? (1) page = PAGE page.10 = COA page.10 { 20 < .40 20.wrap = D|E 40 = TEXT 40.value = A 30 = HTML 30.value = C 50 =< page.10.40 40.value = B 10 = TEXT 10.value < .30.value }
Answer
  • CDAEBB
  • CBB
  • DAEBB
  • CAB
  • CDAEAB
Show full summary Hide full summary

Similar

Chapter 8 I
Ma Hi
Test 6 (Chapter 7)
Ma Hi
Abschluss Test
Ma Hi
Chapter 4
Ma Hi
Chapter 8 III
Ma Hi
Chapter 1
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