For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > July 2007 > Re: [PEAR] Re: structures datagrid renderer smarty getPaging function









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] Re: structures datagrid renderer smarty getPaging function
Olivier Guilyardi

2007-07-25, 7:03 pm

Hi,

Mark Wiesemann wrote:
>
> Kaj Schermer Didriksen wrote:
> [...]
>
> Your template and code look right. Have you made sure that you have the
> current versions of Smarty, Structures_DataGrid, and
> Structures_DataGrid_Renderer_Smarty?


Right, and also of Pager and Structures_DataGrid_Renderer_Pager.

Regards,

--
Olivier
Olivier Guilyardi

2007-07-29, 7:02 pm

Hi,

Please answer on the list.

Kaj Schermer Didriksen wrote:
>
> Yes, I'm using Smarty 2.6.18, Structures_DataGrid is 0.8.3 beta and
> Structures_DataGrid_Renderer_Smarty is 0.1.3 beta


Do you properly pass the number of rows per page to the constructor?

Ex:

$datagrid =& new Structures_DataGrid(10); // 10 rows per page

Regards,

--
Olivier
Olivier Guilyardi

2007-07-30, 8:02 am

Kaj Schermer Didriksen wrote:
>
> no I did not, but sure enough, I do now. Funny thing - same problem 3
> dayes apart.
>
> Thanks


Okay, I just added this to the faq.

--
Olivier
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com