Pagination and
Posted: Thu Jul 26, 2007 7:27 pm
First I thought it might be a bug in the Guestbook module but now it could be a bug in cmsms.
\lib\classes\module_support\modmisc.inc.php has a function cms_module_CreatePagination which apparently creates a pagination browsing menu for all kinds of purposes.
What this function seems to be doing is to create a list of numbers, each linking to a certain page. These numbers are separated by a non breaking space ( ) which prevents line breaks and probably is supposed to enforce nicely looking one-lined paginations.
A problem occurs when the pagination has a huge number of entries, for example a Guestbook with 1000 entries. What happens in this case is that a forced one-liner pagination screws up the admin page.
So I would like to put this up for debate:
What good is a forced 1-liner pagination and wouldn't a pagination without s be the way to go?
I'm sorry if I overlooked something, I have just started with cmsms and there is a lot that I don't know about the system yet.
Cheers,
Cerno
\lib\classes\module_support\modmisc.inc.php has a function cms_module_CreatePagination which apparently creates a pagination browsing menu for all kinds of purposes.
What this function seems to be doing is to create a list of numbers, each linking to a certain page. These numbers are separated by a non breaking space ( ) which prevents line breaks and probably is supposed to enforce nicely looking one-lined paginations.
A problem occurs when the pagination has a huge number of entries, for example a Guestbook with 1000 entries. What happens in this case is that a forced one-liner pagination screws up the admin page.
So I would like to put this up for debate:
What good is a forced 1-liner pagination and wouldn't a pagination without s be the way to go?
I'm sorry if I overlooked something, I have just started with cmsms and there is a lot that I don't know about the system yet.
Cheers,
Cerno