[support] Views: change the number of elements viewed on a page

Steve Edwards killshot91 at gmail.com
Thu Jan 21 13:43:36 UTC 2010


See my example at http://treehouseagency.com/blog/steve-edwards/2010/01/03/creating-canned-search-views-exposed-filters on doing it with code using the hook Michael mentioned.

Steve

On Jan 21, 2010, at 5:13 AM, Michel Morelli wrote:

> Marolijo ha scritto:
>> Hello, is it possible to change the number of elements viewed on a
>> page by an argument?
>> 
>> 
> I think that the only way is to alter the view before it is executed 
> with a little custom module.
> 
> The hook is : hook_views_pre_execute
> 
> M.
> 
> -- 
> Michel 'ZioBudda' Morelli                       michel at ziobuddalabs.net
> Sviluppo applicazioni CMS DRUPAL e web dinamiche (LAMP+Ajax)
> Telefono: 0200619074
> Telefono Cell: +39-3939890025 --  Fax: +39-0291390660
> 
> http://www.ziobudda.net                         ICQ: 58351764  
> http://www.ziobuddalabs.it                      Skype: zio_budda
> http://www.ziodrupal.net       			MSN: michel at ziobuddalabs.it                   
> 						JABBER: michel at ziobuddalabs.it
> 
> -- 
> [ Drupal support list | http://lists.drupal.org/ ]



More information about the support mailing list