The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
26 views

Views 3 fields as list

I am using Views 3 in Drupal 7 to show parent taxonomy terms using nested relationships. This involves setting up a parent relationship, then a parent relationship of that parent, and then a parent ...
0
votes
0answers
18 views

Display history of messages between two users using privatemsg module for drupal 7

Anyone knows how to display a list of all messages that two users had shared, sort of a history of the conversation between the two users in a block or in a template.tpl.php ? Any help please.
3
votes
1answer
34 views

Is it possible to create a Nodequeue of Nodequeues?

I have a number of node queues that serve as collections of nodes. I want the user to be able to take those collections (node queues) and add them to a queue, essentially allowing the user to have a ...
1
vote
2answers
16 views

list field type

I'm trying to add a new field to a product to the Drupal Commerce module. The field should be a select dropdown but the only field type I could find that would do that was term reference. So I googled ...
0
votes
0answers
21 views

How can I combine the output of two seaparate fields in template.php?

I have two fields displaying multiple values from select lists. The first field's a term reference field, the second's a text list. So, print render($content['field_term_list']) produces Term1 ...
0
votes
0answers
25 views

Print key value as a class along with the label for a list field?

I have a node with a field which is a List (integer). I can print the value in node tpl with the following: <?php print render($content['field_name']); ?> However I also need to style each ...
0
votes
1answer
41 views

Manage empty item in item_list theme

Imagine this simple $items = array( 'string', 'string2', $extra_items, ); And theme a block content like $content = array( 'subject' => t('Block title'), 'content' => ...
2
votes
2answers
86 views

How to add < to “allowed values list”?

I'm trying to add: 1|small (<100) 2|etc ... but it will only display "small (" as the first option. I've tried < without success. Any way to display the < ?
0
votes
2answers
94 views

Alternative to Views

Suppose we have numerous entities of types Alpha and Bravo. Alpha entities could easily be taxonomy terms and Bravo – content nodes. Bravo entities can reference multiple Alpha entities each; whereas, ...
2
votes
2answers
43 views

List pages on frontpage with views?

So, I'm relatively new to Drupal, and I'd like to make a Drupal site with a front page with a grid of links to other commonly used pages on the site. This site is intended as a sort of community page ...
0
votes
1answer
52 views

how to show links inside a block

function custom_block_view($delta = '') { $brands = $brand->getChildrenCategories(); foreach ($brands as $node) { #print_r($node); $items[] = array( 'data' => t($url = ...
0
votes
1answer
66 views

Views 3 vertical reading list

When displaying a view of all the terms on my site in asc order, they read from A-z down. Apply a grid-2 to each row, and they read as so: A B C D E F G H I J K L M N O P Q R S T U This is ...
0
votes
0answers
20 views

New modules aren't in admin/modules/list [duplicate]

Possible Duplicate: Drupal modules not showing in admin/modules list I'm using Drupal 7, an existing site, installed in a dev environment. I'm using Wamp, and running the site as localhost. ...
1
vote
1answer
256 views

How to make rendered product variations show in a grid rather than a list?

I need to present some product variations rendered in a grid, without any cart options. The idea is to have the user click a link to the product and present a page with the variations. The easiest ...
1
vote
1answer
61 views

Add a role to a user during MailChimp subscription

I'm sorry, I'm a beginner in Drupal 7, and I don't really understand the roles behaviors. I arrive in a website which is already done, and I have to add a functionality : a newsletter for another ...
0
votes
1answer
53 views

Best way to deal with long list

I've an entity called "guy" with a field "location" and i've 9-10.000 location that i want to reference. I must use a simple list (1|bla, 2|blabla) or an entity reference field that target the ...
2
votes
2answers
76 views

Where do I find a list of commonly used features? [closed]

I've been searching around for some useful features. I would assume that there are some common features that people use all the time, like an image gallery. Is there a place where people contribute ...
2
votes
1answer
246 views

Dealing with too much product variations /attributes

I'm quite new to Drupal Commerce, but I've seen some Drupal before (not actually a guru, but you know, I can handle some). Dealing now with handmade models, each product has 9 sizes, 6 colors, 6 ...
0
votes
1answer
53 views

Taxonomy Terms jump list

I have created a jump list with certain taxonomy terms, but it seems impossible to get the url right. I have a URL pattern setup for these terms: /dealers/towns/[taxonomy_term] But in the jump list ...
1
vote
2answers
95 views

Create a list like draggable menu

I am using Drupal 7. I would like to create a list of items in which all items can be arranged using Drag 'n' Drop. Just like Menu system in Drupal. I found drupal_add_tabledrag() but it seems it is ...
3
votes
1answer
290 views

How to render a Drupal 7 field in stand alone PHP file?

Hi this is probably a really basic question, but hopefully you guys can help me out... I have a javascript client application (Separate to my main Drupal 7 website) and rather than maintaining a ...
2
votes
2answers
49 views

Formatting with Views

So I'm using the Views module to list inventory items that include: Name Photo Description Sales document I noticed that each item in the view is formatted differently because of size of text, ...
0
votes
0answers
27 views

List Items in a Right State on Firefox & IE

Hello i have been happily working away on Chrome with Firebug etc and after about 4 years i managed to get it rather pretty http://onlinebanter.com then i noticed it on Firefox and IE and noticed ...
2
votes
1answer
105 views

Listing Inventory items without being purchasable items

The company website requires a list of large inventory items - engines, pumps, compressors, etc for the oil & gas industry. I was looking into UberCart but unfortunately it does not need to be an ...
1
vote
1answer
129 views

Executing a Rule on a user(s) selected from a list

I have created a user reference field on a node which lists (via Views) all the users the node author is related to in some way. If there is a better way to list users on node forms then I'm open to ...
0
votes
2answers
297 views

Node taxonomy now appears vertically in Drupal 7

After migration to Drupal 7 the taxonomy terms now appear vertically with the vocabulary names, and it seems to be the result of Drupal 7 converting taxonomies into fields. Is there a way to revert ...
0
votes
1answer
194 views

Deciding between (CCK) Fields and Taxonomy for a list of options. Pros and cons?

Sometimes I wonder why to choose Term reference or a regular List (float/integer/text) over the other, when I would like to "force" my users to select one or multiple values from a list. Taxonomy ...
0
votes
2answers
166 views

How to render multiple values of node reference in the form of an ordered list without views?

I have a node reference field that references another node and has multiple values. I want to get an ordered list of the output of that field and display it in the custom node template. I am rendering ...
0
votes
1answer
106 views

Multiple pagination of arbitrary array of objects

I have an array with this structure: $things = array('term1' => array(Object, Object, ... Object), 'term2' => array(Object, Object, ... Object), 'term3' => ...
2
votes
4answers
880 views

Rename “-none-” option for select list field type

I have several list fields, one of which is a list (text) field. The default value for the form, where no value is stored if nothing is selected, is "-None-". Is there some way to alter this to say ...
0
votes
1answer
417 views

How to access label of List (text) via node_load()

In my module I'm generating some json based on some node content. $node = node_load($nid); One of the fields in the node is field_sport_type which is of type List (text). The allowed values look ...
0
votes
1answer
641 views

Programmatically get a list of all fields?

How to retrieve a list of fields, similar to what is available at admin/reports/fields, but so that I can have them in an an array that I can stuff in a select dropdown.
0
votes
0answers
43 views

How can you use the form API to render check boxes inside an item list?

I am creating an item_list as follows: $element['items'] = array( '#theme' => 'item_list', '#attributes' => array( 'id' => 'example' ), '#value' => NULL, '#items' => ...
0
votes
2answers
65 views

Trying to create a view of a node that contains the titles of nodes that reference it

I'm looking for output that looks somewhat like this: Node title! Node body, this is the body of the "main" node, other nodes reference it! create comments link, share links, some flag or ...
0
votes
1answer
66 views

create list of content titles at end of each articles

I want create block, view first articles as full node and others just view titles at the end of first articles. for instace: when create content type like 'opinion' and show 10 articles on every ...
1
vote
1answer
328 views

Let users create / list their own restaurant menu

I am building a site where a restaurants visitors could register. Now, I have created a content type where the restaurant owners could list up there restaurant. I have to also allow them to add there ...
0
votes
2answers
1k views

how to populate select list using hook_form_alter()?

I wanted to add values to a select list dynamically. Another module generates an array from a web service and I want to use those values to populate a select list in a form using hook_form_alter. I ...
1
vote
1answer
130 views

Creating Content List

I have an custom content type movie.By which users can create "movie" content. The movie content type is simple containing a title, director's name and a poster. Now,what i need is, Each user ...
1
vote
1answer
289 views

Merge multiple block views to a single jump menu

I want to implement a jump menu with a list of three different vocabulary terms grouped by each vocabulary name. If I make only a single view all the terms are shown correctly but I would like to be ...
1
vote
2answers
988 views

How to create a simple list of links to Drupal panel pages?

I would like to create a simple HTML menu made of links to pages A, B, C created in Drupal (but not all pages, only a subset). Unfortunately, menu's in Drupal are displayed as li lists, not just a ...
0
votes
1answer
77 views

Fields UI export to code for editing?

I am creating a new registration form with the Fields UI module and need to be able to add variable_get instances for username, email, etc and also add select lists for birthday info, typical drop ...
1
vote
2answers
504 views

D7 views list of nodes with node reference count

I have two content types A and B. The content type B has a node reference to A. I would like to create a views list which show nodes of A with no. of node count of B. It is very similar to a list of ...
0
votes
2answers
1k views

Drupal 7 Views, List, Filters and User

I have three content types : Content type A Content type B Content type C B has a node reference to A. C has a node reference to B. I have also 2 roles : Role 1 Role 2 Role 1 is belong to Content ...
3
votes
3answers
462 views

Drupal 7 Views and List

I would like to create a list with edit and delete buttons/links for each line. How can I do that in drupal 7.7 ? I know list can be created with Views module, but can I have buttons/links in the view ...
3
votes
4answers
2k views

How to change the HTML Output of a view?

This view is a black book directory that will have a long list of links to static pages. The problem I am having is the output isn't coming out as an unordered list like I have set. Each link is set ...
2
votes
4answers
175 views

Taxonomy vocabulary

I created a taxonomy vocabulary that groups all blogs with the specified taxonomy term. I mapped a menu link to this taxonomy term. When this menu link is accessed, I see all the blogs listed, but at ...
4
votes
1answer
147 views

I am looking for a friend's list for the Organic Groups module

I'm looking for a friend's list (kind of Google+ circles functionality) to work with the Organic Groups module. I wish to allow users to add tags to users that are their friends, e.g. work or family, ...
0
votes
1answer
565 views

Select fields with group names in Drupal 7?

When you make a select list on a webform module you get the option to group values by a group name or category: "Option groups for lists and menus may be specified with . <> can be used to insert ...
0
votes
1answer
121 views

Creating a block that lists various posts for various categories

I need to achieve something like this: This is a block on a page. Stuff like U.S., Politics, World etc. are the categories (created by adding a custom vocabulary) and the sub-links are articles ...
0
votes
1answer
349 views

Terms in tree view - wrong order?

I wanted to list the terms that a node has in a tree view. I've gotten that far that the list, sorted by the parent, is done, but the terms is in wrong order. Some terms becomes childterms to the ...

1 2