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:if condition="{image}"> | |
<v:var.set name="falImage" value="{v:content.resources.fal(field: 'image') -> v:iterator.extract(key: 'id') -> v:iterator.first()}"/> | |
<div class="module image"> | |
<v:resource.image | |
identifier="{falImage}" | |
width="676c" | |
height="237" | |
alt="{falImage.alternative}" | |
/> | |
</div> |
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
# Allow cross-site menu links in multidomain / multisite setup | |
# With properly rendered RealURL links (incl. full external domain path). | |
# Add the following code to an existing typoscript base in TYPO3. | |
# This code alone is not sufficient to make a working website :) | |
# [email protected] - 04/2014 - Free use, no credit required | |
# Requires standard config of RealURL. | |
# Add the following to TS Setup: |
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
# Powermail includes required translations for Javascript inline (in the page footer HTML) | |
# Some translations e.g. French include single quotes, which break the format of the Javascript string. | |
# [email protected] - 04/2014 - Free use, no credit required | |
# Via http://forge.typo3.org/issues/54183 | |
# Add the following to TS Setup: | |
page.1000 { | |
10 { | |
stdWrap.replacement { |
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
# Define specific block style for the RTE editor in TYPO3 v6.1.7+ | |
# Probably works in older v6 versions, but not tested | |
# Add the following to TS config on the root page of your site | |
# and add applicable CSS rules to e.g. fileadmin/templates/unia2014/Resources/Public/css/RTE.css | |
# to make the formatting work in the BE. | |
# (You will need to add the CSS to your FE CSS too.) | |
# [email protected] - 04/2014 - Free use, no credit required | |
RTE.classes{ |
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
# Set the following constants: | |
# config.google.analytics.code | |
# config.google.analytics.domain | |
# [email protected] 5.5.2014 - Free use, no credit required | |
lib.googleanalytics = TEXT | |
lib.googleanalytics.value ( | |
<script> | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | |
ga('create', '{$config.google.analytics.code}', '{$config.google.analytics.domain}'); |
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
var hasStorage = (typeof(Storage)!=="undefined" && typeof(localStorage)!=="undefined"); |
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
.svg-background-image(@svg,@fallback){ | |
/* | |
From css-tricks.com/using-svg/ | |
coincidentally, if multiple backgrounds are supported, then so are SVG images! | |
Usage: | |
.svg-background-image('my.svg','fallback.png'); | |
*/ | |
background-image: url('@{fallback}'); |
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
AuthUserFile /path/to/.htpasswd | |
AuthName "Restricted Access" | |
AuthType Basic | |
require user [username] | |
satisfy any | |
deny from all | |
allow from 192.168.1. | |
allow from 10.1.1.45 | |
allow from 172.16.5.106 |
OlderNewer