drupal-views

Search forms linking to actual search page

I have created a search page uising exposed filters and views module. The user can choose from different values in order to get a table with specific results (returning node fields). This page is located under mysite.com/search. The problem is that I would like to put a simplified version of the search form on my homepage (lets say just ...

How to specify alphabetical order of accented characters in Views?

In Finnish the alphabetical order is abc...xyzåäö. In German, the order is [aä]bc...n[oö]p...xyz. It seems that when Drupal views are sorted alphabetically, they follow the German order. Is there a way to change it? ...

View only populated when "administer content" is granted

So I created a content type "seminar" in Drupal with a bunch of CCK-fields. I then built a view for these seminars with no access restrictions. The view works fine for authenticated users. As the anonymous user with the permissions to "view content" and all CCK-fields for seminars I can access the page, but I cannot see any seminar-entri...

How can I create a view with fullsize and thumbnail Images

What is the best way to create two dynamic unordered lists in Drupal 6.x using Views? I know how to create one dynamic list in Views but not two. I also know that one can create two separate blocks to create this output, but I do not know how to make the blocks dynamic. Example Gallery: // Fullsize Images <ul class="gallery-output"> ...

Creating a view for a node

I'm having some problems creating a view for a node within my website. The content has a path of 'content/%' where % is the title of the node. What I tried to do is to create a page view in the Views2 module, but to no avail. When I attempt to preview with the name of one of my nodes, nothing appears, and when I visit the node live, it ...

Exposed forms distributed vertically rather than horizontally

I created a view that uses exposed filters in order to allow the user to search. The problem is that each form appears one after another and I would like to place them vertically - i.e. -- -- -- [Search] Instead of -- -- -- [Search] How can I can achieve this using admin panel or css? Any help will be appriciated. ...

How to output CCK Image in Views custom code

I have a view, which outputs all different types of nodes. One content type which I created is called "photo" and includes a CCK Image field. I want to customise the output, Im currently using views_customcode module to write PHP but I cant find the data to output the CCK image field? Ive also tried theming the view output, but, I want...

Views not appearing for non admin user

I have setup a view which outputs nodes, including the name of the person who created it. If a non-admin person browses to the page where that view is displayed, they dont see the name field, I recall somewhere about this being an administrative permission ?? ...

Drupal views: how to put a wrapper div for two views?

I have two views in a Drupal page with the following structure: <div> <div>Some content</div> <div> View 1 </div> <div> View 2 </div> </div> Now I want a wrapper div covering the two views: <div> <div>Some content</div> <div class="wrapper"> <div> View 1 </div> <div> View 2 </div> </div> </div>...

How to remove Anonymous user from the users view

hi, I've a View displaying users of my website. how can i remove the user Anonymous from my View ? i.e. 35 author 16 voter 0 Anonymous 0 user34 I've tried with a filter "User:Name != Anonymous" but it doesn't work. This is how the added filter looks like: "User: Name not in Unknown" thanks ...

Views relationship with multiple files

I have a content types with 3 file fields, all of them can have an unlimited number of images. I need to make a view that returns the title of the content and the images name inside an array (I'm using amfphp with services). The problem is that when I add the relationship to the content field_pics fid I get as many duplicate nodes as th...

View all nodes by this user: filters or arguments

I'm generating a view that lists all nodes created by this user. To restrict it to the currently logged in user, do I need to use Filters or Arguments? I thought Arguments -> User: Uid, but not sure how to specify current logged user as the argument. ...

How to create a timeline in Drupal with three detail layers?

Hi, Instead of asking for help when hitting the iceberg, now I can see there are probably several approaches to what I need to achieve, so I am asking for your opinion: what would you do? I need to create a timeline in Drupal. The timeline has 3 layers: decade (30s, 40s, 50s ...), year and events. I will be registering several events ...

Views page and AJAX

Hi, I created a page view where it lists all nodes grouped by content types. My problem is how to create a page which will only output the view, I mean without the headers, sidebars etc.. just the view content? My reason for doing this is I would later call the view / view page in an AJAX request and display to the user. My view name i...

Need help to make and query cost matrix table?

I had built a website for my client with Drupal 6 . Now he wants to query cost of his service from one town to another town. I know basics of CCK and Views. I will need two select box for towns and show cost of between two towns and a way to let customer enter cost between towns. What is the easiest way of doing it in Drupal ? I am a ja...

I want to increase the width of a particular view field?

I am using drupal 6 and i am not so good in theming ... i want to increase the width of a particular view which i have created to list jobs on my site. I am using this view through panel pane content... i am just clueless how to increase the width of this particular view ... coz the classes mentioned are like "panel-pane pane-views pan...

Supplying a predefined list of options for an exposed item in a view in Drupal?

I've got a view that filters by year. The year is a normal text CCK field on the content type. I've exposed this field in the view, so that the user can type in a value for it. E.g. 2010. It will then show all the content types with the field set to 2010. My problem is, I don't want the user to type in the value. I want to change that te...

Theming views block naming conventions

Hi! I just try to style the block of a view called sidegalery. I placed a file called block-views-sidegalery-block_1.tpl.php in my themes folder which is working. But now I read in the views documentation and found that "Theme: Information" link in the views UI. There the filename views-view--sidegalery--block.tpl.php is suggested. ...

How do I access CCK field values in overridden views-view-list.tpl.php template in Drupal?

I've overridden the views-view.list.tpl.php. I want to optionally included some extra HTML markup if a value in a CCK field for the current node is set to certain values. How can I access CCK field values in a views-view.list.tpl.php view template file? ...

CCK in input form, but not in node structure

I have a content type (Witl) that the user creates. On the creation form, the user selects an option out of a list of nodes that's generated from a view (VOut). Right now I store that option as a node reference on Witl. I need to restructure things around, so that this node reference isn't stored on Witl itself, instead eventually stor...