Allow Using Internal Link addresses in Link Forums

Foxtrek_64

Active member
If I am setting up a navigation entry, I can set the link to {{ 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
Honorable mention:

Woltlab, which I have used in the past, has a feature proposal from one of their developers for a new URI scheme for internal links. This may or may not be useful for us but I thought I'd link it anyways. It covers some additional use cases but it gets to the same problem.

 
Back
Top Bottom