[TYPO3-english] generate link problem in RTE

Etienne Reiss etienne.reiss at crdp.ac-grenoble.fr
Fri Sep 18 09:38:23 CEST 2009


Hi,

1- which version of  T3 do you have ? upgrade if you can...

2- I had a similar problem with a T3 installation. Trying to access an 
"external URL" which was located on the server  where T3 was installed 
gave similar troubles : sometimes the url was prefixed with the T3 
installation path, sometimes the url was not prefixed at all, sometimes 
the url was ok, depending on the folder I tryed to access. Note that 
Apache was configured with many aliases...

I couldn't find the exact cause of this bug. Anyway this install of 
typo3 was not securized. So I changed the permissions to secure it and 
by the way this bug dissapeared.... ! check your install as described 
here : http://dmitry-dulepov.com/e-books/typo3-installation-and-upgrade.html

Etienne



worryxp2003 at gmail.com a écrit :
> I did nothing abt the RTE. Here is my root ts list:
>
> page = PAGE
> page.typeNum = 0
> page.includeCSS.file1 = fileadmin/template/css/_style.css
> page.includeCSS.file2 = fileadmin/template/css/homepage.css
> page.includeCSS.file3 = fileadmin/template/css/news.css
> [globalVar = GP:L = 1]
> page.includeCSS.file4 = fileadmin/template/css/cymraeg.css
> [global]
> ### Meta information
>
> config.noPageTitle = 2
> page.headerData.600 = COA
> page.headerData.600{
> 	10 = TEXT
> 	10.value = <title>glyndwr innovation |
> 	10.stdWrap.dataWrap =|&nbsp;{page:title}</title>
> 	}
>
> page.meta{
>     keywords.field = keywords
>     keywords.ifEmpty (
>          glyndwr, study, innovation
>     )
>     description.field = description
>     description.ifEmpty (
> 	welcome at glyndw innovation team
>     )
>  }
> ### generell config
>
> #config.no_cache = 1
> config.cache_period = 3600
> config.disablePrefixComment = 1
> config.doctype = xhtml_trans
> config.xhtml_cleaning = all
> #config.metaCharset = utf-8
> config.metaCharset = ISO-8859-1
> config.spamProtectEmailAddresses = 1
> config.spamProtectEmailAddresses_atSubst = (at)
>
> #### real URL
> config.baseURL = http://2evolv.org/glyndwr_webdev/
> config.prefixLocalAnchors = all
> config.tx_realurl_enable = 1
> config.simulateStaticDocuments = 1
>
> ###language
> config.linkVars = L
> config.sys_language_uid = 0
> config.language = en
> config.locale_all = en_GB
>
> [globalVar = GP:L = 1]
> config.sys_language_uid = 1
> config.language = cy
> config.locale_all = cy-cy
> [global]
>
> [globalVar = TSFE:id = 1]
> page.bodyTag = <body onload="mySWF();">
> [global]
>
> page.headerData.999 = COA
> page.headerData.999 {
> 	10 = TEXT
> 	10.value (
> 	<!--[if lte IE 6]><link rel="stylesheet" 
> href="glyndwr_webdev/fileadmin/template/css/ie.css" type="text/css" 
> media="screen, projection" /><![endif]-->
> 	<!--[if lte IE 7]><link rel="stylesheet" 
> href="glyndwr_webdev/fileadmin/template/css/ie7.css" type="text/css" 
> media="screen, projection" /><![endif]-->
> 	)
>     }
> page.headerData.991 = COA
> page.headerData.991 {
> 	5 = TEXT
> 	5.value(
> 	<script type="text/javascript" 
> src="fileadmin/template/js/swfobject.js"></script>
> 	)
> 	10 = TEXT
> 	10.value(
> 	<script type="text/javascript" 
> src="fileadmin/template/js/mootools-core.js"></script>
> 	)
> 	15 = TEXT
> 	15.value(
> 	<script type="text/javascript" 
> src="fileadmin/template/js/mootools-more.js"></script>
> 	)
> 	20 = TEXT	20.value( 
>
> 	<script type="text/javascript" 
> src="fileadmin/template/js/application.js"></script>
>
> 	)
>
> }
> #################################SearchboX
> plugin.tx_macinasearchbox_pi1 {
> templateFile=fileadmin/template/searchbox.html
> pidSearchpage = 22
> }
>
>
> #### template
>
> page.10 = TEMPLATE
> page.10.template = FILE
> [globalVar = TSFE:id = 1]
> page.10.template.file = fileadmin/template/default.html
> [else]page.10.template.file 
> = fileadmin/template/content.html
> [global]page.10.workOnSubpart 
> = DOCUMENT
> page.10.marks{
>
>
> 	HEADER = COA
> 	HEADER{
>
> 		10 = IMAGE
> 		10.file = fileadmin/template/image/backtoGlyndwr.png
> 		10.altText = back to Gylndwr
> 		10.params= class ="backToGlyndwr"
> 		10.typolink{
>
> 		}
> 		}
> 	LOGO = COA
> 	LOGO{
> #		#wrap = <ul>|</ul>
> #		10 = TEXT
> #		10.value = ...whrere innovation begins.
> #		10.wrap = <h1 class = "pageHeadline">|</h1>
>
> 		20 = IMAGE
> 		20.file = fileadmin/template/image/logo_glyndwr_with_words_01.png
> 		20.params = class = "logo"
> 		20.altText = glyndwr innovations logo
> 		20.titleText.data = {$logoTitle}
> 		20.imageLinkWrap = 1
> 		20.imageLinkWrap {
> 			enable = 1
> 			typolink.parameter = 1
> 			typolink.ATagParams =  title = "back to homepage"
> 			}
> 		}
>
> ## banner on startpage	BANNER 
>  = COA
> 	BANNER{
> 	wrap = <div id="flash" class="flash">|</div>
> 	10=TEXT
> 	10.data = levelmedia:-1,slide
> 	10.listNum = 1
> 	10.wrap (
> 		<script type="text/javascript">
> 		myFlashFile = "|";
> 		</script>
> 		)
> 	20 =IMAGE
> 	20{
> 	file.import = uploads/media/
>         file.import.data = levelmedia:1,slide
> 	file.import.listNum = 0
>        	file.import.override.field = media
>        	altText.data = page:title
>        	params = class = banner-image
> 	altText.noTrimWrap = |hompage banner | |
> 	titleText.data = page:title
>        	titleText.noTrimWrap = |homepage banner | |
>         }
>      }
> ### header Image on content pages	CONTENT_IMAGE 
>  = COA
> 	CONTENT_IMAGE{
> 	wrap = <div class="contentHeader">|</div>
> 	10=IMAGE
> 	10{
> 	file.import = uploads/media/
>         file.import.data = levelmedia:1,slide
> 	file.import.listNum = 0
>        	file.import.override.field = media
>        	altText.data = page:subtitle
> 	altText.noTrimWrap = |content image with headline | |
> 	titleText.data = page:subtitle
>        	titleText.noTrimWrap = |content image with headline | |
>           }
>         20 = TEXT
>         20.value =
>         20.wrap = <h1>|</h1>
>         #20.stdWrap.dataWrap = <h1>|{levelfield:-1, subtitle, slide}</h1>
>         20.override.data = levelfield: 1, subtitle, slide
>
> 	}
> #Content marker	CONTENT 
>  = CONTENT
>         CONTENT {
>         wrap = <div class="theContent"><div class="topCorner"></div><div 
> class="contentBorder">|</div><div class="bottomCorner"></div></div>
>
> 	table = tt_content
> 	select.orderBy = sorting
> 	select.where = colPos=0
> 	select.languageField = sys_language_uid
> 	}
>
> 	CONTENT_START = CONTENT
>         CONTENT_START {
>         wrap = <div class="theContentStart"><span 
> class="welcomeStripe"></span><div class="topCorner"></div><div 
> class="contentBorder">|</div><div class="bottomCorner"></div></div>
>
> 	table = tt_content
> 	select.orderBy = sorting
> 	select.where = colPos=0
> 	select.languageField = sys_language_uid
> 	}#news 
> marker for startpage 	NEWS= CONTENT
>         NEWS{
> 	table = tt_content
> 	select.orderBy = sorting
> 	select.where = colPos=1
> 	select.languageField = sys_language_uid
> 	}
> #case studies marker on startpage	CASE_STUDIES 
>  = COA
>         CASE_STUDIES {
> 	wrap = <div class="theContent"><span class="newsStripe"></span><div 
> class="topCorner"></div><div class="contentBorder casestudies">|</div><div 
> class="bottomCorner"></div></div>
>
> 	5 = TEXT
>         5{
> 	value = case studies
> 	wrap = <h2>|</h2>
> 	}
>
>         10 = RECORDS
>         10{
>
> 	tables = tt_content
> 	source = 31
> 	}
>         20 = RECORDS
>         20{
> 	tables = tt_content
> 	source = 32
> 	}	} 
>
> 	SIDEBAR = COA
> 	SIDEBAR{
>
> 		5 = COA		5.10 
>  < plugin.tx_macinasearchbox_pi1
> 		5.wrap = <div class="block"><span class="searchStripe"></span><div 
> class="sidebarCurvesTop"></div><div class="sidebarCurvesMiddle 
> searchPod">|</div><div class="sidebarCurvesBottom"></div></div>
>
> 		10 = COA
> 		10.wrap = <div class="block"><span class="upcomingStripe"></span><div 
> class="sidebarCurvesTop"></div><div class="sidebarCurvesMiddle 
> eventPod">|</div><div class="sidebarCurvesBottom"></div></div>
> #		10.5 = TEXT
> #		10.5.value = upcoming events
> #		10.5.wrap = <h2>|</h2>
> 		10.10 < temp.event_upcoming
>
> 		15 = COA
> 		15.wrap = <div class="block"><span class="insightStripe"></span><div 
> class="sidebarCurvesTop"></div><div class="sidebarCurvesMiddle 
> insightPod">|</div><div class="sidebarCurvesBottom"></div></div>
> 		15.10 < temp.insightPod
>
> 		20 = COA
> 		20.wrap = <div class="block"><span class="keepStripe"></span><div 
> class="sidebarCurvesTop"></div><div class="sidebarCurvesMiddle 
> keepPod">|</div><div class="sidebarCurvesBottom"></div></div>
> 		20.10 < temp.keepInTouch
>
> 		30 = COA
> 		30.wrap = <div class="block">|</div>
> 		30.10 < temp.socialBookmarks
>
> 	}
> 	FOOTER = COA
> 	FOOTER{
> 	  10 < temp.helpMenu
> 	  10.wrap = <div class = "helpmenu">|</div>
>
> 	  20 = COA
> 	  20.wrap = <div class = "quicklinks">|</div>
> 	  20.10 < temp.quicklinks
> 	}
> }
>
>
> ##### Plugin Indexed Search
> page.config.index_enable = 1
> plugin.tx_indexedsearch.templateFile = fileadmin/template/indexedSearch.html
> plugin.tx_indexedsearch.show.advancedSearchLink = 0
>
> #### RTE configuration
>
> #lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.nonWrappedTag >
>
> plugin.tt_news {
>   general_stdWrap >
>
>   displayList {
>     subheader_stdWrap.wrap = <p>|</p>
>
>   }
>   displayLatest {
>     subheader_stdWrap{
> 	 #append = TEXT
>   	 #append.data = register:newsMoreLink
>  	 #append.wrap = <span>|</span>
>  	 #stdWrap.data = register:newsMoreLink
> 	 crop = 78| ...
>  	 }
>   }
>  }
>
>
>  
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
>
>   

-- 
Etienne Reiss
CRDP Académie de Grenoble
réalisation multimédia
04 76 74 72 27
etienne.reiss at crdp.ac-grenoble.fr




More information about the TYPO3-english mailing list