[symfony-users] pagination template without repeat - like in Zend framework !!

2010-07-14 Thread alexmm
I need on 10 pages a pagination. If I use method from tutorial:
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/07
I have to 10 times write the same code for: first, previous, next and
last site with only other links.

Is other way ? In Zend framework we can definied template for
pagination: 
http://framework.zend.com/manual/1.10/en/learning.paginator.control.html

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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


Re: [symfony-users] pagination template without repeat - like in Zend framework !!

2010-07-14 Thread Bernhard Schussek
What about creating a _pagination.php partial with the shared code?

Bernhard

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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