List of nodes created from the template

Created on 3 May 2024, 8 months ago
Updated 5 June 2024, 7 months ago

Problem/Motivation

It would be nice to have a list of nodes that were created using the template.

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany a.dmitriiev

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @a.dmitriiev
  • Open on Drupal.org →
    Core: 10.2.1 + Environment: PHP 7.4 & MySQL 5.7
    last update 8 months ago
    Waiting for branch to pass
  • Status changed to Needs review 8 months ago
  • 🇩🇪Germany a.dmitriiev

    I have removed all link templates for content_template entity type, so that it is not possible to view, edit, delete it directly. Everything is done only through node/<nid>/template and node/templates pages.

    I have added new route node/<nid>/overview (and tab "Created from this template") that has the list of content that was created from this template:

    Also now the template node from which content was created is stored in the field 'template' that is part of node entity storage now, no key_value storage is used anymore, as it is not possible to create overview page from it. The update is provided to copy the data from key_value collection content_templates to newly created field template

  • Open on Drupal.org →
    Core: 10.2.1 + Environment: PHP 7.4 & MySQL 5.7
    last update 8 months ago
    Waiting for branch to pass
  • Open on Drupal.org →
    Core: 10.2.1 + Environment: PHP 7.4 & MySQL 5.7
    last update 8 months ago
    Waiting for branch to pass
  • Open on Drupal.org →
    Core: 10.2.1 + Environment: PHP 7.4 & MySQL 5.7
    last update 8 months ago
    Waiting for branch to pass
  • Status changed to Needs work 8 months ago
  • 🇩🇪Germany breidert

    The functionality works, but I think there could be some improvements:

    On the path /admin/content/template there should be a column, indicating if a template is active or not. I only have one template in my local installation, but I see two. The latter was used in the past, but was deactivated.

    On the path /node/766/overview the title should be linked, so it is consistent

    I would also change the text in the tab and the actions to "Descendants". If possible this tab should come aver "Templates". They could be positioned in the back.

  • Open on Drupal.org →
    Core: 10.2.1 + Environment: PHP 7.4 & MySQL 5.7
    last update 7 months ago
    Waiting for branch to pass
  • Status changed to Needs review 7 months ago
  • 🇩🇪Germany a.dmitriiev

    I have added new column to templates list and adjusted display of existing columns, please check again.

  • Open on Drupal.org →
    Core: 10.2.1 + Environment: PHP 7.4 & MySQL 5.7
    last update 7 months ago
    Waiting for branch to pass
  • Status changed to Needs work 7 months ago
  • 🇩🇪Germany breidert

    It works nicely. However, I think for consistency we should name the link "Descendants" on the template overview page:

    Then I noticed, that there is no linke from /admin/content to /admin/content/templates. Maybe it would be a good idea to add the link here:

  • Open on Drupal.org →
    Core: 10.2.1 + Environment: PHP 7.4 & MySQL 5.7
    last update 7 months ago
    Waiting for branch to pass
  • Status changed to Fixed 7 months ago
  • 🇩🇪Germany a.dmitriiev

    The operation label was changed and the tab "Templates" was added to /admin/content page. MR is merged.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024