Add node alias token

Created on 7 February 2023, over 1 year ago
Updated 3 August 2023, 11 months ago

Problem/Motivation

The submodule node_keep_token exposes some tokens. One of them is the url token. This was recently changed ( πŸ› Generate URL instead of just alias for :url token Fixed ) to return the canonical path instead of the node alias. The canonical path contains a language prefix (if present).

I used the url token in my path generation of other nodes. F.e. I created a news node and protected it with node_keep. Then I used this page's url in the alias generation of news nodes. Now with the language prefix present, the language prefix is added in the alias of the news nodes.

I understand the need of using the canonical path but can we add another token that returns the node alias? That way, people can use that token in alias generation of underlying nodes.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium Stefdewa

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

Comments & Activities

Production build 0.69.0 2024