Tutorials

The Question describes a deliverable (or challenge), and the Answer(s) to it contain the various steps to be completed (how to do things, or how to make something).

Variation of this are Recipes (eg to prepare something to eat or drink).

How to make in-place editing as in Drupal 8 available in a Drupal 7 site already?

Drupal 8 (core) comes with the new In-place editing facility, as shown also in the video tutorial Inline Editing in Drupal 8.

Is there a way to somehow make (part of) this new facility available already in a Drupal 7 site also?

How to login to a Drupal site with user/1 if the password got lost?

Assume a Drupal site for which the password for user/1 (= the super user) got lost or is unknown (e.g. because you're the new admin, and the previous one has moved on)?

How to notify friends about new content?

When a user publishes some new content, every user marked as a 'friend' should receive some kind of notification about it.

How can this be implemented in Drupal 7?

What's the purpose of the Group module and how to get started with it?

The Group module seems to be a pretty new module, available as of D7 and with a D8 version also.

It appears to be some sort of alternative to either of these modules:

So what is this module all about, and how to get started with it?

How to use Rules to replace eMails by iOS-like notifications?

Consider some custom rule, created with the Rules module, which performs some Rules Action to send eMails to multiple eMail Ids (i.e. 1 eMail to each individual user).

As an example, consider this rule (in Rules export format), included in an answer to the question about "How to notify friends about new content?":

How to retrieve data directly from a Drupal database

Assume you have some table in your Drupal database, and you want to fetch some rows from it (directly from the database) to show them on a page.

How can this be done?

What's the purpose of "Replacement tokens" of a Message type?

To use the Message module (part of the Message Stack), you need to create 1 or more "Message types". But, when using the page to do so (or edit an existing type), near the bottom of it there is a field labeled "Replacement tokens", empty by default, and with some explanation below it like so:

How to use Rules to notify users about new or updated posts on a Drupal site?

If you want users to be able to "subscribe" to new or updated content that is posted on a Drupal 7 site, then usually these contributed modules get involved:

But these modules are either huge, or have some maintenance/support challenges.

What is Drupal's Message Stack and how do its modules work together?

The Message Stack appears to be a set of 3 Drupal contributed modules, that can be used in a Drupal 7 site to implement messaging in a Drupal site.

Here are some details about it (from that same link):

The modules have been written with a pluggable architecture that supports customization and extensibility. Each module includes implementation examples that give a hint of the potential use cases and integration with other popular Drupal modules.

How to process the results of a VBO enabled view via Rules?

How can a Drupal site builder use the power of a Views Bulk Operations (VBO) enabled view to process its views results via custom logic included in some custom Rules Actions and/or Rules Conditions? Whereas these Rules Actions and/or Rules Conditions are to be performed after some Rules Event occurred, and possible some (other) Rules Conditions must be met also?

Pages

Subscribe to RSS - Tutorials