Skip to content

Drupal 10 - Create custom action links to easily add new nodes.

Notifications You must be signed in to change notification settings

royoluis/action_links_creator

Repository files navigation

Module description and functionality

This module allows you to add custom buttons to create new nodes near "+Add content" button in the Content Administration section.

image

Example

Imagine a group of post authors who create content every single day.

They primarily use two specific Content Types ("Event" and "Multimedia") and would like to have two buttons to add content in a faster way.

Let's get to work!

  1. Go to admin/config/development/action_list_creator and check "Event" and "Multimedia".
  2. image

  3. You can change the link titles. Let's set "Add Media" instead of "Add Multimedia" (default title).
  4. image

  5. Click on "Save configuration".

  6. Both buttons are ready near "+Add content".
  7. image

How to reorder our custom buttons

It's very easy. Just go to admin/config/development/action_list_creator and configure the weight values as needed.

image

Weight one will be the first, then the second, and so on.

How to delete the custom buttons we have created

It's also very easy. Just go to admin/config/development/action_list_creator, uncheck "Event" and "Multimedia" and save.

Installation

Install as you would normally install a contributed Drupal module.

See: https://www.drupal.org/node/895232 for further information.

Feel free to share and use this custom module.

About

Drupal 10 - Create custom action links to easily add new nodes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages