Try to add a CSS class to the sort link and then use CSS to add
something to the link.
For example:

[code]
$paginator->sort('id', 'id', array('class' => 'asc');
[/code]

and when clicked on, change into:

[code]
$paginator->sort('id', 'id', array('class' => 'desc');
[/code]

Then with CSS make the sort link have an after symbol:

[code]
.asc{
   background:url(up_arrow.png) no-repeat top right;
   padding-right:8px;
}
.desc{
   background:url(down_arrow.png) no-repeat top right;
   padding-right:8px;
}
[/code]

I haven't tested the above pseudo code :) but maybe it can be done!
The padding ensures that the background image will be visible to the
right of the link text - assuming you can make an arrow that is max 8
pixels wide.
Enjoy,
   John

On Apr 21, 8:54 am, sebb86 <kahlc...@googlemail.com> wrote:
> Addition:
> [code]
> &uarr;
> [/code]
>
> also works. But also _not_ inside the paginate source code.
> Any ideas?
>
> Thanks if someone can help!
> [snip]

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