Re: image links in pagination

2008-11-27 Thread David K. Coleman


yes:

use this code:

first
(   $html->image
(   'first.png',
array
(   'alt' => __('first', true),
'border' => 0
)
),
array('escape'=>false)
);
?>


nitifixis wrote:
> 
> 
> Just one question. Is it possible to make image links equivalent to
> the text ones ($paginator->prev() and $paginator->next()) using the
> PaginatorHelper?
> 
> Thanks in advance
> > 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/image-links-in-pagination-tp1311602p1585414.html
Sent from the CakePHP mailing list archive at Nabble.com.


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: image links in pagination

2008-11-14 Thread Sony AK

Hi Amit (amit-amit deh :),
I try using this:
prev($html->image('btn_prev_na.gif', array
('border'=>'0')), null, null, array('class' => 'disabled')); ?>

and the image for previous button not appear, just text http://m.mobitrek.com

On Oct 9, 6:18 pm, "Amit Badkas" <[EMAIL PROTECTED]> wrote:
> 2008/10/9 nitifixis <[EMAIL PROTECTED]>
>
>
>
> > Just one question. Is it possible to make image links equivalent to
> > the text ones ($paginator->prev() and $paginator->next()) using the
> > PaginatorHelper?
>
> - Yes, you can use image in pagination link like
> $paginator->prev($html->image('prev.gif',
> array('alt' => __('previous', true), 'border' => 0), array('escape' =>
> false))
>
> --
> Amit
>
> http://amitrb.wordpress.com/http://coppermine-gallery.net/http://cheesecake-photoblog.org/http://www.sanisoft.com/blog/author/amitbadkas

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: image links in pagination

2008-10-09 Thread Amit Badkas
2008/10/9 nitifixis <[EMAIL PROTECTED]>

>
> Just one question. Is it possible to make image links equivalent to
> the text ones ($paginator->prev() and $paginator->next()) using the
> PaginatorHelper?
>

- Yes, you can use image in pagination link like
$paginator->prev($html->image('prev.gif',
array('alt' => __('previous', true), 'border' => 0), array('escape' =>
false))



-- 
Amit

http://amitrb.wordpress.com/
http://coppermine-gallery.net/
http://cheesecake-photoblog.org/
http://www.sanisoft.com/blog/author/amitbadkas

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



image links in pagination

2008-10-09 Thread nitifixis

Just one question. Is it possible to make image links equivalent to
the text ones ($paginator->prev() and $paginator->next()) using the
PaginatorHelper?

Thanks in advance
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---