drupal-views

adding id to unordered list in views

hi!! i've created a view with all the recent node titles and styled them as an HTML unordered list .. it generates the list but, the ul tag doesn't have an id :( how can i add that? thanks.. ...

Drupal not printing view inside panel

I inherited a D5 site with Printer, e-mail and PDF versions module enabled that is used for printing. I have a Country page which contains a view with most recent country news inserted in a panel for placement purposes. When I print the page, the view is absent from both screen and source code. One thing I noticed is that each content...

Drupal: Color coding Views

I'm trying to dream up a way to institute color coding in Drupal views. I have several needs for this but can't figure out how to do it. Here are some examples... In a table view for a content type, I want to color code each row based on the age of the post. In other words, "age" of the post is one of the columns in the table, and I wa...

Drupal | How do you integrate a module into views?

I'm using the decisions module for drupal and it currently has no views integration. I'm looking for a way to use some simple filters based on this module in views. How do you integrated a module with views? All of the available documentation is extremely vague. ...

Drupal panel / view not showing in print view

I have a Drupal 5 site that is using the Printer, e-mail and PDF versions module that appears to be creating a print version of a URL like so: screen: country/uk print: print/country/uk Each page is set up using panels and has the country image and a view of most recent country news below. On the print/country/xxx the view isn't pr...

Node titles as menu items in drupal

hi! i've a node type "Gallery" and a menu title "Gallery" which shows all the available galleries with the help of views. Now, when the user creates a new gallery, i want the name(title) of that gallery to add as a child element to the "Gallery" menu item.. is there any module for that? thankx.. ...

Node access/Views: What is the function of domain_site and domain_id realm

I'm getting duplicate nodes in a a view I've created in Drupal. It appears the issue is related to the way the join is done in views for the node_access table. Using devel, I see the following query: SELECT node.nid AS nid, node.language AS node_language, node_data_field_weekend.field_weekend_value AS node_dat...

Filtering the View content with more than 1 taxonomy term id

http://i46.tinypic.com/1z4ityw.jpg I made a View shown in the url(above) but I need to make that second exposed filter in a separate column(if possible showing with count number of items e.g Beaches(1) ) When clicked on Beaches then it will show the actual content "Blijburg" Any help or suggestion appreciated.. ...

Views Arguments - %1 summary shows only terms with content

http://i46.tinypic.com/33ngio3.jpg What should I do to let the initial page show also the Terms which has no content in it? For example I have a Taxonomy Term 'Technology' I want to see that also in that listing like 'Technology(0)' right under 'Sports(2)' ...

Drupal: Duplicate blog tags showing in block

I've got a Druapl-based website with a blog. I'm using a custom view block to list the different tags I've assigned to my posts. Although it lists them just fine (links work fine too), I'm getting alot of duplicates. For example, if I tag 3 differents posts with "sometag", then my block lists "sometag" 3 times in a row. How do I fix ...

a complex drupal views needed

I have 3 node types: 1st one is projects node type and has a field that keeps amount of money billed. 2nd one is firms node type and keeps information about firms to that processes are billed. 3rd one is payments node types that keeps information about payments made by firms for projects. one project can have only one firm, one firm can...

Views template theming

i have a template "views-view-field--tracker--name.tpl.php" for a view called tracker, and i am using an If...Else Statement in the template to print fields. <?php if ($node ->uid == 0) { print $view->field['field_authorname_value']->render($row); } else { print $view->field['name']->render($row); } ?> The above code is not functi...

drupal link to view dependent on argument

I have a node (node a) with which various other nodes (node b/c/d/e) references. I can create a view with an argument as the node I'm viewing, (node a), and get a list of the nodes that are referencing that node. Basically on node a viewing a list of node b-e. I want to create a views page just for the node references of that node. Bu...

drupal :how to pass current userid as argument

i need to display the contents added by that user... i have designed a view to display the result.. but it displays the results of all users..... i need to display the contents added by that user... when i pass the argument of userid it works, but is there any dynamic way to do that.... ...

Drupal views: how to delete a row from table in view

i have to delete a row from table in a view... i have to just remove particular row from a view not deleting the node.. and i have to print only these selected rows... is that possible in any other way.. i have tried with drupal views checkboxex but it is still in development phase i m unable to do that any other solution for this......

drupal views: how to add generate pdf link in views

i have to add generate pdf links in the view how to that.. when the user clicks on the generate pdf links pdf should be generated which contains the content information of that node... ...

drupal: how to generate doc files in drupal is there any possibility to that

how to generate doc file in drupal files.. do we have module for that... as pdf generation module... ...

Drupal views: Allowing users to choose sort criteria on node display

I have some nodes I am displaying in a view. They are displayed as nodes, unformatted. I would like the user to be able to choose from some predefined sort criteria ( via drop down list or similar). So they could pick recently active, most commented, newest, etc., and re-query for new results. Its easy with tables because you can make...

drupal rules i have to create a history table when users does some action

can any tell me how to perform this task i need to create history table when ever user performs certain task like when he creates a content, browse a specific page, perform search... i have started with created a content type history and i have written a rule to insert one row in the table.. it works fine but when i create a view to...

drupal how to get fetch multple rows

how to fetch multiple rows in drupal and store the desired row in variable . while ($fields = db_fetch_array($result)) { echo ""; foreach($fields as $key => $value) { echo "$key = $value\n"; } it works it displays the results but i want to get the value of one row and store in another varaible like $fields['some column na...