[mezzanine-users] Re: Recommendations for Bootstrap WYSIWYG editor?
Have you seen https://github.com/renyi/mezzanine-blocks ? I use that together with custom templates for some pages to make certain parts customisable without the possibility of messing up too much. I haven't tried it but there's also https://github.com/mrmagooey/mezzanine-flexipage . Sometimes I dream of Wagtail's StreamField, though.. (https://wagtail.io/features/) Best, Tuk -- 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.
[mezzanine-users] Not possible to use extra_context in Page view?
Hi, I am using the 'HOMEPAGE AS AN EDITABLE PAGE IN THE PAGE TREE'-pattern in urls.py and it's working fine. Now I would like to add to the context but it's not working. This is what I have in urls.py: url('^$', mezzanine.pages.views.page, {'slug': '/', 'extra_context': {'my_var': 'Something extra'}}, name='home'), my_var is, however, not set on the index page and neither when expecting the request with the debug toolbar. Am I doing something wrong? Best, Tuk -- 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.
[mezzanine-users] Re: Multiple Blogs
This suggestion of yours is remarkable Eduardo and I am craving to have multiple and separated blogs. I am a bit new to Django though, Could you elaborate more on the details please? I could open a topic on StackOverflow if you would prefer. This would be a huge help bro. On Tuesday, March 3, 2015 at 6:33:33 AM UTC+3:30, Eduardo Rivas wrote: > > Hello Dennis. I actually needed to do this for a project a few years ago. > As far a I know, Mezzanine doesn't support multiple blogs out of the box. > What I did was create a "Blog" model, which simply had a slug and title, > and then add it as FK to the standard BlogPost and BlogCategory models. > After that, it's just a matter of updating urls and views to account for a > blog_slug parameter to get the correct Blog instance. If you want to get > fancy, you can create "base" templates for each blog. That way, you get > unique blog posts, categories and templates for each blog. You'll also need > to modify the queries made by the Admin to only return the subset of > BlogPost's that match a Blog instance in particular. > > Important note: this of course implies you're "forking" Mezzanine's blog > app, so you will have to maintain it by yourself and install it in place of > the default one. > -- 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.