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] 
> <javascript:>> 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] <javascript:>.
>> 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.

Reply via email to