This tag is for questions about the usage of Drupal content types: managing, creating, filtering, displaying, and designing content types.

learn more… | top users | synonyms

0
votes
0answers
13 views

using views and unsaved fields

I have two numeric fields on a content type. I wanted to be able to show a mathematical calculation of these fields on the content add form in real time as they are being updated. If it was a node I ...
0
votes
1answer
17 views

Custom content type add form

I am brand new working with Drupal 7 and I am working on a professional project and I would like some help to achieve some requirements. We have some content types like associations. Authenticated ...
-3
votes
1answer
17 views

Field value of a content type is not saved

I have a content type (created through a feature) which has different fields. One field is a text field. It used to save data before but now it doesn't save any value. I checked in the table, the ...
0
votes
1answer
11 views

Relationships Between Content Types

I have 3 content types that I have created: order, product and salesperson. The fields for each are as follows: Order: Purchaser Name, Product (entity reference to Product), Quantity Product: ...
1
vote
0answers
11 views

Content Type no showing fields

I have been trying to created a content type programmatically in Drupal 7. I notice that I should use the hook_node_info to generate the content type with the title and to add the body I should use ...
0
votes
0answers
8 views

Create Group fields with wrapper- D 7

I am newbie into Drupal. I am using Drupal-7. I wanted to create fields group with wrapper. Somewhat like View Block. But, don't want to use View-Block. So, is there any way to create group for ...
0
votes
0answers
18 views

Prevent redirect to admin/structure/types after adding content type

Whenever I submit a form at e.g. admin/structure/types/add, or admin/structure/types/manage/article, or admin/structure/types/manage/page/fields, I am redirected to the admin/structure/types overview ...
0
votes
0answers
4 views

Is using views to display information of one contenttype combined with user info bad practice?

On a Drupal 7 website I have a content type for which I would like to create a page that also contains user specific information. It is not a collection of data it is just like a content type display ...
0
votes
0answers
11 views

Generating fields programmatically for a page

I currently have two content types, one content type has a field which is a list of nodes of the other content type. I am using entity reference modules for this. I have a custom module that pulls in ...
0
votes
2answers
19 views

How do i use a template file for my content type?

quite new to drupal here so forgive me if things seems evident for you.i'm building onto an already existing site in drupal 7. the site is a onepager frontpage and from the frontpage there are links ...
0
votes
0answers
20 views

Issue with “File Entity (fieldable files)” module. File Display not working for some users

I defined a content type called "concurso" which includes an "Image" field in it. The scheme for that field is Public Files. In fact, all files in my site are public. In ...
0
votes
1answer
14 views

Receive error when printing field

Hi i've just started building a site on Drupal 7.31 and i'm following my normal procedure i've used loads of times. One of the things I have on most sites is an introduction just beneath the title. I ...
0
votes
1answer
16 views

Assign user survey created by webform

I've created a survey using the webform module. I now want to assign a set of users to take the survey. Does anyone have any recommendation on how I should go about doing this.
0
votes
1answer
35 views

how to send an email when the content is unpublished

I'm using the rules module for sending emails. When the user adds a node, it can only be published when the admin approves it. For this I have used the content approval module. I have made a rule ...
0
votes
1answer
31 views

Css class for Custom Content type fields

I'm using seven theme for creating a basic pages. In that created more content types including title and body as shown in figure. The page appear like this. Is it possible to add css ...
0
votes
1answer
29 views

Display taxonomy term description within the content page

I've a content type with some fields, one of the field is associated with a taxonomy and it has some terms (each term has its own description). Here, when I input the field with the terms and submit ...
0
votes
2answers
25 views

Multiple content types from Views module, not old nodes from one of them

I use the famous Views module to show nodes of different content types. One of these content types has a field called "final date". If a node has an old date, smaller than today's date, I want it to ...
0
votes
1answer
12 views

Display name of Content Type instead of node Title in Views

I have multiple different content types: Part A, Part B, Part C, etc. What I need, is to display "Part A" in Views, instead of the title of the content. I also need to link to the content. Is there ...
0
votes
1answer
27 views

Theming a node teaser to use its content types's custom tpl.php

I have a page--contenttype.tpl.php in a custom theme that displays a node exactly how I want it to display on its own node page. How do I make it so that the teaser for the node of that type displays ...
-1
votes
0answers
12 views

Undefined index error in “Find content” (…in node_filter_form() (line 177)

I found the same issue as here : https://www.drupal.org/node/2176665, and I don't seem to find any satisfying clue from googling. this is the error : Notice: Undefined index: in ...
0
votes
0answers
17 views

I have set points for posting articles and its working but

I have set points for posting articles and its working but I also like to add Cash Credits along with it. Cash credits are just like the points system but it has to show "You have earned 50 Rupees for ...
0
votes
0answers
18 views

layout not available in variant of node_view with panels

Trying to make a different layout for a content type. I understand it's possible with panels as shown in this example Panels to do a specific layout for one content type edit mode When I go to ...
0
votes
1answer
10 views

Pagers of two different contents are conflicting

There are two contents in my website, say CA and CB, I created a view for each one and it displays 10 items and for the rest of the items pager is used. CA is in the sidebar first region and CB is the ...
0
votes
1answer
22 views

Adding a webform to a different content type

I have an "event" content type. Now I want to add a Webform to it so that people can request purchasing and availability information. I checked my event content type in admin/config/content/webform ...
2
votes
3answers
34 views

Is it possible to restrict access to anonymous user to specific content types based on the author?

I've been looking for a module that could support my requirement for hours now and failed. What I want to do is to restrict anonymous user to viewing content type pages based on a specific users. ...
0
votes
0answers
15 views

form_alter hook in a ctools content-type plugin not called

I'm writing a ctools content-type plugin to use it as a panels pane. In my plugin code I try to use the form_alter hook at render for the login_form (not for the edit forms). But the hook seems not to ...
1
vote
1answer
36 views

Webform Content with admin approval

Hi I have a webform which user will fill and get a confirmation link.On clicking the confirmation link the user is a confirmed user.I want an add on functionality of admin approval in it so that after ...
0
votes
0answers
45 views

Add ajax form submission in a panels content type pane plugin at render time

I'm writing a CTools Content Type Plugin for use as a Panels pane, specifically for output the existing user login slightly modified. Everything is working fine - but I want to add AJAX functionality ...
0
votes
1answer
14 views

Exporting my custom content tables for a module

I've been working on a Drupal 7 module. As I've been going along, I have been adding content types in the database through the Drupal 7 admin. I now want these content types to be created when my ...
0
votes
0answers
20 views

My Add and Edit content type pages just disappeared

I'm working happily away on a test site hosted on Acquia Cloud. I'm using standard Bartik theme. All of a sudden, whenever I try to add or edit a content type, there is a very long response time to ...
0
votes
1answer
20 views

galleria Slideshow images does not display

I have created an eva view, to display a group of gallery albums. Within my content type on manage displays am using a default galleria formatter and in my eva view I have a Grid of different image ...
0
votes
1answer
26 views

How can I hide a nodereference url link for users who have already created a node

I am working on a job listing site and wants users to be able to apply for jobs on the site. I created 2 content types "Job posting" and "Job Application". I used the nodereference_url module to add ...
0
votes
0answers
16 views

Node Automatically Scrolls to Comments on Load

For some reason, one of my content types scrolls to the comments section of the node every time it loads (instead of starting you at the top of the page). Disabling comments for that node solves the ...
0
votes
1answer
20 views

Cascade entity reference in a content type

I have two content types parts and maintenance. Parts has 3 fields. Oven type Oven Part Parts price In maintenance i have a entity reference field with autocomplete that points to parts. So now ...
0
votes
0answers
16 views

Editing Fields on a Content Type

I am trying to get edits in a content type's fields to be displayed and reflected in the view. Here is a picture of the settings followed by how they are being displayed. There is no book type ...
0
votes
1answer
33 views

Adding content type field value to a taxonomy term?

What I'm trying to say at the title is, I have this Select List field that gets its values from a taxonomy called "Thing". The taxonomy term are (Thing-1,Thing-2,Other). When "Other" is selected a ...
0
votes
2answers
36 views

how to associate multiple nodes with one node

I have a content type "events" and all the node created under this content type will have further node. The red boxes in the above pictures are node links which are associated to the "event node". ...
0
votes
2answers
24 views

user choice for events

im creating community event site where i have city and events in that city. i would like to give option for user to select which cities he would like to see the events for. whats the best way to do ...
0
votes
0answers
12 views

Taxonomy terms not showing up in drupal 6

I updated the drupal 6 site via drush, moved all of the modules into the correct places, but the taxonomy terms saved using the form attached to the content type does not appear on the node ...
1
vote
1answer
23 views

How can I change the Available Menus to all, programmatically, for a specific content type?

Hello I'm trying to alter a content-type's menu options by code, since there will be new menus that keep being created on the site and I can't keep going back to the content type to keep adding every ...
0
votes
1answer
19 views

How To Remove Content Types? [duplicate]

I installed a custom module that created few content type that I'm no longer need it. I disable and uninstall that module but I still have the content type. And it bother me every time I see it. So I ...
0
votes
0answers
20 views

Complex table based content type

Hi i have a complex form like this: I want to present it as a content type, i don't have any clue how to do it. i've tried making collections of collection fields and setting its format as table ...
0
votes
0answers
7 views

Combining two similar contents into one content [duplicate]

Student contains - AdmNo, Name etc. Travel Invoice contains - Invoice Number, Invoice Date, Months (List Fields - Jan - December), Invoice Amount I created a View by combining Student and Travel ...
0
votes
1answer
35 views

The content access permissions need to be rebuilt. Rebuild permissions?

My Drpal website asks "The content access permissions need to be rebuilt. Rebuild permissions" what is this means? Can I go for Reubuild Permission? Will it cause any problem for current ...
0
votes
1answer
14 views

Hide fields on content creation

I have added my own content type with many fields to enter, I want to hide some fields when adding a content according to radio button selection. I explain, in the add content page, i have two radio ...
1
vote
1answer
19 views

Creating a vanilla instance from a site already set up

I have a Drupal site which is set up, running and being continuously used. It has a variety of content_types, taxonomies and field_collections etc saved in the database. The plan is to sell on ...
1
vote
1answer
23 views

Sort Entity Reference Fields

I am trying to find a way to sort the referenced entities in a node. I have found a related question "Ordering of referenced entity" but it cannot be applied in my case for the following reasons: 1) ...
0
votes
1answer
24 views

Delete all content without content type

Due to an error during migration, some of the content has been left hanging without a content type and did not port over correctly, What is the best way to delete these around 1000 records, ...
0
votes
0answers
8 views

Data Selector for Rules not allowing any value but site:current-user:role:

Similar to this Date Selector not showing up in Rules I'm in the rules module and trying to create a "Content is of Type" Condition. I can set the content type to check for but cannot pick anything ...
0
votes
1answer
18 views

HOOK_node_submit funtion not working in custom module

I recently upgraded a drupal installation from 7.15 to 7.31. All seemed to be working well but as I went through testing features I noticed one of the template forms for content submission wasnt ...