Sunday, January 31, 2010

Paginator helper bug cakephp 1.2

Hi.
I have created a database view and then bake it into a cake model.

I have:
MydbView Controller call:

$this->set('mydbview', $this->paginate('Mydbview'));

MydbView index view:

echo $paginator->counter(array(
'format' => __('Página %page% de %pages%, Mostrando %current%
registros de %count% total, Empezando en el %start%, acabando en el
%end%', true)
));

This sentence display:
Página 1 de 1, Mostrando 3 registros de 3 total, Empezando en el 1,
acabando en el 3 ; ?>; ?>; ?>; ?>; ?>; ?>; ?>; ?>; ?>

I look for this unwanted chars in the helper's files but I haven´t
found the bug.

The table information in the index view work's fine, the problem is
only the $paginator->counter " ; ?>; ?>; ?>; ?>; ?>; ?>; ?>; ?>; ?>"
string.

Any idea?

OS: Windows XP PRO sp3.
Web Server: Wamp
Cakephp 1.2
Database: MySql

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: