[TYPO3-rte] RTE link transformation problem
Karl Wallace
karl.wallace at roomthree.com
Wed Sep 23 13:30:50 CEST 2009
Hello again
This problem is now resolved. Maybe this wasn't the most appropriate list
for my problem, thanks for replying to me anyway.
Here's what I did.
First of all I checked that lib.parseFunc.RTE was present , It was.
I restored the site to a version before I started my upgrade work and the
problem was still there, so I had a another look at the existing TS setup.
I found a block of TS which was where the problem was (full block included
at the end). It's using renderObj to present each content element in that
column in a specific way.
As you can see the bodytext was presented with the following lines.
20 = TEXT
20.field = bodytext
20.wrap = <p>|</p>
20.required = 1
I realised then that parsefunc was not being applied to this text object.
So I added this code and everything works now.
20.parseFunc {
makelinks = 1
makelinks.http.keep = path
makelinks.http.extTarget = _blank
makelinks.mailto.keep = path
tags {
link = TEXT
link {
current = 1
typolink.extTarget = _blank
typolink.target= _self
typolink.wrap = |
typolink.parameter.data = parameters : allParams
}
typolist < tt_content.bullets.default.20
typolist.trim = 1
typolist.field >
typolist.current = 1
}
}
-----------------------------------------------------------------
Here is the full block of TS
-----------------------------------------------------------------
temp.teaserBoxes = CONTENT
temp.teaserBoxes {
table = tt_content
select.orderBy = sorting
select.where = colPos = 1
renderObj=COA
renderObj {
stdWrap.outerWrap = |###SPLITTER###
10 = TEXT
10.field = header
10.wrap = <h1>|</h1>
10.required = 1
15 = TEXT
15.field = image
15.wrap = <img src="uploads/pics/|" alt="">
15.required = 1
20 = TEXT
20.field = bodytext
20.wrap = <p>|</p>
20.required = 1
# Following TEXT ement would output all the available fields, that
means if you dont set selectFields all of the available database fields are
outputted
#30=TEXT
#30.data = debug:data
}
}
"Stanislas Rolland" <typo3 at sjbr.ca> wrote in message
news:mailman.1.1253368198.1855.typo3-project-rte at lists.netfielders.de...
Karl Wallace a écrit :
> Hi Stanislas
>
> Here's the only Typoscript I found that contains a reference to something
> like parseFunc_RTE.tags
> There was nowhere in the TS that had "lib.parseFunc_RTE.tags.link"
>
Check with the TypoScript Object Browser. If lib.parseFunc_RTE is not
there, something is broken on your site configuration.
> I tried deleting all the code I've included below from the TS template and
> it had no effect.
>
> The site does not use Templavoila and as such uses the old colpos way of
> templating. Strangely enough links are not affected if they are in the
> "NORMAL" column.
> The problem occurs in the "LEFT" and "BORDER" columns.
>
Just make sure that all columns are configured the same way as far as
parseFunc_RTE is concerned.
Regards,
Stanislas
More information about the TYPO3-project-rte
mailing list