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
2answers
31 views

hook_form_alter()

I created a content type in a module called travel_page. In Drupal, I added a new empty List(text) field called English_side_menu Now I want to populate the List text dynamically. I did : /** * ...
-2
votes
0answers
20 views

Add new content type in Drupal [on hold]

I am exploring instead of adding a new Content type programmatically, to do it with Drupal directly. I added a new content types Structure/Content types/Add content type. I added a Select list and a ...
-4
votes
1answer
16 views

Body field not displaying in Page content type

While adding content in Page content type. I cannot see body field. What should I need to check?
0
votes
0answers
9 views

drupal 6 ckeditor related

content editor body lets me type whatever text (or html) without any limitation. But, on display only shows up a certain limit (or a certain number of lines). It seems to truncate beyond a certain ...
0
votes
1answer
15 views

Conditional markup field display

I have content type with a term reference field. Let's call it 'Color'. I want the content type to display markup depending on which term has been selected in the term reference field. For example, ...
1
vote
1answer
32 views

Add Glyphicon to titles?

I am attempting to add glyphicon options to titles. Is there a way I can add a field to a content type in order to render the html showing the glyphicon? I am trying to add it to just the basic page ...
1
vote
1answer
15 views

General or specific field names [closed]

I have been creating a site for company forms (quote forms, update forms, request forms) with the goal of reducing the amount of paper that the office uses. My content types started off with very ...
0
votes
0answers
19 views

Site Architecture and content management

The problem (more my lack of knowledge) is finding a way to display the content I have in an easy to manage/update manner. The site is comprised of mostly pages of links (they currently pull from a ...
0
votes
1answer
19 views

I would like to split up the fields in the 'create new content' screen into sections

I have a content type with about thirty different fields. I would like to group them by category and I would also like to split them up so that half of the fields are filled in at the time of ...
0
votes
1answer
17 views

I just want to add a radio buttons to my content type

I am creating a new content type in Drupal 7 and I would like to add some radio buttons as content types. This is surprisingly difficult to do. I have enabled field and options modules but I have ...
0
votes
0answers
5 views

'Whole month' date option for dates without a specified day - but only for some nodes

I have an event system which has a standard date field in the content type. This field is collecting: Yeah Month Day Hour Minute With this setup, the day, hour and minute fields are required when ...
0
votes
1answer
20 views

Is there any API to get corresponding field in a custom content type?

I have drupal 7 and created a custom "content type" with several fields. just imagine i have: title field subtitle field I need to search the data. I want to search titles and when i found my ...
2
votes
2answers
135 views

Use code to automatically fill the form of a content type

I have a content type called Event. I advertise events on my website using this form. I want to advertise automatically using code. I have this code which when I run automatically add content. But at ...
0
votes
1answer
67 views

How should i get corresponding field value for taxonomy filed attached?

I use drupal 7. I created a content type with these fields: one field to upload a file to private folder a taxonomy field (for that file) my problem: i can save one file with one taxonomy! but ...
0
votes
1answer
18 views

Choose Checkbox Insted of radio as a widget in drupal custom content type

While adding field in content type I had chosen Check boxes/radio buttons as widget. By default it takes radio button as a widget.I want check boxes as a widget instead of Radio Button. What should I ...
1
vote
2answers
44 views

Auto fill title

I'm trying to auto-fill the title a content creation form in Drupal 8 with the user ID of the person creating the node, but I can't seem to get past step 1, which is having the title default to ...
-1
votes
0answers
38 views

How to customize the edit form for a content type [duplicate]

I would like to customize the edit form for creating new content. For example, I create a new content type named Experiment and I want to change the layout, add text and style the edit form. What is ...
0
votes
1answer
17 views

How to get a dropdown list with content of other content type

I have a content type trainer where i have the fields trainer_name, trainer_tel and trainer_email. I have a second content type club where i want a field that is a dropdownlist with all the trainer ...
0
votes
1answer
20 views

Adding workflow to custom content types

I am trying to assign a workflow to my custom content type, but i can't find the option to get this working. Is it a bug or maybe just not part of the workflow module?
0
votes
1answer
43 views

How to convert a webform to a content type?

I have a long webform with about 90 textarea fields modeling a report item. Since the requirements of my Drupal site have changed, the report is now part of the content and should have workflow and ...
0
votes
1answer
23 views

How to allow non-admin users to create nodes of specified content type?

I've created a content type 'Product' with some fields (like title, cnk, type, ..). I can create a product in my admin theme. But now I would like to create a form that a user (NOT admin) can fill in ...
0
votes
2answers
41 views

How to create an blog in drupal 7? [closed]

We are creating a single page website responsive one. Planning to add a blog link. Can anyone specify how to create a blog page?
0
votes
1answer
22 views

how to change address bar by its content-type/title of node

I have a content type where user allowed to add the content, which create a node of that particular content, when i click to that content for detail page it re-direct to the node page created by ...
0
votes
1answer
27 views

How do I link fields of a 'user content type' to the actual logged in user?

I'm using the User Content Type module (Drupal 7) in order to store some fields for each user, such as "zip code." Now, in this node_edit page, I made a variant for a Catalog node, for a specific ...
0
votes
0answers
8 views

Use views to merge list field answers in exposed form

I have a content type field that has a list of 5 options to choose and now I need to create a view with exposed filters that can filter by those choices. The twist is that I need to group a couple of ...
0
votes
1answer
9 views

Custom content drupal6

I'm new to drupal, so forgive me if my question will be silly :) I've a little problem with my first custom content on a drupal 6 installation. My content "biography" is listed in admin/content/types ...
0
votes
0answers
8 views

Copy Content into another site [duplicate]

I have two drupal site. So How to copy content of blog content type into another drupal site blog content type with same data such as date of node creation and body.
-2
votes
0answers
27 views

How to use a custom form for CRUD operations on node in Drupal 7

I am currently developing a module for a client and need to provide them a form for updating certain fields of a defined content type. The forms examples on the Drupal site are great for creating ...
0
votes
3answers
28 views

How can I make it so that users can add content to my site?

I have created a custom content type for my site that takes three fields. I then created a view that displays only that content type in a grid form. I need to know how to allow users to add content ...
0
votes
1answer
22 views

How to create a menu from content type fields found on a node?

I have a content type with 4 text areas I would like to make into 4 separate "pages" by creating a menu dynamically based on fields. Is this possible? Reason I'd like to do this is to create a single ...
1
vote
2answers
35 views

Is it okay to edit the webform content type?

I want all the static pages on my website to have an image at the top of them. So instead of using Drupal's Basic Page type, I created my own type (Simple Page) that has: Title Body Image I have ...
0
votes
1answer
21 views

Added field to Basic Page Content Type is not displayed in the page

This question may be a bit silly but I have been struggling with it for a long time and still no solution: I have added the Star Rating Module to display rating stars in my pages. I have enabled the ...
2
votes
1answer
31 views

What can I do with content types that I can't with taxonomies?

I'm starting with Drupal and comparing taxonomies and content types and from what I see, they both: offer a URL via the Name/Title field have the same list of field types (images, double-field, ...
0
votes
0answers
27 views

ckeditor in not showing up on one of my drupal site content type

I have installed ckeditor in my Drupal 7 site. It works well on all content types except one. Actually, on one of my content type it doesn't show on Body field when I write content. But when I open ...
0
votes
1answer
19 views

Content Type with People (list of people) in Select List to Choose From

diving deep into Drupal 7 as a noob and wondering how can I create a field (select list) in a new content type that pulls in all the users in the system? I'd like to be able to associate certain ...
0
votes
2answers
50 views

Difference between a bundle and a conten type

Can somebody explain to me the difference between a content type and a bundle? Is the latter just a bundle for the entity node?
2
votes
0answers
38 views

EntityMalformedException in custom module. Can anyone see what I did wrong?

I'm trying to create a custom module and found out that it's causing the following error message to appear: EntityMalformedException: Missing bundle property on entity of type node. in ...
0
votes
1answer
37 views

Weird problem in calculating sum of two computed field values as another sum

I have created one content type having fields like A,B,C,D,E,F,G. I have used computed filed module to compute these fields like the following. (Used filed group module to group some A&B in first ...
0
votes
0answers
11 views

Can the contents of the tabs on the field editing page be moved into one tab?

The menu pages for editing a field of a content type is displayed as 'Edit | Field Settings | Widget Type | Export | Other Pages Added By Various Modules '. Is there a module that enables you to ...
0
votes
2answers
53 views

Adding an image within a header

I am new to Drupal and currently working on a theme from scratch. I have been using this tutorial to help me. I have got most the things working required for the site I am working on apart from the ...
0
votes
1answer
31 views

How to add a field for each taxonomy term or entity reference chosen in Content Type?

I have a content type ‘Product’. When the user add a product it is necessary to choose a Store (a taxonomy term or another content type). After stores are chosen, it is necessary to add the directly ...
1
vote
1answer
29 views

Categorised Multiple File uploads within a page in Drupal 7

I have a situation where I have to upload multiple files within categories. This can be explained by the following picture. As you can see I need to upload multiple files, but also need to categorize ...
11
votes
1answer
133 views

What is the proper way of using existing fields?

I'm a Drupal beginner. I'm a bit confused about adding fields to content types. Case 1: Suppose if I have three content-types Book, Article & White Paper. I created Authors vocabulary which ...
0
votes
1answer
31 views

How to link two content types from each other

I have content type A and content type B. Users need to be able to link between them while creating either content type (A or B). When they link them up I would like it to be saved in one table. ...
-1
votes
1answer
66 views

General architectural approach to Drupal for a new project [closed]

Thank you for taking your time to answer. Her is the edited version: I am developing a sport social networking website. I come from WordPress cms and for this particular project I've choosen Drupal ...
0
votes
1answer
52 views

How to create a total blank page without any header and footer in Drupal 6?

I am using Drupal 6 and I am stuck in a situation where I need to create a blank page without any header footer which comes as a part of your theme when you create a new page in Drupal. I have ...
0
votes
0answers
21 views

How to display search results in a view of two different content types based on one Content B having a taxonomy term of Content A's content type?

Forgive the confusion, please....this got seemingly very complicated, very quickly. So I'm trying to create a view based on search results that contains results from two content types, with one ...
0
votes
0answers
7 views

Change field widget for a specific form

I have a content type with a field. I need to change the widget applied to the field only for a specific form. How i can made this? I have found methods to alter the widget but not to CHANGE a ...
0
votes
1answer
23 views

Is it possible to attach discussion board to a node?

I have a content type called "Movies". I would like to create discussion threads under it similar to discussion threads in imdb.com under a movie. I have tried the advanced forum module and also ...
0
votes
2answers
20 views

can register user control one page

How can I make registered user take control (Edit/View/Delete) a piece of content type; a specific page for example. is that even possible?