Hello,
How do you call the function in a block? Because for my index I have:
{% block main %}
{% blocktrans %}
<h1>my text</h1>
{% where I want the function %}
{{ where I want the variable }}
{% endblocktrans %}
{% endblock %}

Thanks,

Brandon Keith Biggs <http://www.brandonkeithbiggs.com/>
On 7/16/2015 12:23 AM, Eduardo Rivas wrote:
As an alternative, you can also use SingletonAdmin and a template tag to make model data available anywhere in the site. Josh wrote about it and I follow this pattern all the time: http://bitofpixels.com/blog/on-singletonadmins-and-sitewidecontent-editing-sitewide-content-in-mezzanines-admin/.


--
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 mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to