Andreas Kirilow
Test por , creado hace más de 1 año

Programmierung Test sobre TYPO3 CI 2018 8.12, creado por Andreas Kirilow el 21/12/2018.

8
0
0
Andreas Kirilow
Creado por Andreas Kirilow hace casi 6 años
Cerrar

TYPO3 CI 2018 8.12

Pregunta 1 de 13

1

Is there a specific sequence in which stdWrap properties are executed in a TypoScript template? (1)

Selecciona una o más de las siguientes respuestas posibles:

  • 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.

Explicación

Pregunta 2 de 13

1

What is the output of the following script if the subtitle field of the page has the value test23? (1)

page = PAGE
page.10 = TEXT
page.10.value = Hello World!
page.10.if {
value.field = subtitle
equals = test23
}

Selecciona una o más de las siguientes respuestas posibles:

  • test23

  • Hello World!

  • Hello World!test23

  • subtitle

  • There is no output.

Explicación

Pregunta 3 de 13

1

What do you have to enter in place of the question marks so that the name of the author is added? (1)

page = PAGE
page.10 = TEXT
page.10 {
???
insertData = 1
typolink.parameter.field = author_email
}

Selecciona una o más de las siguientes respuestas posibles:

  • value = Author: author

  • value = Author: {$page:$author}

  • value = Author: {page:author}

  • value = Author: {$author}

  • value = Author: page:author

  • value = Author: $author

Explicación

Pregunta 4 de 13

1

What is the output of the following TypoScript code? (2)

page = PAGE
page {
10 = TEXT
10.value = Certification
10.override {
required = 1
data = field:subtitle // field:nav_title
}
}

Selecciona una o más de las siguientes respuestas posibles:

  • The output is Certification, if field:subtitle and field:nav_title are both empty.

  • The output is Certification, if field:subtitle and field:nav_title both contain values.

  • The output is Certification, if field:subtitle is empty, but field:nav_title contains a value.

  • The output is Certification, if field:subtitle contains a value and field:nav_title is empty.

  • The subtitle is shown, if field:subtitle contains a value, but field:nav_title is empty.

  • The navigation title is shown, if field:subtitle and field:nav_title both contain values.

Explicación

Pregunta 5 de 13

1

The following TypoScript code returns a page title. What exactly is it? (1)

page = PAGE
page.10 = TEXT
page.10.data = fullRootLine : 0, title

Selecciona una o más de las siguientes respuestas posibles:

  • The page title of the current page is output.

  • The page title of the parent page is output.

  • There is no output.

  • The page title of the root page is output.

Explicación

Pregunta 6 de 13

1

What is the page whose navigation title is returned in the following TypoScript code? (2)

page = PAGE
page.10 = TEXT
page.10.data = levelfield:-2, nav_title, slide

Selecciona una o más de las siguientes respuestas posibles:

  • The navigation title of the current page is output.

  • The navigation title of the root page is output.

  • The navigation title of the parent page is output.

  • The navigation title of the parent page’s parent page is output.

  • If the page to be output has no navigation title, the system will search upwards along the root
    line until it finds a page with a navigation title, and then output this title.

  • If the page to be output has no navigation title, the title of the root page is used, along with all
    titles along the root line (if any exist).

Explicación

Pregunta 7 de 13

1

The following code creates a link to a page. To which page does it link to? (1)

page= PAGE
page.10 = COA
page.10 {
10 = TEXT
10 {
value = page: {leveltitle:-1}
insertData = 1
typolink.parameter.data = leveluid : -1
}
}

Selecciona una o más de las siguientes respuestas posibles:

  • To the current page.

  • To the parent page.

  • To the sister page.

  • To the subpage.

  • To the root page.

Explicación

Pregunta 8 de 13

1

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 {
???
}

Selecciona una o más de las siguientes respuestas posibles:

  • Answer
    10 < temp.stdimage
    20 < temp.userimage

  • nswer
    10 < temp.userimage
    20 < temp.stdimage

  • Answer
    10 < temp.userimage
    20.stdWrap.ifEmpty.cObject < temp.stdimage

  • Answer
    10 < temp.userimage
    10.stdWrap.ifEmpty.cObject < temp.stdimage

  • Answer
    10 < temp.stdimage
    20.ifEmpty.cObject < temp.userimage

  • Answer
    10 < temp.userimage
    stdWrap.if.isTrue.cObject < temp.stdimage

Explicación

Pregunta 9 de 13

1

You want the following TypoScript code to display text “Print version”, but only if the website is called using the print=1 GET parameter. What should be in place of the question marks? (1)

page = PAGE
page.10 = TEXT
page.10 {
value = Print version
???
}

Selecciona una o más de las siguientes respuestas posibles:

  • You do not need to add anything, the function is already provided.

  • Answer
    if.isTrue.data = GP : print

  • Answer
    if.value.data = GP : print
    if.equals = 1

  • Answer
    if.isPositive.data = GP : print

  • Answer
    if.value.data = GP : print
    if.isGreaterThan = 2
    if.isTrue.data = GP : print

Explicación

Pregunta 10 de 13

1

How can you create a link with link text, a link target and a CSS class? (2)

page = PAGE
page.10 = TEXT
page.10 {
value = linktext
???
}

Selecciona una o más de las siguientes respuestas posibles:

  • This is not possible without a corresponding HTML template in TYPO3.

  • The following:
    typolink.parameter = http://example.com/
    typolink.parameter.extTarget = linktarget
    typolink.parameter.ATagParams = class='linkclass'

  • The following:
    typolink.parameter = http://example.com/
    typolink.extTarget = linktarget
    typolink.ATagParams = class='linkclass'

  • The following:
    typolink.parameter = example.com linktarget linkclass

  • The following:
    typolink = example.com linktarget linkclass

Explicación

Pregunta 11 de 13

1

You want to link to an image. When the image is clicked, you want a new page with UID = 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
???
}

Selecciona una o más de las siguientes respuestas posibles:

  • Answer
    typolink.parameter = 123 350x700

  • Answer
    stdWrap.typolink.parameter = 123 350x700

  • Answer
    typolink.parameter = 123
    typolink.JSwindow_params = width=350,height=700

  • Answer
    stdWrap.typolink.parameter = 123
    stdWrap.typolink.JSwindow_params = width=350,height=700

  • Answer
    typolink.popup = 1
    typolink.popup.params = 123 350x700

  • Answer
    stdWrap.typolink.popup = 1
    stdWrap.typolink.popup.params = 123 350x700

Explicación

Pregunta 12 de 13

1

The TypoScript code below is supposed to convert a Unix time stamp to a more readable form. What do you have to write in place of the question marks? (1)

page = PAGE
page.10 = TEXT
page.10.value = 1226923200
page.10.??? = %A, %d.%B %Y

Selecciona una o más de las siguientes respuestas posibles:

  • strftime

  • date

  • prioriCalc.strftime

  • mktime

  • time

Explicación

Pregunta 13 de 13

1

You want this TypoScript code section to output the number of days that have elapsed since the TYPO3 certification program began. What do you have to write in place of the question marks? (1)

page = PAGE
page.10 = COA_INT
page.10 {
10 = TEXT
10 {
cObject = TEXT
cObject.data = date:U
cObject.wrap = (|-1226923200)/86400
???
wrap = The certification has existed for&nbsp; | &nbsp;days
}
}

Selecciona una o más de las siguientes respuestas posibles:

  • calc = intval

  • calc = 1

  • prioriCalc = intval

  • exec = calc

  • priori = calc

Explicación