The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
18 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
19 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
37 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
85 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
86 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
39 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
61 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
232 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
52 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
49 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
69 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
229 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
47 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 ...
2
votes
2answers
89 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
278 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
47 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
26 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
103 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
120 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
280 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
192 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
149 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
95 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
811 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
385 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
584 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
42 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
62 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
63 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
303 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
120 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
279 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
922 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
75 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
474 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
452 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
167 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
145 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
527 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
119 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
344 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 ...
3
votes
3answers
398 views

How to create a list of FULL Nodes without titles (Views)

I would like to create a list of FULL nodes with comments but no titles (with the module Views) is that possible? Currently I have already a list which shows the FULL node with comments. But also the ...
1
vote
1answer
249 views

Taxonomy vs. CCK List for categorizing Events

Could someone let me know what the best practice is for choosing between implementing something as a Taxonomy vs. a List field in the Content Type? Assuming that there is a preset list of values and ...