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
# compass create --syntax sass --sass-dir "app/assets/stylesheets" --css-dir "public/stylesheets" --javascripts-dir "app/assets/javascripts" --images-dir "public/images" | |
compass create -r bootstrap-sass --using bootstrap --syntax sass --sass-dir "app/assets/stylesheets" --css-dir "public/stylesheets" --javascripts-dir "app/assets/javascripts" --images-dir "public/images" | |
# compass create compass-test -r bootstrap-sass --using bootstrap --syntax sass | |
# Result: | |
Congratulations! Your compass project has been created. | |
You may now add and edit sass stylesheets in the sass subdirectory of your project. |
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
### Setup Typo3 | |
# USING COMPOSER | |
$ curl -sS https://getcomposer.org/installer | php | |
$ mv composer.phar /usr/local/bin/composer | |
$ touch composer.json | |
$ sudo nano composer.json | |
{ | |
"repositories": [ |
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
{namespace v=FluidTYPO3\Vhs\ViewHelpers} | |
{namespace flux=FluidTYPO3\Flux\ViewHelpers} | |
<f:layout name="Content" /> | |
<f:section name="Configuration"> | |
{v:variable.typoscript(path: 'plugin.tx_fluidcontentbootstrap.settings') -> v:variable.set(name: 'settings')} | |
{f:if(condition: settings.gridColumns, then: settings.gridColumns, else: 12) -> v:variable.set(name: 'numberOfColumns')} | |
<v:variable.set name="types" value="{1: 'none', 2: 'Bottom to Top', 3: 'Top to Bottom'}"/> | |
<flux:form id="row" label="Grid" options="{icon: '../typo3conf/ext/rm_client/Resources/Public/Icons/', group: 'FCE'}"> |
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
$TYPO3_CONF_VARS['GFX']['im_stripProfileCommand'] | |
New value = -set colorspace RGB |
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
/** | |
IS ON SCREEN FUNCTION | |
**/ | |
$.fn.isOnScreen = function(){ | |
var win = $(window); | |
var viewport = { | |
top : win.scrollTop(), | |
left : win.scrollLeft() |
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
/*** | |
Startimage Fullheight | |
***/ | |
$(document).ready(function(){ | |
if( $('.fullheight').length > 0 ){ | |
var winHeight = $(window).height(); | |
var fullheight = $('.fullheight'); | |
fullheight.css({ 'height' : winHeight + 'px' }); |
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
/*** | |
Equal Heights | |
***/ | |
function matchHeight() { | |
var location = $('.row > .container'); // location | |
location.each(function(i, el){ | |
var set = $('> div', el); |
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
<?php | |
$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment'; | |
$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array( | |
'_DEFAULT' => array( | |
'init' => array( | |
'enableCHashCache' => 1, | |
'appendMissingSlash' => 'ifNotFile', | |
'enableUrlDecodeCache' => 1, | |
'enableUrlEncodeCache' => 1, | |
'postVarSet_failureMode' => '', |
OlderNewer