I’m trying to apply some additional customisation to the preferences page, but I’m having some difficultly. I’ve created this in the ‘’ template section:
<script type='text/x-handlebars' data-template-name='user/preferences'>
contents of 'app/assets/javascripts/discourse/templates/user/preferences.hbs'
</script>
But this doesn’t work 100%. There’s a couple of elements of the preferences page that don’t work properly… I’ve highlighted them below.
Oh yes, of course! I took the preferences.hbs off of github. It was late and it didn’t occur my addled brain that it might not be the same as in my installation.
Thanks the reply. I’m just starting to explore ways to make discourse seem better integrated with our main site. There are a few areas if overlap, such as dual preferences/profile pages, two notification systems etc.
I’m doing this in quite a hacky way at the moment, as you can see However, once I have a clearer idea of what we want to achieve then I’ll attempt a cleaner set of changes.