[TYPO3-project-formidable] How to make a dynamic listHeader
Sanosuke303
sanosuke303 at yahoo.fr
Fri Feb 27 17:33:55 CET 2009
Hi Jérome!
> You may also try to use /process on your column. With a
> process=false,
Yes, it's work perfectly!
Thanks a lot :)
Best regards
Anthony Laplane
http://www.eureka-market.fr
--- En date de : Ven 27.2.09, Jerome Schneider <typo3dev at ameos.com> a écrit :
> De: Jerome Schneider <typo3dev at ameos.com>
> Objet: Re: [TYPO3-project-formidable] How to make a dynamic listHeader
> À: typo3-project-formidable at lists.netfielders.de
> Date: Vendredi 27 Février 2009, 16h07
> Hi again,
>
> you might use /columns/listheaders=false, but this will
> disable all the
> headers, not just for one column
>
> like this:
>
> <renderlet:LISTER name="mylist">
> <!-- ... -->
> <columns listHeaders="false">
> <!-- ... -->
> </columns>
> </renderlet:LISTER>
> Note: /columns/listHeaders might be defined as a userobj
>
> You may also try to use /process on your column. With a
> process=false,
> the column (and it's header) will disappear from the
> list. /process may
> also be defined as a userobj.
>
>
> Hope this helps,
> Jerome
>
> Sanosuke303 a écrit :
> > Hi Jerome,
> >
> > Thanks for your help.
> >
> > I work with v 1.0.183.
> >
> > So, in this version, it's impossible to hide/show
> the listHeader with another way (without putting blank
> value)?
> >
> > Thanks.
> >
> > Anthony Laplane
> > http://www.eureka-market.fr
> >
> >
> >
> > --- En date de : Ven 27.2.09, Jerome Schneider
> <typo3dev at ameos.com> a écrit :
> >
> >> De: Jerome Schneider <typo3dev at ameos.com>
> >> Objet: Re: [TYPO3-project-formidable] How to make
> a dynamic listHeader
> >> À: typo3-project-formidable at lists.netfielders.de
> >> Date: Vendredi 27 Février 2009, 15h14
> >> Hi Sanosuke,
> >>
> >> I'll have to debug it also in branch one.
> >> Which version are you using ?
> >>
> >> Sanosuke303 a écrit :
> >>> Hi and thanks for answer.
> >>>
> >>> I work with branch1, so how can I solve this
> problem?
> >>>
> >>> I've try this :
> >>> return implode($var_header);
> >>> but this don't solve the problem.
> >>>
> >>> It was another solution to hide/show the
> listHeader?
> >>>
> >>> Thanks.
> >>>
> >>> Anthony Laplane
> >>> http://www.eureka-market.fr
> >>>
> >>> --- En date de : Ven 27.2.09, Jerome Schneider
> >> <typo3dev at ameos.com> a écrit :
> >>>> De: Jerome Schneider
> <typo3dev at ameos.com>
> >>>> Objet: Re: [TYPO3-project-formidable] How
> to make
> >> a dynamic listHeader
> >>>> À:
> typo3-project-formidable at lists.netfielders.de
> >>>> Date: Vendredi 27 Février 2009, 14h52
> >>>> Hi Sanosuke and Hauke !
> >>>> I checked in the code and this is caused
> by a bug
> >> in the
> >>>> lister class.
> >>>> I fixed it and it will be available in
> upcoming
> >> revision
> >>>> (2.0.233)
> >>>>
> >>>> Thanks for reporting !
> >>>> Jerome Schneider
> >>>>
> >>>>
> >>>>
> >>>> Hauke Hain a écrit :
> >>>>> Hi Anthony,
> >>>>>
> >>>>> I do not know how to solve your
> problem, but
> >> this:
> >>>>> "Sanosuke303"
> >> <sanosuke303 at yahoo.fr>
> >>>> schrieb im Newsbeitrag
> >>>>
> >>
> news:mailman.46497.1235734294.2904.typo3-project-formidable at lists.netfielders.de...
> >>>>> <listHeader>
> >>>>> <userobj>
> >>>>> <php><![CDATA[
> >>>>> $var_header = "";
> >>>>>
> >>>>> return $var_header
> >>>>> ]]></php>
> >>>>> </userobj>
> >>>>> </listHeader>
> >>>>>
> >>>>> But the listHeader is shown with this
> value
> >>>> "Array".
> >>>>> looks like if you try to output all
> items of
> >> your
> >>>> array with return $array;
> >>>>> This does not work. Try the implode
> function:
> >>>>>
> >> http://www.php.net/manual/en/function.implode.php
> >>>>>
> >>>>> <listHeader>
> >>>>> <userobj>
> >>>>> <php><![CDATA[
> >>>>> $var_header = "";
> >>>>>
> >>>>> return implode($var_header);
> >>>>> ]]></php>
> >>>>> </userobj>
> >>>>> </listHeader>
> >>>>>
> >>>>>
> >>>>> Regards,
> >>>>> Hauke
> >>>>
> _______________________________________________
> >>>> TYPO3-project-formidable mailing list
> >>>>
> TYPO3-project-formidable at lists.netfielders.de
> >>>>
> >>
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidable
> >>>
> >>>
> >> _______________________________________________
> >> TYPO3-project-formidable mailing list
> >> TYPO3-project-formidable at lists.netfielders.de
> >>
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidable
> >
> >
> >
> _______________________________________________
> TYPO3-project-formidable mailing list
> TYPO3-project-formidable at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidable
More information about the TYPO3-project-formidable
mailing list