Hello, is it possible to change the number of elements viewed on a page by an argument?
Thank's!
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.
See my example at http://treehouseagency.com/blog/steve-edwards/2010/01/03/creating-canned-sea... 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@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@ziobuddalabs.it JABBER: michel@ziobuddalabs.it
-- [ Drupal support list | http://lists.drupal.org/ ]