-
Notifications
You must be signed in to change notification settings - Fork 369
Unable to set custom-template-url for week view (only works from config) #422
Comments
Are you on the latest version? A plunker which reproduces your issue would be really helpful! |
Looks like I'm using version v0.22.0 |
You can use this as a starter template: http://plnkr.co/edit/LE4F4U7AnnD3tjM9ZH4G?p=preview |
Oh! you rock, haha, will use, thank you. |
Also for it to work you need to make sure the template is already in the template cache e.g.
or just
|
Yeah, it's something going with the loading order of my template cache.. I got it to work in a mock project I have - gulp wasn't injecting the templates.js file, adding it manually fixed my issue. However, it i'm still having issues in my actual project, but, that's on me I guess. Thank you for your help. |
You could always inline the template into the same template that uses the |
I am unable to get the calendar attribute 'custom-template-urls' to work for a week view. It does, however, work using the config setting. I'll likely need to use different customized templates for the week view to meeting some client needs. Is there something I'm missing to get this to work per-calendar instance?
Current markup - does not work
Current config setting, which does work
In case it matters, I am referencing this file for integration:
"angular-bootstrap-calendar/dist/js/angular-bootstrap-calendar-tpls.js"
The text was updated successfully, but these errors were encountered: