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

6
votes
1answer
164 views

Why are comments not a node content type?

So Drupal has a 'special' commenting system. Comments are second-class citizens in Drupal compared to nodes... But why did the core team not just create a default Content Type, Block and View ...
-2
votes
4answers
27 views

Drupal node variations

Here is what I need: I have a content type with a lot of different fields. Now this content can have (but not always) variations, which have the same fields, but different content. I don't know how ...
0
votes
0answers
10 views

Filter nodes by 'content type' and 'taxonomy terms' simultaneously with Views in Drupal 6

Let me bring in some context: in my site I have several content types such as 'Pictures', 'Videos' and 'Documents'. Also I have a Taxonomy holding a hierarchy of terms representing the different ...
0
votes
1answer
19 views

Show Block view of Restricted Content Type

I have a content type of Events which i make restricted for anonymous users via content_access module. But on the home page there is a block view of most recent Events. I don't want that block view to ...
0
votes
1answer
23 views

How to add a javascript field to custom content type

I have a custom content type called 'Visualisation'. I would like a user to be able to upload their own javascript file for each instance of the content type. I would then like to load this script on ...
0
votes
1answer
12 views

How to choose to which group new content will be visible?

I have a content type: Event. I put instances of Event inside the Calendar(everything works great). I also have Organic Groups installed and set up(I have a group called: employees). Now, the problem ...
0
votes
0answers
20 views

List of people with fields for demographic information

I have two D7 projects where I need to create lists of people. The people will not have control of their profile and their profiles are information based; titles, academic/sports teams they ...
0
votes
0answers
11 views

How can I update vertical tab value of a content type

I'm trying to update a vertical tab field value in my custom module. I have custom form called plan-builder. When I submit this form I'm creating a commerce-product with the value which I received ...
0
votes
0answers
12 views

Add content in a table form, rather than the standard form?

I'd like that users can create new content, of an specific content type, through a table instead of the default form that Drupal provides. Let the user add rows, and each row becomes a new node. Is ...
1
vote
1answer
11 views

Generate consecutive number as title using auto_nodetitle?

I need that new submissions for an specific content type have a consecutive number as title. Found auto_nodetitle, but I don't know how to make it a consecutive number, they don't give clear ...
0
votes
1answer
17 views

How to export content type with scheduler's settings using features

In my dev environnement, I've installed Features module for exporting the content types of my site. I've also installed Scheduler module to schedule for publishing my contents. On the admin page of my ...
1
vote
1answer
26 views

Do I need a custom content type, entity, module or field?

I'm working on a product information manager, and I have a content type of product which needs to reference stock and price levels for each supplier from a different database - these are stored as ...
0
votes
1answer
32 views

Sharing only one content type between 2 websites

I have 2 website set on the same drupal 7.32 instance. There are completely different, with different databases. But I need to show some content from website1 in website2. I just need to get a list of ...
0
votes
4answers
36 views

View page as default page for content type

This could be a noob question but i am really not able to understand how to achieve this. I have several content types and custom detail page i.e view page for each content type. So each time i ...
0
votes
2answers
21 views

Site structure - nodes and blocks

I'm new to drupal and I try to understand the structure of it. Let's assume I want to do the following regardless of the existence of a module doing this concrete job – just to understand the ...
0
votes
2answers
45 views

D8: Best practice: Linking content types

I would appreciate suggestion for this common scenario in Drupal 8, which may be different to how I do it in Drupal 6. I don't want to do any programming. I have two content types: (1) Articles ...
1
vote
1answer
13 views

How to change documents to another category painlessly

I have 4 content types eg Parts, Service, Marketing, and Sales. I've now created one category with 4 content types sub-categories instead. Is there a painless way of changing each documents ...
0
votes
1answer
19 views

How to add delete link for imported content type

For the content type which is imported by feature, there is no delete link for it, but we can delete them by going to the url /admin/structure/types/manage/YOUR_CONTENT_TYPE/delete My question is how ...
0
votes
1answer
37 views

Taxonomy vocabulary not showing up as existing field in new content type

I have 2 taxonomy vocabularies which I want to reference in new content types but I cannot see them under "add existing fields" when creating a new content type. Also tried referencing one taxonomy ...
0
votes
1answer
28 views

User Revisioning and Workbench moderation modules only on certain content type

Is it possible to limit the revisioning and Workbench Moderation modules only on certain content types? On my site there are different content types that can be created but i need the features of ...
6
votes
4answers
105 views
+50

How do I limit the number of nodes posted by a user to an entity referenced node?

I have created a content-type with the name "Reviews". I am referencing another content-type "Books" using the Entity Reference module. How do limited the number of reviews posted per book to 1 per ...
1
vote
2answers
63 views

Custom page template for specific node - template inheritance

I'm trying to customize the page template for a specific node of a specific content type. This is what I have: Content type: Custom Page Node ID: 2 First, I need to customize all 'Custom Page' ...
1
vote
1answer
46 views

Custom PHP vs Drupal Workflow for a Web Application not Websites

This question can be too ambiguous but i think many new drupal users face this difficulty like me. There are many blogs which says that Drupal is a CMF and we can use it for making Web Application ...
0
votes
1answer
33 views

How to remove title field from content edit page?

i want remove field title in any content type on drupal 7. i use module display suite and hidden title but when i add new content that "title is required .......................................... ". ...
0
votes
0answers
11 views

Content Type Fields Aren't Showing

PROBLEM: I'm trying to create another field for a content type but it won't for life of me show up on the front end. I've got a table that echoes out individual series products here: It's ...
0
votes
1answer
34 views

Is there a module to provide node access based on Ip address?

I am looking for a module that provides node access or content type access based on the ip address of the user? So what would be ideal is that i can select the ip address range allowed for a ...
1
vote
1answer
20 views

In nodereference field of a content type, Is it possible to show the content type name added with the autocomplete results?

In nodereference field of a content type, Is it possible to show the content type name added with the autocomplete results ? Example : I have a content type named Article which has a node reference ...
0
votes
1answer
25 views

Allow a user to upload a PDF file to a specific block within a page

Wondering if anyone can help with a problem: I have created a content type called 'Brochures' and added a 'file' field with a pdf format. I want the user to be able to upload pdf file(s) then select ...
-1
votes
2answers
32 views

How to grant permission to specifc role to perform CRUD operations on a particular content type only

I've set up different roles and in my site and I want a specifc role to grant permission to perform CRUD(create, Read, Update, Delete) operations on a particular content type only. But I can't find ...
0
votes
1answer
31 views

How can I detect a “page's” content type?

I have begun work on a Drupal website and unfortunately I did not have an opportunity to have them walk me through the website as is. I'm now trying to replicate content from a development site to a ...
1
vote
3answers
27 views

How do I create a content type that has another content type embedded inside of it?

I'm building a content type for a journal-type product. In each journal there are a number journal articles that vary from journal to journal, which have their own unique fields (like author, date, ...
0
votes
0answers
14 views

ReCreated a Content Type but it does displayed

I seem to have run in to a problem when re-creating a Content Type, I had a Content Type called Gallery on my drupal 7.32 site, I then deleted it, but then wanted to create it again. When I re-created ...
0
votes
1answer
21 views

Call apachesolr_mark_entity without node_save

I need your advise. I have this code: $nid = 5; //example $engine = 'mustang'; $node = new stdClass(); $node->nid = $nid; // node id $node->type = 'car'; // aka content type ...
0
votes
2answers
41 views

Is possible to display view contents in a drop down select list?

So, I've been tweaking and doing research about this but for the love of god I can't seem to find a solution. Here's what I want to do, I have a content type named Partners. I already created a view ...
0
votes
0answers
22 views

Drupal 7 taxonomy term node limit [duplicate]

I have the content type gallery and the taxonomy vocabulary with categories in this gallery. How can I do that in one category could add no more than 10 nodes?
0
votes
1answer
11 views

create menu filter price product

salute you. I have one problem need your help. I want to create 2 menu list of product categories and product prices. there should be a link between two product categories menu to the product menu to ...
0
votes
1answer
15 views

Updating view content (in block) based on field data from page it's displayed on

I'm struggling to achieve something in Views that would be quite simple in PHP itself - hoping for some pointers. I have created a view, displayed as a block, which appears at the bottom of each page ...
2
votes
1answer
39 views

How to provide content type in module for Drupal 8?

How do I write a module that provides a content type in Drupal 8?
0
votes
0answers
19 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
19 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
19 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
16 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
30 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
15 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
23 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
16 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
21 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
51 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
24 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.