This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PhpStorm: all comments e.g. in localconf.php | |
(^)?(//).+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select * from tt_address PROCEDURE ANALYSE(1,10); | |
# -- | |
# typo3.tt_address.skype foo 0 27 92 75 3.1215 NULL VARCHAR(27) | |
# -- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// PageTSConfig | |
mod.wizards.newContentElement.wizardItems { | |
homepage { | |
header = Homepage | |
show = * | |
elements { | |
theme-sujet { | |
title = Big Sujet | |
description = Main sujet with slider images | |
tt_content_defValues { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div xmlns="http://www.w3.org/1999/xhtml" lang="en" | |
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers" | |
xmlns:f="http://xsd.helhum.io/ns/typo3/cms-fluid/master/ViewHelpers" | |
data-namespace-typo3-fluid="true"> | |
<f:section name="SrcsetImage"> | |
<f:if condition="{image}"> | |
<v:variable.set name="imgurl" value="{f:uri.image(image: image,maxWidth: '{maxWidth}')}" /> | |
<v:variable.set name="imgsize" value="{v:media.image.width(src:'{imgurl}')}" /> | |
<v:variable.set name="img480" value="{f:uri.image(image: image,maxWidth:'480')} 480w," /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tt_content.customcontentelement = COA | |
tt_content.customcontentelement { | |
10 = FILES | |
10 { | |
references { | |
table = tt_content | |
uid.data = field:uid | |
fieldName = image | |
} | |
begin = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
page { | |
stdWrap.replacement { | |
10 { | |
search = #<div class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">[\n\r\s]+<img src="/fileadmin/template/img/toggle.png" />[\n\r\s]+</div>#i | |
useRegExp = 1 | |
replace.stdWrap.cObject = COA | |
replace.stdWrap.cObject { | |
// ... replacement stuff |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a database table | |
# Add necessary fields | |
# Import csv and map fields | |
# run if you table is named "Shirts" and the T-Shirt size column is named "Size" | |
SELECT Size,COUNT(*) FROM Shirts GROUP BY Size; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lib.View.SingleSujet = FILES | |
lib.View.SingleSujet { | |
references { | |
table = tx_news_domain_model_news | |
uid.data = GP:tx_news_pi1|news | |
fieldName = fal_media | |
} | |
begin = 0 | |
maxItems = 1 |