Foxtrek_64
Active member
If I am setting up a navigation entry, I can set the link to
I would like to see similar behavior allowed in Link Forum nodes. Currently these must be hard-coded, which means that if a route filter is applied or the root domain changes (such as when cloning a prod instance to a dev instance), these Link Forums must be manually updated to point to the new address.
I'm not picky on the precise implementation on this - it could just be as simple as allowing bracketed template code in the field, just as the navigation entry url field allows. Alternatively, we could have it interpret relative links such as
{{ link('path/to/resource') }}
and the link will automatically update to match any root domain or route filter any time the page loads.I would like to see similar behavior allowed in Link Forum nodes. Currently these must be hard-coded, which means that if a route filter is applied or the root domain changes (such as when cloning a prod instance to a dev instance), these Link Forums must be manually updated to point to the new address.
I'm not picky on the precise implementation on this - it could just be as simple as allowing bracketed template code in the field, just as the navigation entry url field allows. Alternatively, we could have it interpret relative links such as
path/to/resource
as relative to the root directory, and have it automatically prepend https://www.example.com
(with an optional trailing forward slash).
Upvote
1