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

-1
votes
0answers
13 views

How to restrict making a custom fields in Content type? [on hold]

I have a content type, in that user can create only limited custom fields. Is it possible?
0
votes
1answer
21 views

Private Content in Drupal 8

I'm currently trying out Drupal 8, but I'm wondering what is the best way to make some content (content types and some specific nodes) only available to authenticated users? I'm using 2 content ...
0
votes
3answers
23 views

No front page content has been created yet in front page

I have used page--front.tpl.php for creating my front page. In my footer it displays the message No front page content has been created yet. I have used solution specified in Removing the "No ...
0
votes
0answers
8 views

Create a unique entity based on email field in a node and email the node edit link to email

I have two content types an online application form and the referee form. I have setup a rule so that when you create an online application form node it then generates a referee form node. The ...
0
votes
1answer
18 views

Show title of referenced node in node template

I'm working on a node template for my content types and use Entity reference to reference my content with each other. THe machine name of my entity reference field is og_group_ref. In my node template ...
1
vote
0answers
14 views

3 Way Content Filtering With Taxonomy and Content Type

I have one taxonomy named "Project Parameters" with hierarchical select and another taxonomy names "Project Sub Parameters" with hierarchical select. I Want to filter the content with those ...
2
votes
2answers
78 views

How to use the Rules module to implement a custom redirect for an outdated URL?

I used to show content from a catalog via Views accessing an external database, so that all of the URLs would be something like /content?name=[name]. For various reasons, I've opted to import the ...
1
vote
1answer
23 views

How to unzip or uncompress a file .epub on Drupal?

I've created a content type that upload files .epub on database. Now for some reason (to use epub on a mobile app) I need to get the file .epub uncompressed. It's like in my content type I upload a ...
0
votes
1answer
8 views

Add 'Top product' field to products Ubercart

I'm trying to filter products on the homepage of my webshop (Views module). I want to add small ribbons to my products like: New,Top,Sale. I made everything with the Views module but I think need to ...
1
vote
2answers
55 views

Wrap a field in html from template

I have an Article content type that has related_news field. It displays inside the article text as a box. In node--article.tpl.php I have the following code: <?php // We hide the comments and ...
-1
votes
1answer
40 views

How to make a field required using JavaScript injector

I have a field that is part of a content type that I need to make required by using a JavaScript injector. The reason that I can't just make it required while setting the rules for that field is ...
0
votes
0answers
30 views

Problem with photo on anonymous user page

I uploaded an article with a photo to my website. The photo is showing for administrators, but not for anonymous users. What do I need to do to make sure the photo displays for all users?
0
votes
1answer
30 views

Best way to enter(insert) the content in drupal, so a non techie can edit the content

I am some what new to drupal tho familiar with CMS tho drupal way is to put into views tho i dont see how best a non techie can edit such content what am i missing thank you
0
votes
1answer
28 views

Set a value from one text field from one content type to another text field in another content type using set data value in rules

I have two content types A and B and I have two rules. I am trying to add the text put in the A text field of content type A into the B text field of content type B. On rule two I am using the set ...
1
vote
1answer
28 views

Change allowed file types based on certain criteria

An admin comes onto the website and creates an assignment which is a content type. Students come onto the website and create submissions that point to the certain assignment. There is a file upload ...
1
vote
1answer
11 views

Custom tpl.php for custom content types rendered through another tpl.php

I have a custom module which displays multiple content types in tabs. My module uses a custom tpl.php which renders the tabs and the contents(of multiple types). The challenge is to have custom ...
0
votes
4answers
38 views

Display the content of particular content type in side a block?

I tried to create a block called contact details. I already created a content type called contact.I wanted to add the content of each contact content type in my custom block. I researched a lot..and ...
0
votes
0answers
14 views

How to display the menu Parent Item based on the selected language on content creation

I have 2 parent menu items. (Club of Montreal EN, CLub de Montréal FR) I have a content type Article. Each time an article is written, the menu item for this article need to be place under the proper ...
0
votes
1answer
25 views

How to retrieve a file or image from a content type?

I'm using services module to get data from database, among those data there is an image. All fields are loaded except the image, the uri seems to be wrong. here's the postman response : ...
1
vote
2answers
40 views

Show Entity Reference items as table

I have two Content Types (Country, City). I want to display full contents of City in Country, so I did like this: - create a field in World Content type - set this field as entity reference (City). ...
1
vote
1answer
21 views

how to refer to fields with multiple values in node--content-type template

I currently have a template for the article content type. node--article.tpl.php contains: <?php print render($content['body']); print render($content['field_file']); print ...
0
votes
2answers
19 views

Only show field type content added by user

On my website I allow companies to add jobs, I allow a user to create one or more companies. When the user goes to add a job I have a drop down which lists all of the companies on the site, I want ...
0
votes
1answer
22 views

Using Drupal Tabs for Fields or jQuery [closed]

I'm trying to get the "check our my video" section to show up in a horizontal tab format. right now, the users h ave up to 4 links to add here, so it would be different sizes most of the time. I'm ...
0
votes
0answers
11 views

Comments don't show up using Display Suite

I started using the module Display Suite wiht my D7 installation. I use a Reset layout on my Article Content type. Everything displays fine except the Comments field which does not show up at all. ...
0
votes
3answers
35 views

Theme for Content Type

I am trying to assign certain themes to certain content types. Is there any way to do this in the admin configurations? I don't particularly want to use a module or modify php code for this. Thanks
0
votes
0answers
11 views

Exclude already added values from Entity Reference autocomplete field suggestions [duplicate]

Have field of Entity Reference type added to my content type, using autocomplete widget (unlimited values). While trying to add some values autocomplete shows all possible suggestions, including ones ...
0
votes
0answers
16 views

A Product Page with dynamic variants without using Commerce

I have a page that is product page for an offline product. This product will never be sold through the website, so the Commerce module would be serious overkill I think. There are some features of the ...
0
votes
3answers
67 views

Display custom block to specific content type programmatically

I created one custom module, it will create one custom block when it is installed. I want to display it on "product" content type only. Can I do the same with programmatically. It'll save my time. ...
1
vote
1answer
13 views

Hide Content Type Default Pages from Search Results

I have multiple content types where users enter data that I consume in views and create pages from. I want to exclude some of these default content type rendered pages from the search results, but ...
2
votes
1answer
99 views

slide through nodes from the same content-type?

I've got a content-type called design_portfolio, and created an amount of fields I've created a view (using the Views module) of only the the field 'thumbnail-design'-image, which is sorted on ...
2
votes
2answers
51 views

Automaticaly send a push notification?

I have set up and configured the push_notifications module for a site. But, I want to automatically send a Push Notification to all the mobile devices registered in the site when content of an ...
0
votes
1answer
32 views

How to upload multiple images as multiple nodes?

I built a social network website that is like Instagram (users can follow each other, upload images and ...) but it focuses on some event. People send us tens of thousands of images every year and we ...
0
votes
1answer
32 views

Content type Images not displaying

I have created views to display images. Clicking on the image takes to content. View displays the image but when clicking on image it takes to content where image is not displaying. Please help me.
0
votes
4answers
48 views

Content Type vs. Taxonomy | Example TV Series

as this my first post here I don't know if I do everything right. Please forgive me. So, my plan is to build a website with many categories and these than contain posts. To explain the stuff in the ...
0
votes
1answer
27 views

Displaying all fields of a custom content

I have a page.tpl.php ; where I want to display inside a <div> in it the fields of a custom content I've created before : 1)The custom content is called "Slider" 2)It have a field I've added ...
1
vote
3answers
43 views

Changing node/%/edit title

I have created custom content type for upload the details. I have used hook_form_alter to set the node title as "Upload". When I edit the node in node/%/edit the title remains "Upload". I want the ...
0
votes
0answers
26 views

How display custom block in custom content type

I have custom block: function node_to_word_block_info(){ $blocks = array(); $blocks['save_as_word'] = array( 'info' => t('Node to word'), ); return $blocks; } function ...
0
votes
1answer
33 views

How to export views after content type through code?

I am using a module that defines a content type and view. When Iinstall my module, The view is saved before the content type. So, my view stating that fields of that content type are not available. ...
0
votes
1answer
36 views

how to modify field of a node?

I have a custom text field which I use to display some voucher code to users. I have it in a custom content type named (machine name) : 'add_deal'. What I want to do is to style the field when the ...
1
vote
1answer
92 views

When should I use collect an end date for a field, instead of using 2 separated date fields?

I need to make a content type with a Start Date and an End Date. I know that I can handle this in two ways: Have two separate field Have one field with a option of "collect an end date". I wonder ...
1
vote
1answer
34 views

How to order multiple values in a field collection

I have an Content type which includes a field of type Field collection, of which there can be an unlimited number of values. I can't work out how to order the rows of data that are displayed by this ...
0
votes
1answer
18 views

Need Help Finding Permission Needed for Entity Reference Content Type field

I've got a content type called 'resources' in my drupal 7 site. I have authors who have permission to create new resources and edit all the fields. However, I have recently added a new 'entity ...
1
vote
1answer
79 views

How to set blog post under event section in Drupal commons

I use the Drupal Commons distribution. I already created blog-post depends under group section using OG_MEMBERSHIP. Likewise, blog-post depends under content type event. How to achieve this? We also ...
0
votes
0answers
22 views

Can NOT Disable/Enable/Add/Edit any component of the site

My drupal site is acting strange. I can NOT add/disable/enable/edit any components of the site. I can't add new content types, content fields, disable/Enable modules. I just removed a module from ...
0
votes
0answers
44 views

How to get content type field value from content type select list

I have a select list in which all content type's name are populated(say: article, Basic page, etc). Now when I select "Article" from select list, all field's value of "Article" content type get ...
0
votes
0answers
29 views

Changing fields type which are already on website

Here is my case. I've created a content type with few fields (all fields had type: 'text'). I've exported this content type using feature and then used feature on PROD website for few weeks. ...
0
votes
2answers
41 views

Views, taxonomy and content type

I have a content page called Book, to which I also added an image field and a "term reference" to a Book taxonomy which has Book A, Book B, Book C, Book D, Book E as available terms in it. I created ...
0
votes
2answers
44 views

Content types with a field that get data from my custom table

as it said on the title, I've create a custom table named : writers (contains name,books..of writers) To add a book, I've created also a content type that contains a form, with many textfields (book ...
1
vote
2answers
18 views

Creating a shortcut to a listing of a specific content type or a set of specific nodes

I want to create a shortcut that acts similar as when you click the "Content" link. But I want to be able to display only a specific content-type or probably a specific set of nodes. Is this possible ...
1
vote
2answers
29 views

Content type which contains a content creation as a slip form

I'm quite new to Drupal and I've encountered a quite complicated problem. I've created a role called "Event coordinator" authorized to create a content type entitle "Events" that has a title and and ...