- Issue created by @a.dmitriiev
- Merge request !3Issue #3445120: List of nodes created from the template → (Merged) created by a.dmitriiev
- Open on Drupal.org →Core: 10.2.1 + Environment: PHP 7.4 & MySQL 5.7last update
8 months ago Waiting for branch to pass - Status changed to Needs review
8 months ago 4:58pm 3 May 2024 - 🇩🇪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
andnode/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 fieldtemplate
- Open on Drupal.org →Core: 10.2.1 + Environment: PHP 7.4 & MySQL 5.7last update
8 months ago Waiting for branch to pass - Open on Drupal.org →Core: 10.2.1 + Environment: PHP 7.4 & MySQL 5.7last update
8 months ago Waiting for branch to pass - Open on Drupal.org →Core: 10.2.1 + Environment: PHP 7.4 & MySQL 5.7last update
8 months ago Waiting for branch to pass - Status changed to Needs work
8 months ago 3:18pm 10 May 2024 - 🇩🇪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.7last update
7 months ago Waiting for branch to pass - Status changed to Needs review
7 months ago 11:08am 16 May 2024 - 🇩🇪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.7last update
7 months ago Waiting for branch to pass - Status changed to Needs work
7 months ago 9:15am 22 May 2024 - 🇩🇪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.7last update
7 months ago Waiting for branch to pass -
a.dmitriiev →
committed 95731532 on 1.0.x
Issue #3445120: List of nodes created from the template
-
a.dmitriiev →
committed 95731532 on 1.0.x
- Status changed to Fixed
7 months ago 10:34am 22 May 2024 - 🇩🇪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.