Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View randomresult's full-sized avatar

Harry Glatz randomresult

View GitHub Profile
<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="Header">
<header id="header">
<f:render partial="Navigation.html" section="Navigation" arguments="{_all}" />
</header>
Du bist auf #: {v:site.name()}
@randomresult
randomresult / gist:8975284
Created February 13, 2014 13:49
textarea
{namespace v=Tx_Vhs_ViewHelpers}
{namespace flux=FluidTYPO3\Flux\ViewHelpers}
<f:layout name="FCE"/>
<?xml version="1.0" encoding="UTF-8" ?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:flux="http://fedext.net/ns/flux/ViewHelpers"
xmlns:v="http://fedext.net/ns/vhs/ViewHelpers"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"
@randomresult
randomresult / remove-std-div
Created November 29, 2013 05:56
TS for removing standard-Div around Fedext.net FCE-Contentelments. (Setup.txt)
tt_content.stdWrap.innerWrap.cObject.default.if{
equals.field = CType
value = fluidcontent_content
negate= 1
}
@randomresult
randomresult / PhpStorm-misc.xml
Last active December 29, 2015 10:19
misc.xml for PhpStorm projekt to set the Schema-Stuff for fluid/flux/vhs (find in .idea/misc.xml) In this case the xsd-shemas are located in my user-folder/xsd-shema/ (macosx)
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectResources">
<resource url="http://typo3.org/ns/flux/ViewHelpers" location="$USER_HOME$/xsd-shema/flux.xsd" />
<resource url="http://typo3.org/ns/fluid/ViewHelpers" location="$USER_HOME$/xsd-shema/fluid.xsd" />
<resource url="http://typo3.org/ns/vhs/ViewHelpers" location="$USER_HOME$/xsd-shema/vhs.xsd" />
</component>
<component name="ProjectRootManager" version="2" />
</project>
@randomresult
randomresult / flux-layout
Last active December 29, 2015 10:19
Fluid-Layout to use for flux/vhs/fluid - Base to make a file-Template in PHPStorm
{namespace v=Tx_Vhs_ViewHelpers}
{namespace flux=Tx_Flux_ViewHelpers}
@randomresult
randomresult / flux-partial
Last active December 29, 2015 10:19
Fluid-Partial to use for flux/vhs/fluid - Base to make a file-Template in PHPStorm
{namespace f=Tx_Fluid_ViewHelpers}
{namespace v=Tx_Vhs_ViewHelpers}
<div xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:flux="http://typo3.org/ns/flux/ViewHelpers"
xmlns:v="http://typo3.org/ns/vhs/ViewHelpers"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"
>
@randomresult
randomresult / flux-template
Last active December 29, 2015 10:19
Fluid-Template to use for flux/vhs/fluid - Base to make a file-Template in PHPStorm
{namespace f=Tx_Fluid_ViewHelpers}
{namespace v=Tx_Vhs_ViewHelpers}
{namespace flux=Tx_Flux_ViewHelpers}
<f:layout name="layoutName"/>
<?xml version="1.0" encoding="UTF-8" ?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:flux="http://typo3.org/ns/flux/ViewHelpers"
xmlns:v="http://typo3.org/ns/vhs/ViewHelpers"
@randomresult
randomresult / new_gist_file.php
Created October 27, 2013 06:07
Switch-Case mit TS-Setup-Constante #typo3 #fedext #fluid #vhs
//TYPOSCRIPT
//Values im Beispiel: 1 oder 2 - not set = default
plugin.tx_EXTNAME.settings.variableFOO = 1
//Frontendausgabe
<v:var.set name="variableFOO" value="{v:var.typoscript(path: 'plugin.tx_EXTNAME.settings.variableFOO')}"/>
<v:switch value="{variableFOO}">
<v:case case="1" break="TRUE">
<img src="typo3conf/ext/EXTNAME/Resources/Public/images/image_1.png" />
@randomresult
randomresult / typo3.gitignore
Created October 17, 2013 14:40
TYPO3 example .gitignore - can be used to customize. #typo3 #git #gitignore
typo3/typo3conf/temp_CACHED_*
typo3/typo3conf/AdditionalConfiguration.php
typo3/typo3conf/temp_CACHED*
typo3/typo3conf/deprecation*
temp_CACHED_*
typo3/typo3conf/realurl_autoconf.php
typo3/typo3temp
typo3/typo3temp/
typo3/typo3temp/*
@randomresult
randomresult / .gitignore
Created October 17, 2013 08:49
Magento example .gitignore - can be used to customize. #magento #git #gitignore
magento/var/
magento/media/
magento/app/etc/local.xml
magento/.htaccess
stats/
stats
stats/*
.htaccess
*.htaccess*
*.htaccess