[support] Retrieve a node in a template file

Michel Morelli michel at ziobuddalabs.it
Wed Sep 30 08:46:02 UTC 2009


Hi all. I have a template file. I need to load a node of content type X 
(cck based), where I know the content type and a field value of this 
content type, and the field is part of cck's fields.

Is this possible only via view or there is another possibility, without 
the use of db_query ? (with db_query I can get the nid and via node_load 
I can retrieve the node).

Tnx.

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



More information about the support mailing list