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
$GLOBALS['TYPO3_DB']->getDateTimeFormats('table_name'); |
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
<?php | |
namespace BinaryBay\BbBoilerplate\ContentObject\Exception; | |
use TYPO3\CMS\Core\Utility\GeneralUtility; | |
use TYPO3\CMS\Core\Utility\HttpUtility; | |
use TYPO3\CMS\Extbase\Utility\DebuggerUtility; | |
use TYPO3\CMS\Frontend\ContentObject\AbstractContentObject; | |
class ProductionExceptionHandler extends \TYPO3\CMS\Frontend\ContentObject\Exception\ProductionExceptionHandler { |
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
<?php | |
namespace BinaryBay\BbBoilerplate\ViewHelpers; | |
class PageBansViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper { | |
/** | |
* @var array | |
*/ | |
const PAGE_BAN_FIELD = 'page_ban'; |
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.parseFunc_RTE { | |
externalBlocks { | |
table { | |
stdWrap { | |
wrap = <div class="table-responsive">|</div> | |
HTMLparser.tags.table.fixAttrib.class.list:= addToList(table-bordered) | |
} | |
} | |
} | |
} |
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
<v:condition.iterator.contains needle="<the page id>" haystack="{v:page.rootline() -> v:iterator.extract(key: 'uid')}"> | |
is in | |
</v:condition.iterator.contains> |
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
//can be found in b2b.austria project |
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
<button | |
class="btn btn-danger" | |
onclick="return top.TYPO3.Modal.confirm('Are you sure', 'Are you sure you want ot delete all records', top.TYPO3.Severity.warning) | |
.on('confirm.button.ok', function() { | |
window.location.href = '<f:uri.action action='deleteAllRdo' />'; | |
top.TYPO3.Modal.currentModal.trigger('modal-dismiss'); | |
}) | |
.on('confirm.button.cancel', function() { | |
top.TYPO3.Modal.currentModal.trigger('modal-dismiss'); | |
});" |
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
#!/usr/bin/env bash | |
# MIT © Sindre Sorhus - sindresorhus.com | |
# git hook to run a command after `git pull` if a specified file was changed | |
# Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`. | |
# Global use: https://coderwall.com/p/jp7d5q/create-a-global-git-commit-hook | |
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
check_run() { |
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
<f:switch expression="gridelement{contentObject.parentgrid_tx_gridelements_backend_layout}_col{contentObject.tx_gridelements_columns}"> | |
<f:case value="gridelement4_col1"> | |
<v:variable.set name="imageWidth" value="524c" /> | |
<v:variable.set name="imageHeight" value="524c" /> | |
<v:variable.set name="imageCol" value="6" /> | |
<v:variable.set name="textCol" value="6" /> | |
</f:case> | |
<f:case value="gridelement4_col2"> | |
<v:variable.set name="imageWidth" value="524c" /> | |
<v:variable.set name="imageHeight" value="524c" /> |
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
bodyTagCObject = COA | |
bodyTagCObject { | |
10 = TEXT | |
10 { | |
data = page:uid | |
stdWrap.noTrimWrap = |page-uid-| | | |
} | |
20 = TEXT | |
20 { |
OlderNewer