Commit bb9ae36f authored by Martino Gianluigi's avatar Martino Gianluigi

[TASK] Update TypoScript condition to Symfony Expression

parent 01ec111a
......@@ -41,7 +41,7 @@ page.includeJSFooterlibs {
plugin.tx_news.settings.detail.media.image {
lightbox = magnificpopup
}
[global]
[END]
plugin.tx_jhmagnificpopup {
settings {
......
......@@ -165,7 +165,7 @@ plugin.tx_jhmagnificpopup.settings {
// Add javascript of iframe to footer
page.jsFooterInline < plugin.tx_jhmagnificpopup.settings.type.iframe.setup
[global]
[END]
// Include javascript of ajax if enabled global
["1" == "{$plugin.tx_jhmagnificpopup.type.ajax.enableglobal}"]
......@@ -182,7 +182,7 @@ plugin.tx_jhmagnificpopup.settings {
// Add javascript of ajax to footer
page.jsFooterInline < plugin.tx_jhmagnificpopup.settings.type.ajax.setup
[global]
[END]
// Definde page for ajax-requests
ajaxcontent = PAGE
......@@ -216,7 +216,7 @@ ajaxcontent {
}
}
}
[global]
[END]
// Render from reference to content-element
[request.getQueryParams()['jh_magnificpopup']['type'] == 'reference']
......@@ -234,7 +234,7 @@ ajaxcontent {
}
}
}
[global]
[END]
// TS to render images as link
lib.tx_jhmagnificpopup_pi1.image < tt_content.image.20.1
......@@ -271,4 +271,4 @@ plugin.tx_jhmagnificpopup._CSS_DEFAULT_STYLE (
// Add javascript of iframe to footer
page.jsFooterInline < plugin.tx_jhmagnificpopup.settings.type.iframe.setup
[global]
[END]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment