Thanks for your help--the escapeTitle works great. However, I the code
I pasted...

<?=$pagination->resultsPerPage(NULL, ' ')?>

...echos a few links like '5 20 50 100 500' and automatically hides
the links larger than the result set. I was wondering if there was
something like that in the 1.2 helper.

Thanks!

On Jun 12, 11:38 am, rtconner <[EMAIL PROTECTED]> wrote:
> If the bakery wasn't broken, I'd be more than happy to make a nice
> article explaining all of this...
>
> You want:
> $paginator->prev($html->image("icons/resultset_previous.png",
> Array('height'=>16)), array('escape'=>false), null,
> array('class'=>'button'));
>
> In your controller set
> var $paginate = array('limit' => 15, 'page' => 1);
>
> On Jun 12, 12:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > 1. How do you 'escapeTitle' with the 1.2 Paginator Helper? I have the
> > following:
>
> > <?php echo $paginator->prev($html->image("icons/
> > resultset_previous.png", Array('height'=>16)), null, null,
> > array('class'=>'button'));?>
>
> > It was pretty straightforward in the 1.1 helper, but I'm not sure if
> > it's possible here.
>
> > ---
>
> > 2. Is there a way to do the "Results per page" links as in the 1.1
> > pagination helper?
>
> > Before you could do this: <?=$pagination->resultsPerPage(NULL, ' ')?>
>
> > What's the new way to do this?
>
> > Thanks in advance!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to