All Questions
370 questions
1
vote
1
answer
469
views
Does Organic Groups Views allows post to group relationships?
Does anyone know how to create relationships between Post entity and Group entity. I have a view that lists group posts and I want to add group title on the same row. This issue (http://drupal.org/...
2
votes
1
answer
162
views
How to display nodes in a view, each row using a preselected view mode ?
I would like to create a view that displays a number of nodes, each using its own chosen view mode.
I've installed the Display Suite module and created a number of view modes. Using the Views module, ...
6
votes
2
answers
11k
views
how to make a field in a view be the link destination to another field?
I am trying to create ads on the sidebar to my site. I have created a content type that has 2 fields; an image field, and a link field. I now want to display the ads in a view by having the image ...
0
votes
1
answer
2k
views
Entities and Views integration problems
I can't figure this out despite hours (maybe 12hrs) of Googling and experimentation.
I'm trying to integrate my custom entity with views. I am using Entity API. I don't normally dump a lot of code ...
10
votes
1
answer
6k
views
How do i use views with a custom entity?
I defined a custom entity with a few bundles. Is it possible to display these using Views? How do I do that?
15
votes
1
answer
12k
views
How to integrate Field collection module in Views?
I have created fields and grouped together with Field collection module. I have attached the group field (containing 4 fields), to user account settings in : admin/config/people/accounts/fields.
Now ...
2
votes
2
answers
362
views
Custom Table or CCK?
I'm currently working on a project with a new requirement that, in a nutshell, queues submissions from users and submits them them to a remote API:
collects submissions from users (with a form)
each ...
1
vote
1
answer
2k
views
Set dropdown list programmatically in exposed view filters
I have programmatically set a text CCK to a select and given a few choices:
function mymodule_form_alter(&$form, $form_state, $form_id) {
if ($form_id == 'views_exposed_form' && $...
0
votes
1
answer
565
views
Custom CCK Currency exposed filter for available currencies
I am trying to set the available currencies programatically like this:
function mymodule_form_alter(&$form, $form_state, $form_id) {
/** Modify exposed filter views */
if ($form_id == '...
2
votes
1
answer
648
views
Displaying node fields in a view
I have a content type called Snippet. Snippet will have one image field and unlimited text fields.
I want to output fields in Views as:
image field (image.png)
text field (Text1)
text field (Text2)
...
3
votes
2
answers
146
views
Using third-party functions
I have a third-party PHP script that I want to integrate and use in my site. The script is quite small and comes with its own functions and array indexes. How would I be able to call the functions and ...
6
votes
3
answers
2k
views
Restricting node reference values to owner
I have played with a bunch of modules (Node Reference Node Access, Views Field, View Reference) and can't seem to find one that does a very simple job; In one content type I want a field that provides ...
2
votes
2
answers
442
views
Two columns on frontpage with a CCK form and a node list
I want to show a simple frontpage that contains a content creation form (cck) on the left side and a list of nodes on the right side. With a head and a footer, the page looks like this:
I have ...
4
votes
1
answer
741
views
How to alter the Views field Format drop-down menu
I am exporting some XML feeds using Views. One of these fields needs to look like this:
<image>http://example.com/path/to/myimage.jpg</image>
I am storing my image in a CCK field. When ...
1
vote
1
answer
1k
views
Creating individual fields from a multi-column Field API widget
This references the Addressfield and Views modules.
I would like to have extended Views support for the Addressfield module like the Location module does. Some of the extra fields that the Location ...
3
votes
3
answers
600
views
Can node reference be altered to include views pages?
I have a site where 'related pages' is a node reference CCK field for a node. Authors can add related pages (1 or more) to a node with the autocomplete functionality of node reference.
My question is ...
5
votes
2
answers
2k
views
Replace summary/description with another field in Views RSS output
I have a view for an RSS feed which uses the node output (only option it seems when RSS style is selected) so I cant choose custom fields. But, as the body field is 'text and summary' the RSS view ...
2
votes
1
answer
107
views
How should I use a field in views?
I have a CCK field that I want to use in a view. How can I do it?
3
votes
1
answer
607
views
How to create a view to display a block of referenced nodes?
I have a node type, called "policy", that has a bunch of CCK fields, including a Node Reference type. This is configured to reference an unlimited number of nodes.
When the nodes are viewed, the ...
7
votes
4
answers
7k
views
Customising the first item in a view
As a block on my homepage I'm trying to output:
<ul>
<li><a><img><p>Node 1</p></a></li>
<li><a>Node 2</a></li>
<li>&...