This file contains 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['TL_DCA']['tl_page']['fields']['mymodule'] = array ( | |
'label' => & $GLOBALS['TL_LANG']['tl_page']['mymodule'], | |
'exclude' => true, | |
'inputType' => 'pageTree', | |
'eval' => array ( | |
'fieldType' => 'radio', | |
) | |
); |
This file contains 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
#Zugriff verbieten | |
<IfModule !mod_authz_core.c> | |
Order deny,allow | |
Deny from all | |
</IfModule> | |
<IfModule mod_authz_core.c> | |
Require all denied | |
</IfModule> | |
#Zugriff erlauben | |
<IfModule !mod_authz_core.c> |
This file contains 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
#target "photoshop" | |
var outputWidth = 1024; | |
var inputFolder = Folder.selectDialog("Input folder"); | |
var outputFolder = Folder.selectDialog("Output folder"); | |
if (inputFolder != null && outputFolder != null) { | |
var files = inputFolder.getFiles("*.psd"); | |
for (var i = 0; i < files.length; i++) { |
This file contains 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
<script type="text/javascript"> | |
//when the dom is ready | |
window.addEvent('domready',function() { | |
//smooooooth scrolling enabled | |
//new SmoothScroll({ options }, window); | |
new SmoothScroll({ duration:500, offset: {'x': 0, 'y': -40} }, window); //500 milliseconds to get there | |
}); | |
</script> |
This file contains 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
<pre> | |
<?php $this->showTemplateVars(); ?> | |
</pre> |
This file contains 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 class="layout_full block<?php echo $this->class; ?>"> | |
<h1><?php echo $this->newsHeadline; ?></h1> | |
<?php if ($this->hasMetaFields): ?> | |
<p class="info"><time datetime="<?php echo $this->datetime; ?>"><?php echo $this->date; ?></time> <?php echo $this->author; ?> <?php echo $this->commentCount; ?></p> | |
<?php endif; ?> | |
<?php if ($this->hasSubHeadline): ?> |
This file contains 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
// show content in specific archives | |
<?php if ($this->archive == 'my_archive') { ?> | |
<img class="my_class" src="{{env::path}}tl_files/sys/assets/img/my_image.jpg" alt="" width="100" height="100" /> | |
<?php } ?> |
This file contains 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['TL_DCA']['tl_calendar_events']['fields']['addTime'][ 'eval']['doNotCopy']= false; | |
$GLOBALS['TL_DCA']['tl_calendar_events']['fields']['startTime'][ 'eval']['doNotCopy']= false; | |
$GLOBALS['TL_DCA']['tl_calendar_events']['fields']['endTime'][ 'eval']['doNotCopy']= false; |
This file contains 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['TL_LANG']['MSC']['copyOf'] = '%s'; |
This file contains 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
############ headers and caching | |
<ifModule mod_expires.c> | |
ExpiresActive On | |
ExpiresDefault A86400 | |
ExpiresByType image/gif A2592000 | |
ExpiresByType text/javascript A2592000 | |
</ifModule> | |
### HEADER CACHING |
OlderNewer