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

3
votes
2answers
36 views

How do i create complicated content type?

My apologies for bad english. I want to create educational website with user generated content. Sort of like wikipedia. The problem is content is a little bit complicated. It must have 4 tabs, which ...
0
votes
1answer
12 views

How can I use tokens in my content

I want to use tokens in my content but it seems like it doesn't let me. I've found an article about using the Token Filter module but I have not been able to configure it so that it would print. In ...
0
votes
0answers
19 views

Remove comma from unlimited items body in content type

i have a content type with multiple body fields. It's works but there is a single comma between the body fields on the rendered page. I can't for the life of me figure out how to remove that god ...
0
votes
2answers
24 views

Structure for a list of links

What I’m looking to do: Content type has an field (addable; unlimited entries to this field) In that field you select from a list of (mostly external) links. Each link is a sentence - has a title ...
0
votes
0answers
4 views

CKEditor filters the custom tags in Drupal page

I have the Drupal 7 site with CKEditor installed.(No WYSIWYG installed) Now the problem is that my contents in the Full HTML mode gets filtered by the CKEditor. Say if I have a div like <div ...
0
votes
1answer
12 views

When to use a Webform vs. simply utilizing the Add Content page

Inspired by the ambiguity of answers and comments to this question... My users aren't entering data for a survey, they are actually entering content to the site. But I need it validated, conditional ...
0
votes
1answer
24 views

Adding Static Page causing Notice

Im having problems with Drupal. I added new Content Type named Static Page, which is having 1 property and 1 field: title and body. And now, when Im adding new Content type with this, Im getting ...
0
votes
1answer
20 views

Render with custom style all contents of a content-type from custom module

I am trying to create a custom module to manage a slider. After install my current-development module, I have: a slider content-type a slider view defined to show Content (Full Content) of the ...
0
votes
1answer
19 views

Add help text to title D7

How can I add Help text to the Title in D7? Perhaps adding an 'edit' button similar to the other normal fields. Ideally the solution integrates with Label Help.
1
vote
3answers
69 views

Create Content Type from code

Following this post: http://www.sitepoint.com/creating-a-new-drupal-node-type/ I have tried to create a custom content-type from code like here: Update code https://github.com/jmvelasco/drupal ...
0
votes
1answer
19 views

How to create simple 'subsites'?

I am creating a site for a company, which has multiple departments. Each department shall have a departments (sub/branch) site. Within each department site, there will be users of different roles, ...
0
votes
0answers
20 views

Node Title and Language not saved

I ran into a strange problem on several of my servers. Since a few days the title and language fields of my nodes are no longer saved. Both are in a content type called page. Other fields, let's say a ...
0
votes
1answer
16 views

Can you set an image that is part of a custom content type as the background image in a view?

Hoping someone can help me. I have a custom content type that contains a bunch of fields with one of them being an image field. I'd like to have the view display the image field as the background ...
0
votes
1answer
20 views

Automagically relating nodes of a single content type

I have a content type (e.g. Target) which has a title and body. I will have about a 1000 nodes of this content type. I want to be able to create a view that renders not not only the title and body of ...
1
vote
1answer
20 views

How do I load all images and thumbnail for a multivalued image field in node view?

I have a content type with a multivalued image field. I want to make the image field render with one main image and all the thumbnail. When any of the thumbnail is clicked then it's respective image ...
0
votes
0answers
25 views

UI widget for hierarchical select field [duplicate]

I'm building a classified website, on which users can create ads using the custom content type I've created. Each ad has a category field which a reference to a multilevel taxonomy, and uses the ...
1
vote
0answers
27 views

Image preview thumbnail does not display

Drupal 7. When adding a core image field to a content type to display an image, the preview thumbnail does not display on the edit page when uploading an image. What appears after clicking on the ...
0
votes
1answer
36 views

Building taxonomy Selector [closed]

I'm building a classified website, on which users can create ads using the custom content type I've created. Each ad has a category field which a reference to a multilevel taxonomy, and uses the ...
0
votes
0answers
35 views

Missing bundle property on entity of type node

This issue happens when a user is on my comment page and selects save without adding any information. I've narrowed it down to my node--editorial.tpl.php page. when i comment everything o ut on this ...
0
votes
0answers
10 views

Link module - display icons based on file MIME

I have a Resources content type, which has a Tutorial Links field which can contain unlimited external links to tutorials. For this, I am using the Link module. Instead of displaying the URL or ...
0
votes
1answer
35 views

New Content type is not listing in Add Content in Drupal 7

When create custom content type through UI or programmatically in Drupal 7, there is no link is listed in the Content > Add content. I was creating the content types without any trouble, but now it ...
0
votes
1answer
22 views

How to change default content type machine name in commerce kickstart?

I am using Drupal commerce kickstart 7 . I have installed perfecly . I am using demo store also. It have content types like hats, storage devices , etc,... I am using hats content type. So products ...
0
votes
2answers
24 views

Remove link from title of custom content type in Drupal 7

I have created a custom content type that includes a title, body and an image. I am displaying this content type in a views slideshow which is working fine. The problem is that the 'Title' on each ...
0
votes
0answers
12 views

Change Omega4 Layout Based on Content Type via template.php

I want to set Omega4 Layout defaults based on Content Type. I am trying to use the following code, but the hook_omega_layout_alter doesn't seem to use the $node variable. What am I missing? I have ...
0
votes
0answers
16 views

ckeditor is only showing up when create content, not when edit the same

The Drupal 7.34 site is running with CKEditor 7.x-1.16, and Wysiwyg 7.x-2.2 Everything run fine with the Add Content option with the predefined content types(Article,Page) and the 3 custom types. ...
0
votes
1answer
26 views

edite content type style

I clone content type by using bundle copy module, but the view of the content type never the same as the first one, how can I clone the style too
0
votes
0answers
26 views

Allow everyone to view the custom content type

The Content Access, Node view permissions, the code I tried with, and the whole day spent-are all waste. The drupal 7.34 site, run in the localhost machine with only one user(administrator) have a ...
0
votes
1answer
29 views

View add a new field it can't find the fields “All disappeared ”

Something strange happened to my website and suddenly all the fields disappeared from view. I tried to create new view with content type building. the building content type has the following fields ...
0
votes
0answers
11 views

Diff + Merge 2 fields of a node

Taking forward this question: Drupal module powered by Wikitext To achieve something similar, I would like to know if there is a module which would help me to Diff and Merge 2 fields of a same node ...
0
votes
1answer
48 views

Drupal 7 - Unable to set file upload destination private when programmatically creating new content type with file field

I am creating a module to upload video to an in house media converter - as part of the module installation I create a new content type called "user video" which has a file field as part of it. I need ...
1
vote
1answer
36 views

Child content types

I need to create two content types (Call List and Call Announcements), in Call Announcements there are 5 fields, in Call List there are 12 fields but 5 of them are mutual with Call Announcements, I do ...
1
vote
1answer
31 views

Multiple forms for one content type using one module

I want to create the following functionality: Multiple interrelated forms needed Form 1, Form 1 detail and Form 1 user detail But the user can fill in the forms only in order.. I mean when the ...
7
votes
3answers
233 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
33 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
15 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
25 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
39 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
13 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
23 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
13 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
14 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
18 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
25 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
42 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
50 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
38 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
23 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
52 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 ...