
Free TYPO3 WebSite

Get Your Own Free TYPO3 WebSite!
Newsletter, Contact, Users, Access Rights and much more...
Create your account now!

Developer Documents
Developer Faq's
-
EXT:realurl - Multilang Simple Setup ( ext:commerce )
-
Fonts:
www.medienprofiler.net/page_has_INTincScript.138.0.htmllocalconf.php
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array(
'enableCHashCache' => true,
'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => true,
'enableUrlDecodeCache' => true,
'emptyUrlReturnValue' => '/',
),
'pagePath' => array(
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 300,
'excludePageIds' => '128,130',
'rootpage_id'=>128,
'segTitleFieldList'=>'tx_realurl_pathsegment,alias,nav_title,title',
'autoUpdatePathCache' => 1,
),
'preVars' => array(
array(
'GETvar' => 'L',
'valueMap' => array(
'pt' => '2',
'en' => '0'
),
'valueDefault' => 'pt',
),
),
'fixedPostVars' => array(
'_DEFAULT' => array(
array(
'GETvar' => 'tx_commerce_pi1[catUid]',
'lookUpTable' => array(
'table' => 'tx_commerce_categories',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
'languageGetVar' => 'L',
'languageExceptionUids' => '',
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l18n_parent'
),
),
array(
'GETvar' => 'tx_commerce_pi1[showUid]',
'lookUpTable' => array(
'table' => 'tx_commerce_products',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
'languageGetVar' => 'L',
'languageExceptionUids' => '',
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l18n_parent'
)
)
),
),
'postVarSets' => array(
'45' => array(
array(
'GETvar' => 'cHash',
),
),
),
'fileName' => array (
'index' => array(
'index.html' => array(
'keyValues' => array(
)
),
),
),
);
// Default Portuguese
$_GET['L'] = 2;
if (preg_match( '/\/en\//', $_SERVER["HTTP_HOST"] ) ) {
$_GET['L'] = 0;
} -
Typoscript conditional display based on pi_vars
-
20 = COA
20 {
10 = TEXT
10.value = &tx_svdgbseminar_pi1[theme]=
20 = TEXT
20.data = GPvar : tx_svdgbseminar_pi1 | theme
if {
isTrue.data = GPvar : tx_svdgbseminar_pi1 | theme
}
}


