drupal-views

Displaying different groups for each children term in one page

I'm using Taxonomy View to display all nodes belonging to a term. If it is a parent term, all nodes belonging to the children term are displayed (I've set depth>0). However the nodes are displayed all together. While I would like them to be displayed in different groups (one for each children term). Thanks ...

drupal views facebook like button

I tried to add facebook like button to my veiws, which lists a particular node-type. I used views custom field module to add the iframe code. The problem is when I click like.. it shows Nikhil liked http://example.com/node/44 instead it should have shown Nikhil liked node title on example.com. Where am I going wrong. ...

Breadcrumb based on views, taxonomy and nodes, how to configure this?

Hi, i'm developing my first Drupal project and i'm wondering how should alter the breadcrumbs and active menu item. part of my site setup is as follows: Virtual Exhibitions (which is a view, that lists all the taxonomy terms related to a certain taxonomy vocabulary, breadcrumb should be "home > Virtual exhibitions") Theme...

How do I make a "view more..." link for Drupal blocks?

I have a simple drupal block which displays top terms from a given vocabulary, ordered by the frequency of use of those terms (ie, most popular tags). I would like to add a "view more..." link at the end of this block, which links to the "page" mode of this view, listing all terms, instead of just the top N terms. How would I go about do...

is there a way to use a view as a menu in drupal?

I want to have a view displayed as a menu either in primarylinks or secondarylinks. I searched and looked up all modules with no luck. should I build this functionality manually ==> build a module? thanks in advance ...

Is it possible to add buttons (link) to a view in Drupal?

I am looking to add separate buttons that will be displayed at the top of the view that I am creating in Drupal. So far all the fields that I have added appear inside of the table as they should. The only thing that shows outside of the table is the search filter above (as it should). I would like to add 3 buttons(links) in a row tha...

Edit results inline

I am returning my views in the style draggableviews. At the bottom you have a save order. This obviously must set the CCK field I have for weight. Would it be possible to update over columns as well? Ideally you would be able to edit the columns returned either by free text or drop downs. By the sounds of it I think I may need to code s...

Views is stripping tags from the output

Hi, I have a Drupal view which should output a video player using flash. I am trying to output a script that will call the flash film. The problem is that Views applies some sort of filter that strips my <script> tags, the opening and the closing one. I am searching a solution (some setting in views that will disable that filter), but ca...

Best practices to list books and books childs with hierarchical style in Views.

Im developing a website about travels. My needs is to build a view that output: France Guide - Guide to Paris* -- Hostels in Paris - Guide to Lyon* - Guide to Hostels in France Ireland Guide - Dublin* -- Hostels in Dublin - Cork* Italy Guide - Rome* - Florence* The nodes with the asterisk * has a location field, and i need to show th...

How to have the block driven by the page being visited as opposed to the user who is signed in

Im very new at drupal. My problem is that the block is consistent and not changing. It seems to be based on the user signed in as opposed to the page being visited (ie, in the multi-user blog, each block should reflect the page of the blogger being displayed and not the user who is signed in. I would like the info to be displayed based o...

Anyone have personal experience with the following slider / rotator modules for Drupal?

Based on this post, I'm noticing that slideshow/ slider / rotator modules are still a bit of an unsettled issue in Drupal (6). My goal is to have a simple rotating gallery at the top of my homepage, rotating between several featured nodes, complete with a few cck elements (title, short summary, and an image). Right now I'm stuck betwee...

Website View is too slow

I've implemented a view in Drupal, with 'Ajax' option enabled. How could I increase the speed of this website ? it is a bit too slow... is this a normal speed for drupal ? (to open an article, load the content, filter the content...) Update: 1) Also, saving the view settings from the back-end seems to be very slow 2) Filters (the fi...

How to filter by User Profile custom field in Drupal Views ?

Hi, I have a set of records which 1 column called "Site" (I used CCK for this) I want some user to access Site A data while others just access Site B I enabled Profile module, add a custom field called Site, then for user 1, I set the value of that Site field to A, and for user 2, I set it to B However, I don't know how to specify th...

Drupal: Add Archive to Primary Links as SubNav

My site has news articles that I want to add to the sub-nav under "News" as years. News 2010 2009 But I only want the current year and 1 previous year. And I need it to happen automatically. I know how to create a page view that will only show news articles from the previous year, I just don't know how to change the Menu & Node T...

How do I display individual fields in a custom block?

A have a view created with Drupal's Views module, and have given it a Block display. It has the following fields: first_name last_name professional_title I understand that I can create a "[viewname]-block.tpl.php" file to provide a custom theme for this particular block, overriding the generic block.tpl.php template file. Within thi...

Why are certain 3rd party modules not saving admin settings properly?

There are two modules that I have documented where admin settings not get saved in my Drupal 6 installation. Specifically I am talking about logintoboggan and Service Links modules. When I make admin changes and hit save and then hit refresh later on: all my settings revert back. Why? I also found out that the same code base works fin...

help me to proceed with drupal views ?

Hi, I am newbie to drupal , I just created a view called "master" and i wanna manipulate the output pro grammatically for creating widget (javascript widget can embed in other website). $view = views_get_view('master'); $view->set_display('page'); $view->execute(); $viewArray = $view->result; $title = $view->display['default...

Does variable_get in Drupal have major issues with memcache?

On a few modules there is a variable_get that is pulling either the correct setting (toboggan/denied) or (node/200) even though the {variable} table is set to toboggan/denied? where is the node/200 coming from and why the randomness in values? Is this a caching issue? This problem is causing us to not be able to set admin settings on mod...

Drupal Views an NodeReferences: Linking to URL in referenced node

Hi there, I have a cck-node with some node-references like PDF-files, videos and so on. Now I want to build a view that lists all those files, which i already have. Yet I can only get the links linking to the referenced node. I'd like to have them link to the file in the referenced node. Hope a generic example makes it clearer: -- A...

Drupal:how to pass argument to exported views code?

Hi, im working with drupal views, function themespage_views_default_views() { views_include("view"); $view = new view; $view->name = 'master'; $view->description = ''; $view->tag = ''; $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; $view->api_version = 2; $view->disabled = TRUE; $handler = $vie...