i need help with views 2 in drupal 6.x
i'm trying to theme a view using views-2.x but i don't understand the new way for do this, how can i customize the format of the nodes in the view? how can i use the $content, $title, and $fields variables ? The view is very simple, just filtering a content type. But i need specific format for the output. thanks in advanced for all of u
Aldo Martinez Selleras ha scritto:
i'm trying to theme a view using views-2.x but i don't understand the new way for do this, how can i customize the format of the nodes in the view? how can i use the $content, $title, and $fields variables ?
The view is very simple, just filtering a content type. But i need specific format for the output.
thanks in advanced for all of u
In every display type (page, block) there is a line in the first column called "Themes: Informations". Click on that line and you can see al the theming options. Theming a view is possible from "all view" to "this display type of this view" and from "all fields" to "this fields of this display type of this view".. 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
i have a view with body field, and i need add a "more" to this body, with the field settings i can trim the text, but how can i add the more link to the node??
how can i restrict the number of post from specific content type, for example, i have a content tye for about us, but i only need one of this, how i restict this?? thks in advanced
node_profile (dependent on node_family) module used to do this (Drupal 5) ... take a look at the code there On Thu, Jan 21, 2010 at 1:42 PM, Aldo Martinez Selleras <aldo@caonao.cu>wrote:
how can i restrict the number of post from specific content type, for example, i have a content tye for about us, but i only need one of this, how i restict this??
thks in advanced -- [ Drupal support list | http://lists.drupal.org/ ]
On 01/21/2010 10:12 PM, Aldo Martinez Selleras wrote:
how can i restrict the number of post from specific content type, for example, i have a content tye for about us, but i only need one of this, how i restict this??
thks in advanced
The views interface allows you to specify Filters. You can filter most parameters there. Also trimming text is possible in the Fields one. Properly read Views 2 docs !!! -- Nilesh Govindarajan Site & Server Adminstrator www.itech7.com
There are a few options here: http://drupal.org/project/node_limitnumber http://drupal.org/project/user_quota http://drupal.org/project/node_limit I have not personally tried any of these, so YMMV, and test them on a test site. Cheers, Bill On 1/21/10 8:42 AM, Aldo Martinez Selleras wrote:
how can i restrict the number of post from specific content type, for example, i have a content tye for about us, but i only need one of this, how i restict this??
thks in advanced
On Thu, Jan 21, 2010 at 9:42 AM, Aldo Martinez Selleras <aldo@caonao.cu> wrote:
how can i restrict the number of post from specific content type, for example, i have a content tye for about us, but i only need one of this, how i restict this??
There is a review of node-limiter type modules at http://groups.drupal.org/node/16637 Regards, Greg -- Greg Knaddison | 303-800-5623 | http://growingventuresolutions.com Mastering Drupal - http://www.masteringdrupal.com
participants (6)
-
Aldo Martinez Selleras -
Bill Fitzgerald -
Greg Knaddison -
Michel Morelli -
Nilesh Govindarajan -
Victor Kane