[TYPO3-ttnews] Stip HTML from bodytext when used as the title with linkTitleField?
Stephen Bungert
s.bungert at metrinomics.de
Fri Jun 6 10:56:43 CEST 2008
Sorry, I didn't read your email correctly.
plugin.tt_news.displayList.linkTitleField.crop seems to work, without making
it plugin.tt_news.displayList.linkTitleField.stdWrap.crop.
The bit I'm having problems with ist he striphtml part. The html tags show
up in the tool-tip. I just want the cropped body text without html in the
tool-tip.
Stephen.
-----Ursprüngliche Nachricht-----
Von: typo3-project-tt-news-bounces at lists.netfielders.de
[mailto:typo3-project-tt-news-bounces at lists.netfielders.de] Im Auftrag von
Stephen Bungert
Gesendet: Freitag, 6. Juni 2008 10:24
An: 'TYPO3 tt_news project'
Betreff: Re: [TYPO3-ttnews] Stip HTML from bodytext when used as the title
with linkTitleField?
HI,
do you mean: plugin.tt_news.displayList.linkTitleField.stdWrap.crop ?
I tried this, that still doesn't work!
-----Ursprüngliche Nachricht-----
Von: typo3-project-tt-news-bounces at lists.netfielders.de
[mailto:typo3-project-tt-news-bounces at lists.netfielders.de] Im Auftrag von
Chris
Gesendet: Freitag, 6. Juni 2008 09:56
An: typo3-project-tt-news at lists.netfielders.de
Betreff: Re: [TYPO3-ttnews] Stip HTML from bodytext when used as the title
with linkTitleField?
why not try stdWrap.crop instead ?
Stephen Bungert a écrit :
> I have the following TypoScript, it nearly does what I want, except the
HTML
> is not being removed.
>
>
> [globalVar = TSFE:id = 147]
> plugin.tt_news.limit = 15
> plugin.tt_news.displayList.linkTitleField = bodytext
> plugin.tt_news.displayList.linkTitleField.stripHtml = 1
> plugin.tt_news.displayList.linkTitleField.crop = {$toolTipCrop} | ... | 1
> plugin.tt_news.excludeAlreadyDisplayedNews = 0
> [global]
>
> Why does the standard wrap method crop work here, but the stripHtml not?
The
> HTML from the bodytext shows up in the tooltip.
>
> Stephen
>
_______________________________________________
TYPO3-project-tt-news mailing list
TYPO3-project-tt-news at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-tt-news
_______________________________________________
TYPO3-project-tt-news mailing list
TYPO3-project-tt-news at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-tt-news
More information about the TYPO3-project-tt-news
mailing list