Hi, Both ways mentioned in this thread are pretty standard Mezzanine Way approaches to multiple blogs with separate styles. Josh's suggestion is a good place to start and could be refactored to become Eduardo's suggestion.
On Fri, Oct 7, 2016 at 2:36 AM, userblaz <[email protected]> wrote: > Hi Dennis, > > wandering how it is working out with the categories as different blogs.. > is it working fine? are you able to style differently the posts from > separate categories? Cheers > > > On Monday, March 9, 2015 at 3:32:54 PM UTC+1, Dennis Kioko wrote: >> >> I decided to go with Josh's suggestion as it is easier when it comes to >> maintenance (and of course now that the client wanted it yesterday :-) ). >> Also found the "Category_Link" extensions that makes it easy to maintain >> different blog categories resulting in "news" and "blog" pages. >> >> On Wednesday, 4 March 2015 18:50:03 UTC+3, Josh Cartmell wrote: >>> >>> Dennis, another option would be to just use Blog Categories for your >>> different "blogs" >>> >>> You could also change the Blog slug to something more generic like >>> "posts". Then you could have your blog at: >>> http://example.com/posts/category/blog/ >>> >>> and your news at: >>> http://example.com/posts/category/news/ >>> >>> On Mon, Mar 2, 2015 at 10:03 PM, Eduardo Rivas <[email protected]> >>> 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 [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. > -- 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.
