Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
masaruduy opened this issue Dec 15, 2018 · 3 comments
Closed

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

masaruduy opened this issue Dec 15, 2018 · 3 comments

Comments

@masaruduy
Copy link

I created a template for links:
DJANGOCMS_LINK_TEMPLATES = [
('video_link', _('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

@masaruduy masaruduy changed the title Link templates are selectable but do not apply to links Link templates are selectable but do not get applied Dec 15, 2018
@masaruduy masaruduy changed the title Link templates are selectable but do not get applied Custom Link templates are selectable but do not get applied Dec 15, 2018
@Ballpin
Copy link

Ballpin commented Dec 27, 2018

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
Copy link
Member

FinalAngel commented Jan 15, 2019

@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
Copy link
Author

Works thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants