Re: [mezzanine-users] Are fabric deployments popular?

2020-02-21 Thread Roger van Schie
Hi Ed

I believe the included fab files decreases the learning curve for new users
dramatically, and it would be great to keep it in, not only to make it
easier for new users to get going, but to avoid unnecessary traffic on the
forums. I would suggest having multiple fab files though, for different
types of  infrastructure. For example, one for normal rsync, one for git,
one for Amazon web services etc.

Thanks for all your hard work and help on the forums Ed!

Regards
Roger

On Wed, 19 Feb 2020 at 01:16, Eduardo Rivas  wrote:

> Hello everyone,
>
> I'm Ed, one of the collaborators helping maintain Mezzanine. As we prepare
> to release the next version of Mezzanine (supporting Python 3 and Django
> 2.2 only) an issue was recently filed
>  wondering about the
> future of mezzanine's built-in fabfile (which only works with Python 2).
>
> This made me wonder: Are Fabric deployments widely used by the community?
> What are your thoughts on the following options:
>
>
>- Stop maintaining a fabfile of our own and just point people to
>general Django deployment docs
>- Extract the fabfile as a separate package/project
>- Keep the fabfile as part of Mezzanine
>
> Looking forward to hearing from the community.
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mezzanine-users/02b090b5-2d83-485d-aee3-f5997da14844%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mezzanine-users/CAFny93BODzdekVAZ26ibsXXqFHrRH_G2M9o-b6Hs9kZ008acCw%40mail.gmail.com.


[mezzanine-users] Users deleted a page, any quick way to "undelete" the page

2019-07-26 Thread Roger van Schie
The users were making changes to a page, and accidentally deleted it. Is 
there a quick way to just restore the page?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mezzanine-users/d12fad0b-68f3-4303-bf50-01fd5672d080%40googlegroups.com.


Re: [mezzanine-users] Need to have the same page in multiple locations in the page tree, how link them?

2018-02-14 Thread Roger van Schie
Hi Ken

I might be missing your point, or misunderstanding something completely,
but templating is not a problem for me, I've written the models/templates
in such a way, that depending on what information they put into the page,
various parts of the page template get displayed or not, and hence I'm able
to reuse the same template for all levels (which is actually infinite, as
far as mezzanine / django will allow).

All I'm really doing is creating a fancy menu (besides the basic intro's
etc ), displaying the children pages as graphical images, which I propagate
into the template using template tags to pull the hero image's location
instead of just their name. All this works perfectly fine.

I think I will just extend the Page model to include a foreign key, and
then add another check into the template tag to see whether the child page
currently being "inspected" has a foreign key or not, and if it does, just
to go one level deeper to get the info it needs.

Still open to suggestions or corrections.

Thanks
Roger


On 14 February 2018 at 15:25, Ken Bolton <kenbol...@gmail.com> wrote:

> Hi Roger,
>
> It is possible to do some terrifying things with the page templates. Read
> http://mezzanine.jupo.org/docs/content-architecture.html#page-templates.
> (Tortured language in that section is largely my fault, and improvements
> are welcome.) I have managed to create "content inheritance trees" across
> `Displayable`s by (ab)using the Mezzanine page templates.
>
> A note of caution: a lot of folks think their content and architecture is
> unique, a special butterfly that doesn't fit long-established information
> architecture patterns. I have yet to find a case where that is true, though
> I acknowledge your client may have found it. Often, it only takes careful
> management by engineering to help the customer past this.
>
> hth,
> ken
>
> On Wed, Feb 14, 2018 at 3:47 AM, Roger van Schie <roger.vansc...@gmail.com
> > wrote:
>
>> Hi Everyone
>>
>> As far as I can tell, the "Link" page won't work for me because I pull
>> information from the child page to display in the parent page. Basically,
>> my client has different categories, and within those categories they have
>> sub-categories, and so on, all built using the page tree structure. The
>> sub-categories are displayed on the category page on a "card", with an
>> image that is pulled from the sub-category page. I've basically created a
>> custom menu, where the child pages' display more than just the title.
>>
>> Would an appropriate approach be to extend the link model to include a
>> foreign key linking to the actual page? Or should I just extend the Page
>> model with a foreign key to point to the other page? Anyone got a better
>> suggestion / solution?
>>
>> Regards
>> Roger
>>
>> On 8 February 2018 at 22:34, Danny <molo...@gmail.com> wrote:
>>
>>> On 8/02/2018 9:18 PM, Roger van Schie wrote:
>>>
>>>> Hi Everyone
>>>>
>>>> I have a use case where the client basically wants a rich text field
>>>> page to write about a certain product, but this product falls under
>>>> different categories. Each category is higher up in the branch hierarchy,
>>>> and they want that same page(the rich text field page) to be displayed in
>>>> multiple categories.
>>>>
>>>> My current thinking is to just create a custom page model that has a
>>>> foreign key to the other page and put that in the page tree. Would this be
>>>> the best approach?
>>>>
>>>
>>> An easier way to do it is to have the actual page at one place in the
>>> hierarchy, and then use a 'Link' page elsewhere to automatically go to this
>>> page. I've done this before, no troubles.
>>>
>>> It will mean that when viewing the page it will always just have the one
>>> breadcrumb trail, but it will still be available from two places within the
>>> navigation menus.
>>>
>>> Seeya. Dnany.
>>>
>>>
>>> --
>>> 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.
>>>
>>
>> --
>> 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
>>

Re: [mezzanine-users] Need to have the same page in multiple locations in the page tree, how link them?

2018-02-14 Thread Roger van Schie
Hi Everyone

As far as I can tell, the "Link" page won't work for me because I pull
information from the child page to display in the parent page. Basically,
my client has different categories, and within those categories they have
sub-categories, and so on, all built using the page tree structure. The
sub-categories are displayed on the category page on a "card", with an
image that is pulled from the sub-category page. I've basically created a
custom menu, where the child pages' display more than just the title.

Would an appropriate approach be to extend the link model to include a
foreign key linking to the actual page? Or should I just extend the Page
model with a foreign key to point to the other page? Anyone got a better
suggestion / solution?

Regards
Roger

On 8 February 2018 at 22:34, Danny <molo...@gmail.com> wrote:

> On 8/02/2018 9:18 PM, Roger van Schie wrote:
>
>> Hi Everyone
>>
>> I have a use case where the client basically wants a rich text field page
>> to write about a certain product, but this product falls under different
>> categories. Each category is higher up in the branch hierarchy, and they
>> want that same page(the rich text field page) to be displayed in multiple
>> categories.
>>
>> My current thinking is to just create a custom page model that has a
>> foreign key to the other page and put that in the page tree. Would this be
>> the best approach?
>>
>
> An easier way to do it is to have the actual page at one place in the
> hierarchy, and then use a 'Link' page elsewhere to automatically go to this
> page. I've done this before, no troubles.
>
> It will mean that when viewing the page it will always just have the one
> breadcrumb trail, but it will still be available from two places within the
> navigation menus.
>
> Seeya. Dnany.
>
>
> --
> 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.
>

-- 
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] Need to have the same page in multiple locations in the page tree, how link them?

2018-02-08 Thread Roger van Schie
Hi Everyone

I have a use case where the client basically wants a rich text field page 
to write about a certain product, but this product falls under different 
categories. Each category is higher up in the branch hierarchy, and they 
want that same page(the rich text field page) to be displayed in multiple 
categories. 

My current thinking is to just create a custom page model that has a 
foreign key to the other page and put that in the page tree. Would this be 
the best approach?

Regards
Roger

-- 
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: Some examples, please

2017-09-26 Thread Roger van Schie
I've added a readme with instructions to get it running 
at https://github.com/rogervs/mezzanine-linking to make it a bit easier for 
beginners.

If anyone finds this helpful or would like more info/guidance on a 
particular point, just let me know. 


On Saturday, 23 September 2017 10:26:59 UTC+2, Rainell Dilou Gómez wrote:
>
> Some examples have been mentioned here 
> and 
> here 
> , 
> have been very useful for me.
>
> Il giorno domenica 27 agosto 2017 21:52:58 UTC+2, Fernando La Chica ha 
> scritto:
>>
>> I am a newcomer to this project. I came from Wordpress but when I 
>> discovered Mezzanine I was very surprised. I certainly think that mezzanine 
>> is much better than Wordpress. But it lacks a small detail. For novices 
>> like me it would be great to have a series of examples that can be 
>> installed. For example free templates do not have custom content and I 
>> think this type of tool gives a very large power to the cms. 
>>
>>
>> I think the documentation that has this project is quite extensive. But 
>> I'm having problems when implementing custom content. For example I do not 
>> know how to do to display personalized content in a blog. To create custom 
>> content inherited from the page class. But I do not know how to filter only 
>> the pages of custom content. I always see them all 
>>
>> Could someone show me some example of personalized content and all its 
>> possibilities in some practical example?
>
>

-- 
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.


Re: [mezzanine-users] css or html question re image width

2017-09-19 Thread Roger van Schie
For those images, I would remove any css classes or styles that you've
added, and just add the ".image-responsive" class from bootstrap to them.

On 19 September 2017 at 06:09, Mike Dewhirst  wrote:

> Sorry for being off-topic.
>
> When the browser window size is adjusted the website images stretch and
> shrink but even maximised, never stretch to full width of the image. Height
> and width dimensions are set correctly.
>
> They are screen shots of a Django Admin site and are therefore necessarily
> wider than the column width available in vanilla Mezzanine. See
> https://www.sharedsds.com/user-docs/quick-start/
>
> I'm not a css/html (nor any other type of) guru so any advice will be
> reverentially followed.
>
> Thanks
>
> Mike
>
> --
> 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.
>

-- 
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.


Re: [mezzanine-users] Re: How can I do to create/edit as when using PageAdmin and list as when not using PageAdmin?

2017-09-18 Thread Roger van Schie
Hi Rainell

I've done the following in the past, which allows me to dictate the order
they appear in.

form_fieldsets = deepcopy(PageAdmin.fieldsets)
form_fieldsets[0][1]["fields"][12:0] = ["hero_image", "hero_heading",
"hero_text", "content_heading", "content", "button_text",
"contact_email_sa", "contact_tel_sa", "contact_email_kenya",
"contact_tel_kenya", "response" ]
form_fieldsets = list(form_fieldsets)

Regards
Roger

On 18 September 2017 at 13:39, Rainell Dilou Gómez 
wrote:

> Hello everyone,
> I have done some tests and, in the end, I have obtained the best result by
> replicating the code of BlogPostAdmin, adapting it to my Ingredient model
>
> ingredient_fieldsets = deepcopy(DisplayableAdmin.fieldsets)
>
> ingredient_fieldsets[0][1]["fields"].insert(1, "name")
> ingredient_fieldsets[0][1]["fields"].insert(1, "other_names")
> ingredient_fieldsets[0][1]["fields"].insert(1, "information")
> ingredient_fieldsets[0][1]["fields"].insert(1, "how_to_choose")
> ingredient_fieldsets[0][1]["fields"].insert(1, "nutrients")
> ingredient_fieldsets[0][1]["fields"].insert(1, "benefits")
>
> ingredient_list_display = ["title", "status", "admin_link"]
>
> ingredient_fieldsets = list(ingredient_fieldsets)
> ingredient_list_filter = deepcopy(DisplayableAdmin.list_filter) + ("name",
> "other_names", "information", "how_to_choose", "nutrients", "benefits")
>
> class IngredientAdmin(DisplayableAdmin, OwnableAdmin):
> """
> Admin class for ingredients.
> """
>
> fieldsets = ingredient_fieldsets
> list_display = ingredient_list_display
> list_filter = ingredient_list_filter
> filter_horizontal = ("nutrients",)
>
> def save_form(self, request, form, change):
> """
> Super class ordering is important here - user must get saved first.
> """
> OwnableAdmin.save_form(self, request, form, change)
> return DisplayableAdmin.save_form(self, request, form, change)
>
> admin.site.register(Ingredient, IngredientAdmin)
>
> I have a single problem, if you can define problem, and is the order of
> the fields in the create/edit page, those aren't rendered in the order I
> have written in the code.
>
>
> Il giorno giovedì 14 settembre 2017 13:12:56 UTC+2, Rainell Dilou Gómez ha
> scritto:
>
>> Hello,
>> I have created a custom content type and I have a problem with the
>> listing in the admin panel. If I extends PageAdmin
>>
>>
>> admin.site.register(Ingredient, PageAdmin)
>>
>> the create/edit page is rendered as in the image
>>
>>
>> 
>>
>> and this is great for creating and editing, but the listing in the page
>> section, as show in the following image, is a problem because the
>> Ingredients (my custom content type) will be many, will be hundreds.
>>
>>
>> 
>>
>> If instead I don't extend PageAdmin
>>
>> admin.site.register(Ingredient)
>>
>> my custom content type list is rendered as in the following image, in a
>> more convenient way, considering that there will be hundreds of Ingredients
>>
>>
>> 
>> but the create/edit page will be rendered as in the next image, and it
>> isn't convenient, considering that the fields are twice as many as are
>> shown in this image.
>>
>>
>> 
>>
>> So how can I do to create/edit as when using PageAdmin and list as when
>> not using PageAdmin?
>>
> --
> 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.
>

-- 
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.


Re: [mezzanine-users] Re: Lost in javascript

2017-08-21 Thread Roger van Schie
Hi Malik

I've gotten colour to come through (by setting a style tag in the TinyMCE
source editor (one day I would like to look at activating the colour
button)) before by doing the following:

   - Set the RICHTEXT_FILTER_LEVEL to low in Admin - Settings
   - In the html: {{ page.mypage.richtextfield | safe }}

Possibly not the "safest" way of doing it, but it is safe enough for my
purposes at the moment.

Regards
Roger

On 20 August 2017 at 23:03, Ken Bolton  wrote:

> Hi Malik,
>
> I'm sorry to read that you are having trouble with this. I believe this is
> not a problem with Mezzanine or the documentation, but rather with your
> understanding. I hope I can help clear this up. Please let us know if you
> continue to spin your wheels. A brief criticism before getting started
> trying to help you: from what you have written, I am not at all clear about
> your goals. Changing the font colors in your email and adding underline
> only make your messages harder to read. Forgive me, please, if I have
> totally misunderstood your question. (There is only one question, right?)
>
> I believe your question is, "How do I get the TinyMCE editor to work in
> Mezzanine?" If I got this part wrong, well, see above and ignore below.
>
> In my experience, the TinyMCE integration with Mezzanine just works. I've
> done a dozen deployments for happy customers and have received no
> complaints about the rich-text editor's integration into the administration
> interface. We use it to add color (yuck) to text, modify backgrounds, add
> images, and embed video. Are you sure you are modifying
> `RICHTEXT_FILTER_LEVEL` in the proper place, http://localhost:8000/admin/
> conf/setting/?
>
> -ken
>
> --
> 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.
>

-- 
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.


Re: [mezzanine-users] Models aren't loaded yet

2017-08-16 Thread Roger van Schie
My bad, I got confused with the Displayable model.

On 16 August 2017 at 16:15, 'Alex' via Mezzanine Users <
mezzanine-users@googlegroups.com> wrote:

> Zu Deutsch wechseln
> 1. ok i try the same way with Django's user model everything works!
> 2. Mezzanine Page model is not abstract!
> 3. The same way with Django 1.6 and an old release of mezzanine works fine
> I don' think it's me mistake !
>  I do not want to change the source code of Mezzanine, because for future
> updates.
> Ok, there are other ways to achieve the goal, but I dan't want this,
> because my real funktien is more complex with filter funktion etc.
>
> Von meinem iPhone gesendet
>
> Am 16.08.2017 um 15:39 schrieb Roger van Schie <roger.vansc...@gmail.com>:
>
> Also, I think Page is an abstract model, so there aren't any "Page" models
> defined that you can choose from, there are only models of page type, and I
> don't know if you can list all models derived from Page in that manner. But
> once again, just shooting from the hip here. I would suggest eliminating
> your unknowns, in this case, your "choices" seems like a good place to
> start, see if your error disappears, and then you can focus on that
> specific part to try and narrow down where your error is coming from. If
> your error doesn't disappear, try and simplify it further until it does.
>
> On 16 August 2017 at 15:30, Roger van Schie <roger.vansc...@gmail.com>
> wrote:
>
>> Have you tried it without "choices"? As far as I know (which is not
>> much), choices needs to be a list from a variable.
>>
>> On 16 August 2017 at 15:18, 'Alex' via Mezzanine Users <
>> mezzanine-users@googlegroups.com> wrote:
>>
>>> Excuse me it was the cell Phone autocompleat ! but as I said !
>>>
>>> Can someone try it out!
>>>
>>> I think it's a bug in mezzanine
>>>
>>> Von meinem iPhone gesendet
>>>
>>> Am 16.08.2017 um 14:11 schrieb Roger van Schie <roger.vansc...@gmail.com
>>> >:
>>>
>>> Don't know if it's a typo, but the file should be models.py not model.py
>>> .
>>>
>>> On 16 August 2017 at 13:41, 'Alex Feier' via Mezzanine Users <
>>> mezzanine-users@googlegroups.com> wrote:
>>>
>>>> Nobody can Help?
>>>>
>>>> --
>>>> 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.
>>>>
>>>
>>> --
>>> 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.
>>>
>>> --
>>> 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.
>>>
>>
>>
> --
> 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.
>
> --
> 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.
>

-- 
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.


Re: [mezzanine-users] Models aren't loaded yet

2017-08-16 Thread Roger van Schie
Also, I think Page is an abstract model, so there aren't any "Page" models
defined that you can choose from, there are only models of page type, and I
don't know if you can list all models derived from Page in that manner. But
once again, just shooting from the hip here. I would suggest eliminating
your unknowns, in this case, your "choices" seems like a good place to
start, see if your error disappears, and then you can focus on that
specific part to try and narrow down where your error is coming from. If
your error doesn't disappear, try and simplify it further until it does.

On 16 August 2017 at 15:30, Roger van Schie <roger.vansc...@gmail.com>
wrote:

> Have you tried it without "choices"? As far as I know (which is not much),
> choices needs to be a list from a variable.
>
> On 16 August 2017 at 15:18, 'Alex' via Mezzanine Users <
> mezzanine-users@googlegroups.com> wrote:
>
>> Excuse me it was the cell Phone autocompleat ! but as I said !
>>
>> Can someone try it out!
>>
>> I think it's a bug in mezzanine
>>
>> Von meinem iPhone gesendet
>>
>> Am 16.08.2017 um 14:11 schrieb Roger van Schie <roger.vansc...@gmail.com
>> >:
>>
>> Don't know if it's a typo, but the file should be models.py not model.py .
>>
>> On 16 August 2017 at 13:41, 'Alex Feier' via Mezzanine Users <
>> mezzanine-users@googlegroups.com> wrote:
>>
>>> Nobody can Help?
>>>
>>> --
>>> 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.
>>>
>>
>> --
>> 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.
>>
>> --
>> 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.
>>
>
>

-- 
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.


Re: [mezzanine-users] Models aren't loaded yet

2017-08-16 Thread Roger van Schie
Don't know if it's a typo, but the file should be models.py not model.py .

On 16 August 2017 at 13:41, 'Alex Feier' via Mezzanine Users <
mezzanine-users@googlegroups.com> wrote:

> Nobody can Help?
>
> --
> 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.
>

-- 
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.


Re: [mezzanine-users] Thumbnail creation

2017-08-03 Thread Roger van Schie
I can confirm that Simon's fix works to get the jpg images to a reasonable
size in the admin.

I've also been having a problem with SVG's not loading, and I was hoping
this would fix that too, but it didn't. Is anyone else having issues with
SVG's, anyone got a solution?

Regards
Roger

On 2 August 2017 at 15:22, Simon Bradley <captain.bal...@gmail.com> wrote:

> No probs mate.
>
> Glad it helped.
>
> On Wednesday, August 2, 2017 at 12:35:24 PM UTC+1, Roger van Schie wrote:
>>
>> Hi Simon
>>
>> Thanks for this. I've noticed the same problem but haven't had time to
>> dig into it yet. You've just saved me a bunch of time!
>>
>> Cheers
>> Roger
>>
>> On 2 August 2017 at 09:37, Simon Bradley <captain...@gmail.com> wrote:
>>
>>> Hi
>>>
>>> This is sort of an answer rather than a question.
>>>
>>> I had an existing Mezzanine project and i added Cartridge to it. I
>>> installed Cartridge with 'pip install cartridge' so i assume it's the most
>>> recent version.
>>>
>>> I found that after the Cartridge install the Mezzanine admin wasn't
>>> generating thumbnails for images that i added to the media library. I
>>> noticed it right away because when i added an image to the media library it
>>> displayed as full size in the list of images after the upload.
>>>
>>> I noticed .png's were still working after some faffing about so it was
>>> just .jpeg's then.
>>>
>>> With that in mind i thought maybe Cartridge installed a newer version of
>>> Pillow that wasn't working correctly.
>>>
>>> I did 'pip uninstall pillow' followed by pip install 'pillow >= 2.0.0, <
>>> 4.0.0' and Mezzanine started generating the thumbnails correctly again.
>>>
>>> I've only just started using Mezzanine and i only installed cartridge a
>>> couple of days ago so i'm no expert, but i thought this info might be
>>> useful to someone else who has just started like me.
>>>
>>> Boom!
>>>
>>> --
>>> 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-use...@googlegroups.com.
>>> 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 mezzanine-users+unsubscr...@googlegroups.com.
> 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 mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] CSS Vendor Prefixes Strategy + SASS + LiveReload server

2017-06-30 Thread Roger van Schie
Thanks Eduardo, that sounds like a good approach.

On 30 June 2017 at 17:14, Eduardo Rivas <jerivasmel...@gmail.com> wrote:

> Hey Roger. Here's how I've done it in the past:
>
> - Create a Django app in your project to hold your static files and
> templates (I name it "theme" since it holds everything related to the
> visual styles of the site).
>
> - Inside theme/static/ setup your frontend tooling. I use Webpack to
> compile SASS, run Autoprefixer, and add ES6 transpilation to my JS. You can
> use whatever you like (grunt, gulp, bash scripts, etc). I configure it to
> output my JS and CSS to theme/static/build, creating main.css and main.js.
> I then point my templates to static/build/main.css and static/build/main.js.
>
> - Nearly all task runners support LiveReload via a plugin or something. I
> use the Webpack plugin and installed an extension in my browser. Works
> perfect.
>
> At this point the only thing pending is deployment. I choose to not track
> the build/ folder in git, so I have extended my Fabric setup to run Webpack
> locally in production mode on each deploy and copy the assets to the server
> (on the same location as the dev assets, so no changes in templates are
> required). This gives me minified and uglified production builds. Django
> Compressor handles cache invalidation.
>
> Hope that helps!
>
> On 2017-06-30 2:51 AM, Roger van Schie wrote:
>
> Any suggestions for an efficient methodology to deal with css vendor
> prefixes?
>
> As this will probably tie in, anyone got a nice strategy for using SASS? (
> I would really love to use Foundation6 with mezzanine, I find the code much
> more semantic than bootstrap and way quicker to code)( I know I can use
> Foundation6 with just css, but that defeats the purpose of saving time)
>
> As a bonus bonus, anyone running a livereload type of server with
> Mezzanine for development? (I hate having to push refresh all the time,
> really wastes time)
>
> Thanks
> Roger
>
> --
> 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.
>
>
> --
> 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.
>

-- 
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] CSS Vendor Prefixes Strategy + SASS + LiveReload server

2017-06-30 Thread Roger van Schie
Any suggestions for an efficient methodology to deal with css vendor 
prefixes?

As this will probably tie in, anyone got a nice strategy for using SASS? ( 
I would really love to use Foundation6 with mezzanine, I find the code much 
more semantic than bootstrap and way quicker to code)( I know I can use 
Foundation6 with just css, but that defeats the purpose of saving time)

As a bonus bonus, anyone running a livereload type of server with Mezzanine 
for development? (I hate having to push refresh all the time, really wastes 
time)

Thanks
Roger

-- 
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] Template tag issue on deployment, I think

2017-06-23 Thread Roger van Schie
On the local development server, my site works perfectly, but as soon as I
deploy it, i get this error:

 "InvalidTemplateLibrary: Invalid template library specified. ImportError
raised when trying to load 'checker.templatetags.team' : No module named
models"

Any ideas?

-- 
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.


Re: [mezzanine-users] How to adjust page width without Twitter feed

2017-06-23 Thread Roger van Schie
Hi Mike

If you want to use the full width of the screen, change:

to


Regards
Roger

On Tuesday, 20 June 2017 02:45:58 UTC+2, Mike Dewhirst wrote:
>
> :) :) :) 
>
> Thank you Ken 
>
> M 
>
> On 20/06/2017 1:01 AM, Ken Bolton wrote: 
> > 
> > On Mon, Jun 19, 2017 at 10:45 AM, Mike Dewhirst   
> > > wrote: 
> > 
> >  
> > 
> > 
> >  
> > 
> > -- 
> > 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-use...@googlegroups.com  
> > . 
> > 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 mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.