[TYPO3-core] RFC: #7101: CType bullets not rendered correctly

Steffen Kamper steffen at sk-typo3.de
Tue Jan 8 22:00:51 CET 2008


Hi Ernesto,

"Ernesto Baschny [cron IT]" <ernst at cron-it.de> schrieb im Newsbeitrag 
news:mailman.1.1199822450.10875.typo3-team-core at lists.netfielders.de...
> Steffen Kamper wrote: on 08.01.2008 20:24:
>
>> here comes second version of patch changed, thanks Olly for proposals.
>>
>> 1) foreach with reference
>> 2) removed html to TS
>>
>> I looked to changelog of the pi1 and it seems that this was broken long 
>> long
>> time. I wonder that noone before asked for that.
>> So maybe this patch could also used for 4.x versions (reference should 
>> work
>> with php4 also)
>
> It doesn't make sense only to move the <li> generation to TypoScript.
> Then this part should also be configurable in TypoScript:
>
>                         $out = '
>                                 <ul class="csc-bulletlist
> csc-bulletlist-'.$type.'">'.
>                                         implode('',$lines).'
>                                 </ul>';
>
> And if you do that, this would also close this request:
> http://bugs.typo3.org/view.php?id=3055
>
> which btw contains a pretty good TypoScript you could use.
>
> And I think you will have to provide a compatibility mode which works
> with TypoScript as it worked in pre-4.2 and only switch to the new mode
> in compatVersion 4.2. I know this is anoying, but there might be several
> people with pre-4.2 installations that might be using some customized
> TypoScript (that does not include the new wraps) and calling
> render_uploads on it.
>
> If you do that, it's also a +1 from me.
>

good hint. I think you mentioned render_bullet, render_upload is different.
(and yes, compat mode could be anoying, but it make sense)

I looked at the TS of #3055 and sure this is a better solution. So i only 
fixed the loop and add this snippet with COMPAT to the Typoscript.
attached is the new patch.

vg  Steffen 


begin 666 20080108_render_bulletlist2.diff
M26YD97 at Z('1Y<&\S+W-Y<V5X="]C<W-?<W1Y;&5D7V-O;G1E;G0O<&DQ+V-L
M87-S+G1X7V-S<W-T>6QE9&-O;G1E;G1?<&DQ+G!H< T*/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/0T*+2TM('1Y<&\S+W-Y<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+6)U;&QE=&QI<W0M>V9I96QD.FQA>6]U
M='TB/GP\+W5L/@HK( EE9&ET26-O;G,@/2!T=%]C;VYT96YT.B!B;V1Y=&5X
M="P at 6VQA>6]U=%T**R )961I=$EC;VYS+F)E9F]R94QA<W1486<@/2 Q"BL@
M"65D:71)8V]N<RYI8V]N5&ET;&4N9&%T82 ]($Q,3#I%6%0Z8W-S7W-T>6QE
M9%]C;VYT96YT+W!I,2]L;V-A;&QA;F<N<&AP.F5)8V]N+F)U;&QE=',**PHK
M( EP<F5F:7A#;VUM96YT(#T@,B!\($)U;&QE="!L:7-T. at HK?0HK6V5N9%T*
M*PH@(R J*BHJ*BHJ*BHJ*BHJ*BHJ*@H@(R!#5'EP93H@=&%B;&4*(",@*BHJ
/*BHJ*BHJ*BHJ*BHJ*BH*
`
end



More information about the TYPO3-team-core mailing list