Step 0: Build development site first

Before making your website publicly available on the Internet, you probably will want to build and test it in an offline development environment. When it is working to your satisfaction in the development environment, you can then upload it to a Web host for serving online. To install Drupal on your own computer for a local development environment, see the article, Local server setup.

PATCH for updating content entities

User Entity Type

Updating the email and password

Here is an example using the hal_json format:

{
"_links":
{"type":{"href":"http://d8/rest/type/user/user"}},
"mail":[{"value":"marthinal@drupalisawesome.com"}],
"pass":[{"existing":"existingSecretPass", "value": "myNewSuperSecretPass"}]
}

A Strategy For Updating to Drupal 7.39 With Drush On Linux

Prerequisites:

- Backup your database: search internet for tips about backing up your database, probably, mysqldump is a good strategy.
- Backup you drupal files.

Actions:

Classes and Containers

Containers

A container is an instance of a service. It is a place to store files. Configuration is service-specific, e.g. a filesystem container needs to know the directory where the files should go; an S3 container needs account credentials along with the bucket name.

[1.x] Filter on term name

Problem:

You know the machine name of a term, but you do not know the term ID. Currently, you can only filter on term ID

Works
[site]/api/v1.0/[resource-name]?filter[issues]=[tid]
Does Not Work
[site]/api/v1.0/[resource-name]?filter[issues]=[term-name]

Background:

You have a publication website.
The publication website has issues, with a vocabulary name publication_issue
You have setup and endpoint @ [site]/api/v1.0/publication_issues

Creating Custom Styles Leaflet Icons With DivIcon and CSS

HOW-TO on using custom markers in Leaflet (thanks for assistance @rudetrue & @das-peter).

Default Setting

The default map icon is just the little blue bubble.

Pages

Subscribe with RSS Subscribe to RSS - Intermediate