[TYPO3] Wrap the content in RTE (htmlArea RTE)

Дарья Лонcкая cloot at ukr.net
Mon Sep 10 23:04:07 CEST 2007


          Yeah - thanks. It works! :)  
  
  
temp.customRender = CASE  
temp.customRender.key.field = colPos  
temp.customRender.default < tt_content  
temp.customRender.0 < tt_content  
temp.customRender.1 < tt_content  
temp.customRender.2 < tt_content  
temp.customRender.3 < tt_content  
  
temp.customRender.2.text.20.parseFunc.tags.link.typolink.wrap = <div class="style">|</div>  
  
tt_content >  
tt_content < temp.customRender  
  
  
That's correct. Thanks a lot ))  
  
  
  
--- Исходное сообщение ---  
От кого: Tyler Kraft (headhunterxiii at yahoo.ca)  
Кому: typo3-english at lists.netfielders.de  
Дата: 10 сентября, 23:31:00  
Тема: Re: [TYPO3] Wrap the content in RTE (htmlArea RTE)  
  
> No you need to make all the content in the column render differently  
>  
>  
> temp.customRender = CASE  
> temp.customRender.key.field = colPos  
> temp.customRender.0 < tt_content  
> temp.customRender.1 < tt_content  
> temp.customRender.2 < tt_content  
> temp.customRender.3 < tt_content  
> temp.customRender.default < tt_content  
> tt_content >  
> tt_content < temp.customRender  
> tt_content.0.textpic.20 < tt_content.0.image.20  
> tt_content.0.textpic.20.text.20 < tt_content.0.text.20  
> tt_content.1.textpic.20 < tt_content.1.image.20  
> tt_content.1.textpic.20.text.20 < tt_content.1.text.20  
> tt_content.2.textpic.20 < tt_content.2.image.20  
> tt_content.2.textpic.20.text.20 < tt_content.2.text.20  
> tt_content.3.textpic.20 < tt_content.3.image.20  
> tt_content.3.textpic.20.text.20 < tt_content.3.text.20  
> tt_content.default.textpic.20 < tt_content.default.image.20  
> tt_content.default.textpic.20.text.20 < tt_content.default.text.20  
>  
> This has now made each column render individually of the others - that  
> means we can now adjust the content rendering serperately  
>  
> So if we wanted to adjust the border column we would add this line:  
>  
> tt_content.3.text.20.parseFunc.tags.link.typolink.wrap =      
  > style="link_style">|  
>  
> hth  
>  
> (note the typoscript might not be perfectly correct, its just an example  
> of what you need)  
>  
>  
>  
>  
> Дарья Лонcкая wrote:  
> > Hi and thank you for answer. If I understand you right it should be something like this? it doesn't work yet :))  
> >  
> > temp.border_content=CONTENT  
> > temp.border_content {  
> > table=tt_content  
> > select {  
> > where= colPos = 3 }  
> > renderObj=COA  
> > renderObj.wrap =      |        
> > }    
> > or, in other way i've found    
> >    
> > subparts.BORDER.renderObj.stdWrap.wrap= |    
> >    
> > could it be used to wrap links inside the Border column?    
> >    
> > I'm new to TS, any help will be appreciated.    
> >    
> >> Hi    
> >>    
> >> What your looking for is column specific rendering, and there are    
> >> several previous posts on how to achieve that.    
> >>    
> >> You need to break it into different columns. So tt_content is a case to    
> >> begin with, except its a case for the content types. Start buy making it    
> >> a case for the column and then for each column break it into a case for    
> >> content type. Then you can apply this wrapping to content in a specific    
> >> column    
> >>    
> >> hth    
> >> Tyler    
> >>    
> >>    
> >> Cloot wrote:    
> >>> Hi all.    
> >>> I have a bit different task, but i guess it is close to this topic: i need    
> >>> to wrap links in a definite content column. I've found this code    
> >>>    
> >>> tt_content.text.20.parseFunc.tags.link.typolink.wrap =    
> > > > style="link_style">|    
> >>>    
> >>> it wraps all links in all TEXT elements. May be you know how can I define    
> >>> wrapping only for Border or Right column?    
> >>> Thanks.    
> >    
> >    
> _______________________________________________    
> TYPO3-english mailing list    
> TYPO3-english at lists.netfielders.de    
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english    
    
    
--    
Найдите работу просто и быстро на JOB.ukr.net    
http://job.ukr.net    
    
    
  


More information about the TYPO3-english mailing list