You can insert the label as the first argument, like this:

> <th><?php echo $this->Paginator->sort('#A', 'NumberOfAdults');?></th>

Jeremy Burns
jeremybu...@me.com
(Skype) +44 208 123 3822 (jeremy_burns)
(m) +44 7973 481949
(h) +44 208 530 7573

On 18 Mar 2010, at 16:21, mivogt-LU wrote:

> Hello, me - again ...
> 
> Having the index view with pagination I would like to change the
> content of the <th> tags produced by the pagination helper.
> 
> If my datafield is NumberOfAdults the code is
>                       <th><?php echo 
> $this->Paginator->sort('NumberOfAdults');?></th>
> but the text is just to long for the screen and in my case I would
> like to just write an #A above it.
> 
> Is there a possibility to change the label oboce the pagination
> colums?
> 
> Thank you.
> 
> Michael
> 
> ...using cake 1.3 RC1
> 
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
> 
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to