Hi I'm having trouble showing up the settings for the social media here is 
the code, tried searching but no luck I read the comments below of the blog 
post but still don't work. Anyone want to help? thanks. 

from mezzanine.conf import register_setting
from django.utils.translation import ugettext_lazy as _

register_setting(
    name="TEMPLATE_ACCESSIBLE_SETTINGS",
    append=True,
    default=("SOCIAL_LINK_FACEBOOK",
             "SOCIAL_LINK_TWITTER",
             "SOCIAL_LINK_VIMEO"),
)

register_setting(
    name="SOCIAL_LINK_FACEBOOK",
    label=_("Facebook link"),
    description=_("If present a Facebook icon linking here will be in the "
                  "header."),
    editable=True,
    default="https://facebook.com/mezzatheme";,
)

register_setting(
    name="SOCIAL_LINK_TWITTER",
    label=_("Twitter link"),
    description=_("If present a Twitter icon linking here will be in the "
                  "header."),
    editable=True,
    default="https://twitter.com/mezzatheme";,
)

register_setting(
    name="SOCIAL_LINK_VIMEO",
    label=_("VIMEO link"),
    description=_("If present a VIMEO icon linking here will be in the "
                  "header."),
    editable=True,
    default="https://VIMEO.com/mezzatheme";,
)


-- 
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