Zum Inhalt springen

keine Ausgabe von <p> und <a> mit select und renderObj

Erstellt am 2. Mai 2010 · 1 Antwort · letzte Antwort am 3. Mai 2010

Tags: Frage

untouch ·

Hi Leute,

wenn man ueber den header fährt soll im frontend ein tooltip mit inhalten ausm bodytext aufgehen
is ja auch alles super nur sollte der bodytext auch seine html formatierungen behalten die nun anscheinend nich ankommen.

Der Inhalt der Seite 19 sieht nämlich so aus

<p><b>BARCELONA, SPAIN</b></p>
<p><b>Office</b></p>
<p>Ap. de Correos 48</p>
<p>Pol. Ind. Can Magre</p>
<p>Güll/Monturiol</p>
<p>E-08187 Santa Eulalia de Ronçana</p>
<p>Tel.: +34 938 448 978</p>
<p>Fax: +34 933 969 463</p>
<p>Mail: <a href="mailto:cballbe@pyro-text.de">cballbe@pyro-tex.de</a></p>

wird aber so ausgegeben

<div style="" id="loadusa"><b>BARCELONA, SPAIN</b>
<b>Office</b>
Ap. de Correos 48
Pol. Ind. Can Magre
Güll/Monturiol
E-08187 Santa Eulalia de Ronçana
Tel.: +34 938 448 978
Fax: +34 933 969 463
Mail: <link cballbepyro-textde="">cballbe@pyro-tex.de</div>

komischer weise übernimmt er <b> tags aber keine <p> und <a>

Hier mein TS

page = PAGE
page {
  10.marks {    

    
        USA = COA
        USA {
            10 = CONTENT
            10 {
                 
                  table = tt_content
                  select {       
                        pidInList = 19
                        orderBy = sorting
                        languageField = sys_language_uid
                  }
       

                  renderObj = COA
                  renderObj {
                        10 = TEXT
                        10.field = header
                        10.wrap = <div onMouseOver="this.className='amimap'" onMouseOut="this.className='ami'" class="ami"><a id="load-local" class="load-local" href="#loadusa" rel="#loadusa">|</a></div>
                        20 = TEXT
                        20.field = bodytext
                        20.wrap = <div id="loadusa">|</div>
                  }  
              
              }
         }    
    
  }
}

viele dank im vorraus

untouch ·

für alle die mal drüber stolpern

hier was funktionierende TS

fehlende Zeile = 20.parseFunc < lib.parseFunc_RTE

USA = COA
USA {
10 = CONTENT
10 {

table = tt_content
select {
pidInList = 19
orderBy = sorting
languageField = sys_language_uid
}

renderObj = COA
renderObj {
10 = TEXT
10.field = header
10.wrap = <a id="usa" title="usa" onmouseover="this.style.backgroundImage='url(fileadmin/tpl/countrys/usa.gif)'" onmouseout="this.style.backgroundImage='url(dummy.gif)'">|</a>
20 = TEXT
20.field = bodytext
20.wrap = <div class="tooltip"><div class="tooltip_top"></div><div class="tooltip_body">|</div><div class="tooltip_bottom"></div></div>
20.parseFunc < lib.parseFunc_RTE
}
}
}