Sørensen
Sent: Sunday, June 2, 2019 3:44 AM
To: Mezzanine Users
Subject: Re: [mezzanine-users] Re: Multiple Blogs
Hey Eduardo, and thanks for your inputs on multiple blogs. I am currently
creating a multiple blog for a primary schcool with a blog for each grade. I am
following your suggestions
Hey Eduardo, and thanks for your inputs on multiple blogs. I am currently
creating a multiple blog for a primary schcool with a blog for each grade.
I am following your suggestions on the steps to follow in mezzanine.
However the first point about copying all the the contents from
Sorry, don’t have enough time to write a code sample right now, but here is a
more detailed description of the steps:
- Create a new application with all the contents copied from mezzanine.blog.
Let’s call it multiblog. Add it to installed apps.
- In models.py add a new Blog model inheriting
actually in some cases category.title worked and category.slug did not...
do you guys know if is possible to filter blog_recent_posts with the
category? for example to display only the recent posts of that particular
category..
On Wednesday, January 4, 2017 at 10:16:50 PM UTC+1, Eduardo Rivas
It looks like Mezzanine will derive a template name from the category slug,
allowing you to create one template per category. Just an alternative to
the in-template conditional.
https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/blog/views.py#L46-L47
On Wednesday, January 4, 2017 at
category.slug might be better for you!
On Wed, Jan 4, 2017 at 4:00 PM, userblaz wrote:
> thanks I managed with {% if category.title == 'blog' %}..
>
> On Tuesday, January 3, 2017 at 9:47:41 PM UTC+1, Kenneth Bolton wrote:
>>
>>
>> On Tue, Jan 3, 2017 at 2:30 PM, userblaz
On Tue, Jan 3, 2017 at 2:30 PM, userblaz wrote:
>
> I went through Josh's blog and it was very helpful with the restyle of my
site but i didn't see
> any section explaining how to have different stylings for 2 or more
different blogs. the base
> template is the same, I want to
I went through Josh's blog and it was very helpful with the restyle of my
site but i didn't see any section explaining how to have different stylings
for 2 or more different blogs. the base template is the same, I want to
have a different base.html template on
What have you tried so far? Josh's blog on styling mezzanine is where I
would start.
-ken
On Tue, Jan 3, 2017 at 9:54 AM, userblaz wrote:
> Hi Kenneth,
>
> can you suggest how can I style differently the 2 blogs if I want to use
> Josh's approach?
>
>
Hi Kenneth,
can you suggest how can I style differently the 2 blogs if I want to use
Josh's approach?
http://example.com/posts/category/blog/
and your news at:
http://example.com/posts/category/news/
On Friday, October 7, 2016 at 4:16:33 PM UTC+2, Kenneth Bolton wrote:
>
> Hi,
>
> Both ways
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 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
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
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
14 matches
Mail list logo