This'll be the default in the next release, it's a great idea:

https://github.com/stephenmcd/mezzanine/commit/bb85d1beeabc336bae04a1311f7d6f01e2347783


On Sun, Jun 8, 2014 at 5:16 AM, Scott Diehl <[email protected]> wrote:

> Thank you! Adding mezzanine_tags did the trick.
>
>
> On Fri, Jun 6, 2014 at 10:59 PM, sohania <[email protected]> wrote:
>
>> Hi Scott
>>
>> You need to modify the blog/includes/filter_panel.html template. also
>> load mezzanine_tags on same template.
>>
>>
>>
>>
>>
>>
>> On Saturday, June 7, 2014 3:42:07 AM UTC+5:30, Scott Diehl wrote:
>>>
>>> Hello all,
>>>
>>> Has anyone tried including featured images with the default recent posts
>>> block? If so, I'd love to see how this is done.
>>>
>>> Something like this:
>>>
>>> {% block blog_recent_posts %}
>>> {% blog_recent_posts 5 as recent_posts %}
>>> {% if recent_posts %}
>>> <h3>{% trans "Recent Posts" %}</h3>
>>> <ul class="list-unstyled recent-posts">
>>> {% for recent_post in recent_posts %}
>>> <li><img src="{{ MEDIA_URL }}{% thumbnail recent_post.featured_image 10
>>> 10 %}"><a href="{{ recent_post.get_absolute_url }}"
>>>     >{{ recent_post.title }}</a></li>
>>> {% endfor %}
>>> </ul>
>>> {% endif %}
>>> {% endblock %}
>>>
>>  --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Mezzanine Users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/mezzanine-users/RZmyYzhGxkY/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> 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.
>



-- 
Stephen McDonald
http://jupo.org

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