[Typo3-UG Oesterreich] extension mit rte --> links werden nicht umgewandelt.

Christian Kurta kurta at typoheads.com
Wed Feb 11 14:07:07 CET 2004


Wir hatten circa das selbe Problem bei einer Extension von uns.
Das hat geholfen: (Ich weiss nicht, ob du alles davon brauchst)

###################
# MACHT AUS DEN P-TAGS ganz huebsche DIV-Tags
tt_content.text.20.parseFunc { 
externalBlocks = div,table,tr,td,tbody
makelinks = 1

#allowTags =
#denyTags = a
nonTypoTagStdWrap.encapsLines.nonWrappedTag > 
nonTypoTagStdWrap.encapsLines.wrapNonWrappedLines = <p> | </p>
nonTypoTagStdWrap.encapsLines.addAttributes { 
    P.style = 
    PRE.style = 
  } 
  externalBlocks {
    div.stripNL = 1
  }
}

# ende.
##################



On Wed, 11 Feb 2004 13:51:23 +0100, Kurt Dirnbauer | Web:Consulting wrote
> hi leute,
> 
> habe extension mit textfeld rte gemacht,
> (neues content-element).
> 
> folgendes problem:
> - im be wird extension eingefuegt.
> - wenn ich im rte-feld einen link einfuege,
>   dann wird er nicht umgewandelt.
>   . from: <link 99>text</link>
>   . to  : sollte natuerlich <a href="blalba ..> werden.
> 
> --> tuts aber nicht....
> 
> ich schau jetzt schon einige stunden auf das ding,
> find aber den fehler nicht.
> 
> irgendwo ein punkterl vergessen, oder wie oder was??
> 
> hab auch nochmals nachgesehen:
> laut ingmars:
> http://typo3.org/1422+M537b8ba5949.0.html?&tx_maillisttofaq_pi1[answered
> _only]=0&tx_maillisttofaq_pi1[sword]=%20parsefunc
> http://typo3.org/1422+M596af783389.0.html?&tx_maillisttofaq_pi1[answered
> _only]=0&tx_maillisttofaq_pi1[sword]=%20parsefunc%20cobj
> beides probiert, funkt net...
> 
> folgende config:
> =================
> 
> plugin.tx_momaxtext_pi1 {
>   makelink.parseFunc < tt_content.text.20.parseFunc
> }
> 
> pi1/class.tx_momaxtext_pi1.php:
> -------------------------------
> <snip>
> 
> $this->cObj->stdWrap
> 
> ($this->internal["currentRow"]["tx_momaxtext_text"],$this->conf['makelin
> k.'])
> 
> <snip>
> 
> ext_tables.php
> ---------------
> <snip>
> 
> $TCA["tt_content"]["types"][$_EXTKEY."_pi1"]["showitem"]="CType;;4;butto
> n;1-1-1,
> header;;3;;2-2-2,tx_momaxtext_text;;;richtext[paste|bold|italic|underlin
> e|formatblock|class|left|center|right|orderedlist|unorderedlist|outdent|
> indent|link|image]:rte_transform[mode=ts];1-1-1";
> 
> </snip>
> 
> =============================
> 
> woran koennts liegen??
> 
> vielen dank fuer eventuelle mithilfe.
> 
> danke,
> kurt
> 
> --	
> web:consulting
> DI (FH) Kurt Dirnbauer
> Sätzgasse 5, A-7210 Mattersburg
> Tel: +43-699-11346402
> mailto:dirnbauer at web-consulting.at
> www.web-consulting.at
> 
> _______________________________________________
> Typo3-at mailing list
> Typo3-at at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-at


--
Christian Kurta
kurta at typoheads.com
www.typoheads.com
Tel.: 0676 / 774 6 500
ICQ: 50273991
----------------------
Neue Projekte:
http://www.strassberger.at - Uhren, Schmuck Straßberger Horn
http://www.acon-consulting.com - ACON Management Consulting





More information about the TYPO3-at mailing list