[drupal-devel] hard coded page sizes
dreed10 at gmail.com
Wed Oct 12 17:25:56 UTC 2005
I think conceptually setting this in the theme would work but as I
understand this it can't be done the way things are now as most of the
time a particalr module is calling the pager_query function to return
the correct number of db rows to match the page size and that is all
done outside the theme functions.
On 10/12/05, Bèr Kessels <ber at webschuur.com> wrote:
> Another route to take here is the theme route.
> Themes are not just for visual shazam.
> "themes are there to control the look and feel".
> Feel, means control over all the output. AFAIK you can set all these values in
> the theme. And if not, i think a patch that makes the amount easy themable
> will be the best route to take.
> After all: it is the fact that a specific theme does not like a certain amount
> of lines in a pager, that brings up this issue. Not the fact user X wants 20
> and user Y wants 30.
> On Wednesday 12 October 2005 18:38, David Reed wrote:
> > For a screenshot of what I'm trying to do see.
> > http://mycivicsite.com/admin_screenshot1.png
> > Also see posting http://drupal.org/node/33862
> > If we make it a variable setting then I'm stuck with one page size for
> > the site. As you can see from the screenshot I could view the log
> > entries from within the tabs on the front page as well as viewing them
> > on the normal logs page.
> > On 10/12/05, Konstantin Käfer <kkaefer at gmail.com> wrote:
> > > Karoly Negyesi schrieb:
> > > >> Proposed solution:
> > > >> Make all of these values configurable in the settings file, but not
> > > >> through the web pages.
> > > >
> > > > This one I like.
> > >
> > > Seconded :D
More information about the drupal-devel