[TYPO3-templavoila] busynoggin templavoila framework & kb_tv_cont_slide
G.Unger
skyfreak1 at gmx.net
Thu May 6 02:40:05 CEST 2010
workz as expected ;)
thanx ever so much ron.
rgds,
guido
On 2010-05-05 23:32:35 +0200, Ron Hall <ronslists at busynoggin.com> said:
> Hello Guido,
>
> First of all, I am glad you are using local processing to do this and
> not adjusting the extensions DS's directly.
>
> Having said that, before the framework became an extension I had one
> site where I needed to have a sliding feature. My code for that looks
> like this.
>
> <![CDATA[
> 10 = LOAD_REGISTER
> 10.tempContainerWidth = {$containerWidth}
> 10.tempContainerWidth.dataWrap = | + {register:featureLeftPadding} +
> {register:featureRightPadding}
> 10.containerWidth.data = register:tempContainerWidth
> 10.containerWidth.prioriCalc = intval
> 10.maxImageWidth.data = register:containerWidth
> 20 = RECORDS
> 20.source.postUserFunc = tx_kbtvcontslide_pi1->main
> 20.source.postUserFunc.field = field_feature
> 20.tables = tt_content
> 20.stdWrap.required = 1
> 20.stdWrap.dataWrap = <div id="feature"
> class="{register:featureClass}"><!--TYPO3SEARCH_begin--> |
> <!--TYPO3SEARCH_end--><div class="clearOnly"> </div></div>
> ]]>
>
>
> Thanks,
> Ron Hall
>
> www.busynoggin.com
> templavoila.busynoggin.com
>
> Twitter: busynoggin (general web tweets)
> Twitter: typo3ron (for TYPO3 specific tweets)
>
>
>
>
>
>
>
>
>
> On May 5, 2010, at 4:05 PM, G.Unger wrote:
>
>> hello list
>> hello ron
>>
>> I am amazed by the new templavoila framework by busynoggin (thx again
> to ron and wec).
>>
>> I thought I could use kb_tv_cont_slide as usual and tweek the Local
> processing (XML) in the backend to alter xml according to
> kb_tv_cont_slide documentation and changed
>>
>>
>> <field_feature type="array">
>> .
>> .
>> .
>> 20 = RECORDS
>> 20 {
>> source.current = 1
>> tables = tt_content
>> stdWrap.required = 1
>> stdWrap.dataWrap = <div id="feature"
> class="{register:featureClass}"><!--TYPO3SEARCH_begin--> |
> <!--TYPO3SEARCH_end--><div class="clearOnly"> </div></div><!--
> end #feature -->
>> }
>> .
>> .
>> .
>> </field_feature>
>>
>>
>>
>> into
>>
>>
>>
>> <field_feature type="array">
>> .
>> .
>> .
>> 20 = RECORDS
>> 20 {
>> source.postUserFunc = tx_kbtvcontslide_pi1->main
>> source.postUserFunc.field = field_feature
>> source.postUserFunc.table = tt_content
>> stdWrap.required = 1
>> stdWrap.dataWrap = <div id="feature"
> class="{register:featureClass}"><!--TYPO3SEARCH_begin--> |
> <!--TYPO3SEARCH_end--><div class="clearOnly"> </div></div><!--
> end #feature -->
>> }
>> .
>> .
>> .
>> </field_feature>
>>
>>
>>
>> the result is NO feature in frontend anymore.
>> I also the tried to do it directly in the file 'f1 (page).xml' again
> NO feature in frontend at all anymore.
>>
>> anybody to jump in on this?
>>
>> thx for reading - rgds,
>> GUIDO
>>
>> _______________________________________________
>> TYPO3-project-templavoila mailing list
>> TYPO3-project-templavoila at lists.typo3.org
>>
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-templavoila
More information about the TYPO3-project-templavoila
mailing list