TYPO3 Reea Blog

This will be shown to users with no Flash or Javascript.

Optiuni config.ts

Config pentru HTML5 (instalati extenisa boilerplate)


config {
	spamProtectEmailAddresses = 1
	spamProtectEmailAddresses_atSubst = @
	disablePrefixComment = 1
	extTarget = _top
	linkVars = L
	sys_language_uid = 0
	language = ch
	locale_all = ch_CH.utf-8
	htmlTag_setParams = lang="ch" 
	pageTitleFirst = 1
	metaCharset = utf-8
	renderCharset = utf-8
	doctype = html_5
	cache_clearAtMidnight = 1
	
	index_enable = 1
	additionalHeaders = Content-Type:text/html;charset=utf-8  
	simulateStaticDocuments=0
	baseURL = http://www.domeniu.com/
	tx_realurl_enable = 1
	uniqueLinkVars = 1
	prefixLocalAnchors = all
	defaultToHTMLsuffixOnPrev = 1
	
	# FOR TEMPLA VOILA MULTILANGUAGE  
	sys_language_mode = content_fallback
	sys_language_overlay = 1
	sys_language_overlay = hideNonTranslated
	removeDefaultJS = external
	#  removeDefaultJS = 1
	inlineStyle2TempFile = 1
	minifyJS = 1
}

#Disable jquery
page.includeJSFooterlibs{
	jquery = 
	jquery.external = 1
}
page.includeJSFooter{
	main = 
}

Restrictionare acces site in dezvoltare


page = PAGE
page.typeNum = 0
page.10 = TEXT
page.10.value = <div style="text-align:center; padding-top:200px;"><H1>Site in lucru</H1></div>
page.includeCSS >
[IP = 84.232.142.213]
<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/templates/res/setup.ts">
[end]

Multilanguage


########################################################################################
# Setting up the language variable "L" to be passed along with links
########################################################################################

# English language, sys_language.uid = 1
[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = en
config.locale_all = en_GB
[global]



Setare multidomain


[globalString = ENV:HTTP_HOST = www.tradesense.ro]
page.config.baseURL = http://www.tradesense.ro/

[globalString = ENV:HTTP_HOST = www.tradesense.nl]
   page.config.baseURL = http://www.tradesense.nl/
[global]

Include JS din setup


page.includeJS {

  file1 = fileadmin/helloworld.js

  file1.type = application/x-javascript

  file2 = javascript_uploaded_to_template*.js

}
type - default este text/javascript

Include CSS style in Head


includeCSS {

  file1 = fileadmin/mystylesheet1.css

  file2 = stylesheet_uploaded_to_template*.css

  file2.title = High contrast

  file2.media = print

  ie6Style = fileadmin/css/style3.css

  ie6Style.allWrap = <!--[if lte IE 7]>|<![endif]-->

  cooliris = http://www.cooliris.com/shared/             resources/css/global.css

  cooliris.external = 1

}
blog comments powered by Disqus