Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 12076

Nodes, comments, taxonomy terms, and users, in the terminology used since Drupal 7, are generally called "entities."

1 vote
Accepted

How to add new fields in Drupal

Assuming you use Drupal 7, it is trivial to add fields to any entity using the build-in Fields module. (If you see references to "CCK", note that this is not for Drupal 7, but to an older version of …
Free Radical's user avatar
  • 15.1k
2 votes
Accepted

How to Sum up 2 fields of integer, and present as "Time period"?

Re your update 2013-12-03. I've absolutely no idea why your using the Computed field module for this - that seems like a completely unnecessay complication. As I've already pointed out by me on 2013 …
Free Radical's user avatar
  • 15.1k
3 votes

What is Content Construction Kit (CCK) in Drupal

The purpose of the CCK was to provide a simple UI for adding new "fields" to entities so that new, specific content types could be created by site designers. … In Drupal 7, you do exactly the same thing by adding "fields" (which may be typed) to entities. …
Free Radical's user avatar
  • 15.1k
3 votes
Accepted

define my own entity.tpl for my custom entity?

If you insist on theming your entity, there is a solution is written up here: Theming Custom Entities @ Drupal.org. …
Free Radical's user avatar
  • 15.1k
1 vote
Accepted

Change field from Multi-Value to Single-Value

Use VBO Introduce a new, single-value field in the bundle, then use Views Bulk Operations (VBO) to copy the data from the old multi-value field to the new single-value. VBO have an option to "Execut …
Free Radical's user avatar
  • 15.1k
0 votes

Check for field values to be unique when storing into the DB

When you use fields GUI to add fields to a content type, it is correct that the GUI do not let you set the UNIQUE constraint. However, the fields created in this way is stored in the SQL database. Th …
Free Radical's user avatar
  • 15.1k
2 votes
Accepted

List all users using Drupal Views

No. When you add a new View, in the first screen there is a GUI with menus that let you create a view to; Show users sorted by newest first And that is all there is to it! You can obviously refin …
Free Radical's user avatar
  • 15.1k
0 votes

Create node fields with values that change every week but old values are being stored

There are several ways to do this. Your tanks content type already holds the measurements. To keep past measurements, all you need to do is to change the field latest_amount to be this_weeks_amount, …
Free Radical's user avatar
  • 15.1k
1 vote

Saving custom field value leads to mysql error

The error message tells you that there is a mismatch between the insert value list (7 items) and the number of values you're trying to insert (8 items). The error message comes from a core module, th …
Free Radical's user avatar
  • 15.1k
3 votes

How to collect Duration input, and let Google read it in "ISO 8601 duration format"?

The page to you link to: Rich snippets - Recipes, tells you to use the ISO 8601 duration format attached to the properties prepTime, cookTime, and totalTime in one of three standard metadata formats ( …
Free Radical's user avatar
  • 15.1k
2 votes
Accepted

How to get fields values in an override file?

If you look at the comment in the beginning of the template file you're overriding, you should notice that it lists the variables available for any override code. For instance, in field.tpl.php (used …
Free Radical's user avatar
  • 15.1k
0 votes
Accepted

How to change an address field that says "There is data for this field in the database. The ...

The message you see is for the settings of an existing field name "Adresse". It tells you that you can no longer change its field settings. There is nothing that prevents you from adding a new field …
Free Radical's user avatar
  • 15.1k
0 votes
Accepted

Flexslider as field

It looks like you're looking for Field Slideshow. This project provides a Slideshow formatter for Image fields, using JQuery Cycle plugin. It builds the slideshow from a single node, with a multi-va …
Free Radical's user avatar
  • 15.1k
0 votes
Accepted

entity export not serializing node

I am not sure, but I think the core team never got around to adding CRUD API to core entities. If you inspect a node entity with dpm(), there is nothing. …
Free Radical's user avatar
  • 15.1k
1 vote

Display HTML code in a Drupal field as plain text

Looks like you're looking for Code Filter. This module provides a simple text format (input filter) that handles <?php ?> and <code></code> tags so that users can post code without having to worry …
Free Radical's user avatar
  • 15.1k

15 30 50 per page