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

Custom Link templates are selectable but do not get applied #73

Closed masaruduy closed 5 years ago

masaruduy commented 5 years ago

I created a template for links: DJANGOCMS_LINK_TEMPLATES = [ ('videolink', ('video_link')), ]

And although the option shows up in the plugin config, it doesn't get taken into consideration when selected.

screen shot 2018-12-15 at 1 49 09 pm

Ballpin commented 5 years ago

Hello, They do get applied. I just tried it out. Your template needs to be in.... my_cms/templates/djangocms_bootstrap4/link/default/link.html

EDIT: Seems to work for default only

FinalAngel commented 5 years ago

@Ballpin the template path for that configuration would be:

my_project/templates/djangocms_bootstrap4/link/video_link/link.html

This should work in the latest version of this addon.

masaruduy commented 5 years ago

Works thanks!!