django-cms / djangocms-bootstrap4

django CMS Bootstrap 4 is a plugin bundle for django CMS providing several components from the popular Bootstrap 4 framework.
https://www.django-cms.org/
Other
82 stars 58 forks source link

How do you create a relative link that isn't a CMS page? #51

Closed electroniceagle closed 5 years ago

electroniceagle commented 5 years ago

There are may cases where we'd like to make a link button to relative or absolute path on the same host (i.e. /accounts/signup/) that aren't CMS Pages. Not sure of the right way to do this.

EXTERNAL LINK fails with a url validation error and INTERNAL LINK only shows you CMS pages.

Is there a better way to accomplish this?

screen shot 2018-07-13 at 12 07 55 pm

filwaitman commented 5 years ago

Hi @electroniceagle !

This is a limitation from djangocms-link which is based upon a design decision taken by django itself.

Is it an option for you to simply add the domain part to the external link (so it is a complete URL instead of a path)?