List of nodes created from the template

Created on 3 May 2024, 15 days ago
Updated 16 May 2024, 2 days ago

Problem/Motivation

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

✨ Feature request
Status

Needs review

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 15 days ago
    Waiting for branch to pass
  • Status changed to Needs review 15 days 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 14 days ago
    Waiting for branch to pass
  • Open on Drupal.org β†’
    Core: 10.2.1 + Environment: PHP 7.4 & MySQL 5.7
    last update 14 days ago
    Waiting for branch to pass
  • Open on Drupal.org β†’
    Core: 10.2.1 + Environment: PHP 7.4 & MySQL 5.7
    last update 12 days ago
    Waiting for branch to pass
  • Status changed to Needs work 8 days 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 2 days ago
    Waiting for branch to pass
  • Status changed to Needs review 2 days 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 about 4 hours ago
    Waiting for branch to pass
Production build 0.67.2 2024