2014-08-31 15:39 GMT+02:00 John <[email protected]>:
> Hi All,
>
> I'm building an Intranet for our company using Mezzanine and I'm loving it!
> Thanks for this great CMS.
>
> My boss wants me to replace the title Mezzanine (in the top left hand corner
> of the Admin section) with our company title. But I can't find the place in
> the templates where this is set. One of the group posts suggested using the
> following variable in the Settings file: "GRAPPELLI_ADMIN_TITLE = "custom
> title". This didn't work.
>
> Can anyone please point me in the right direction to changing this title?
>
> Thanks,
> John

Hi,
you must override base_site.html, I have done this with a little of javascript:

templates/admin/base_site.html

{% overextends "admin/base_site.html" %}
{% load mezzanine_tags i18n %}

{% block extrahead %}
{{ block.super }}
<script>
        jQuery(function ($) {
            var adminTitleIcon = 'MyNewTitle';
            $('div#header div.admin-title').html(adminTitleIcon);
        });
{% endblock %}

Cheers,
Simone


-- 
Simo

- Registered Linux User #395060

- Software is like sex, it is better when it is free  --> Linus B. Torvalds

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to