On Feb 16, 2008 8:56 AM, Davide Michel 'ZioBudda' Morelli < michel@ziobudda.net> wrote:
Hi all. I need to create a page where the content is get from a view, but to the same content I need to add other information (categories, uid, and other). Where I can find a RTFM that say me how to get the result of a view and work on it ?
Tnx.
-- Michel 'ZioBudda' Morelli michel@ziobudda.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni 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.ajaxblog.it MSN: michel@ziobuddalabs.it JABBER: michel@gmail.com
-- [ Drupal support list | http://lists.drupal.org/ ]
I had to do something similar last night, perhaps this will put you in the right direction. I'm probably not doing it completely right.
Check this page out too. http://drupal.org/node/48816
<?php $view = views_get_view("articles");
$nodes[] = views_build_view('embed',$view,array(),false,0);
print "<h1>Articles</h1>"; foreach($nodes as $node) { print $node; } ?>