[TYPO3-project-formidable] How to make a singleview

Manuel Rego Casasnovas mrego at igalia.com
Tue Jan 20 14:31:03 CET 2009


Hello,

On Tue, 2009-01-20 at 12:23 +0000, Sanosuke303 wrote:
> Thank you very much for your helps!
> 
> Finaly, I use :
> <pager>
>      <rows>
>          <perpage>1</perpage>
>      </rows>
> </pager>
> whith a template.
> 
> First question, it wasn't possible to show the title of the column like this : my_field.listHeader ? I must write the caption from scatch?

You could use the property "label" instead of "listheader". "listheader"
is not still available in the template.

> Second question, I have an address field that is in 2 lines in DB. How to show this field on 2 lines with template?

Try the next lines in your template (I'm not sure which is right), the
rendelert should be a TEXTAREA:
{my_field.nl2br}
{my_field.nl2br()}

Best regards,
   Rego

-- 
Manuel Rego Casasnovas
Computer Science Engineer
mailto:mrego at igalia.com
Tel: +34 986 10 76 10
Fax: +34 981 91 39 49
Igalia - http://www.igalia.com



More information about the TYPO3-project-formidable mailing list