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
load templates by looking inside folders that match the blog slug,
>like “templates/blog//blog_post_detail.html” and
>“templates/blog//blog_post_list.html”.
>
>
>
> Hope that helps!
>
>
>
> *From: *Amir
> *Sent: *Thursday, August 9, 2018 7:48 A
-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
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,
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
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.
16 matches
Mail list logo