Re: RE: RE: RE: AW: [SMARTY] Paging
| From: | Rasmus Schultz | Date: | Thu, 12 Dec 2002 13:12:18 +0000 |
| Subject: | Re: RE: RE: RE: AW: [SMARTY] Paging | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6756@lists.php.net to get a copy of this message | ||
>> I'm not starting an argument, I'm just telling you what I'd do :)
>
>i'm not arguing, i'm trying to find the best way of doing this.
>
>> If I wanted to expose the number of items per page to the
>> designer, I would do so specifically, not generally with a
>> plugin. Of course it all depends on who you're working with etc. :)
>
>and how would the designer choose the number of items per page when
>designing the template? what about changing other options for the
>pagination?
By submitting a query for it? i.e. mypage.php?perpage=20, or by
creating a form with a "perpage" field ... this way, any safety
and defaults you implement for your arguments, for the end user,
shield the designer from the mechanics as well ...