Re: [mezzanine-users] Extra CSS for Pages

2015-10-13 Thread Stephen McDonald
I think the main point here is that while this would certainly be very useful for some, many others might make no use of it, at worst cluttering the UI for them - the criteria for adding it should be that it's broadly applicable to most users. That's somewhat of a subjective measurement, but hopef

Re: [mezzanine-users] Extra CSS for Pages

2015-10-13 Thread dmsanders221
Perhaps that's one difference in how we look at this. If the content editors have any technical inclination at all, like you'll find at a small startup (and let's be honest, CSS isn't rocket science, you can learn the basics before lunch on Codecademy) then they can edit the CSS themselves. Wit

Re: [mezzanine-users] Changing admin inline to "Orderable"

2015-10-13 Thread Christian Hoffmann
Hello, How to enable direct access to the _order field in the admin? Thanks a lot... -- 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+unsubsc

Re: [mezzanine-users] Extra CSS for Pages

2015-10-13 Thread Eduardo Rivas
I tend to follow a different approach with my client projects. With frameworks like Bootstrap you get a UI kit you can customize and provide that to your users. For example, when the content editors want to modify the style of a button, they can add a modifier class to it. The same goes for pretty

[mezzanine-users] Extra CSS for Pages

2015-10-13 Thread dmsanders221
Originally posted as a GitHub issue: This is just a suggestion for something that I've found extremely useful. In my own private fork of Mezzanine I've added an 'extra_css' field to RichTextPage and Form so that new CSS can be injected via the admin panel. This has proven to be very valuable as

Re: [mezzanine-users] Can I add a videos to the built in Mezzanine 4.0.1 image gallery?

2015-10-13 Thread spam . pcc
Oh there is a bug in that snippet. .mp4 should have its type defined once. Either image or video but not both. See comment. FILEBROWSER_EXTENSIONS = { 'Folder': [''], 'Image': ['.jpg', '.jpeg', '.gif', '.png', '.tif', '.tiff', '.svg', '.mp4'], # <--- added video! 'Video': ['.mov', '.wmv',

Re: [mezzanine-users] Changing admin inline to "Orderable"

2015-10-13 Thread Eduardo Rivas
That's a great idea too. If you don't have a huge number of items, you can just enable direct access to the _order field in the admin, and manually enter the order for the existing items, then switch back to drag and drop, and it should work. -- You received this message because you are subscr

Re: [mezzanine-users] Changing admin inline to "Orderable"

2015-10-13 Thread Danny
On 14/10/2015 5:26 AM, Neum Schmickrath wrote: A few years ago I added several inline classes to Cartridge products. After upgrading to the latest Mezzanine and Cartridge versions I want to be able to use the drag and drop functionality in Orderable to be able to set the order of these inlines.

Re: [mezzanine-users] Changing admin inline to "Orderable"

2015-10-13 Thread Eduardo Rivas
Yep, a data migration sounds like a good way to populate the _order fields in existing models. -- 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-user

[mezzanine-users] I want all my website account holders to be able to put their products on sale.

2015-10-13 Thread Awantik Das
Hi Experts, I want all my website account holders to be able to sell their products. Only after admin approves, the products will be available for sale to public. How do I do this with Mezzanine ? Thanks Awantik +91 7022251144 -- You received this message because you are subscribed to the

[mezzanine-users] Re: Need a marketplace model: anyone can sell, manage Items, like eBay. Does mezzanine + Cartridge work?

2015-10-13 Thread Awantik Das
Hi Prajwal, I am new to Django & Mezzanine. Can you please help me understand how you achieved your target ? Thanks Awantik -- 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,

Re: [mezzanine-users] Integrating Reversion w/ Mezzanine

2015-10-13 Thread Ken Bolton
Hi Corey, This thread contains the answer you seek. best, ken On Tue, Oct 13, 2015 at 2:45 PM, Corey wrote: > Hello everyone, is there a particular why Mezzanine didn't i

[mezzanine-users] Changing admin inline to "Orderable"

2015-10-13 Thread Neum Schmickrath
A few years ago I added several inline classes to Cartridge products. After upgrading to the latest Mezzanine and Cartridge versions I want to be able to use the drag and drop functionality in Orderable to be able to set the order of these inlines. Following the example in the Forms app I've set

[mezzanine-users] Integrating Reversion w/ Mezzanine

2015-10-13 Thread Corey
Hello everyone, is there a particular why Mezzanine didn't implement reversion in order to get revision support? I'm trying to add it after-the-fact and I got it to work for the blog module but the pages module doesn't seem to play nice with reversion. I used patch_admin() to add the RichTextPa

Re: [mezzanine-users] Where is the "admin-title" in the HTML templates?

2015-10-13 Thread Ken Bolton
Hi Zak, The file you seek is indeed in grappelli-safe: https://github.com/stephenmcd/grappelli-safe/blob/master/grappelli_safe/templates/admin/includes_grappelli/header.html#L6 . -ken On Tue, Oct 13, 2015 at 12:38 AM, Zak CythonUser wrote: > Hello All, > > When the templates are fully rendered

Re: [mezzanine-users] Why don't ManyToManyField's support validators?

2015-10-13 Thread Eduardo Rivas
That's not specifically related to Mezzanine. Try the Django mailing list. -- 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...@googleg

[mezzanine-users] Why don't ManyToManyField's support validators?

2015-10-13 Thread Mike Herring
Doc here: https://docs.djangoproject.com/en/1.8/ref/models/fields/#django.db.models.ManyToManyField ManyToManyField does not support validators. Is there a particular reason that ManyToManyField doesn't support validators? I would like to add a validator to require the user to select at least

Re: [mezzanine-users] Where from "USER": "ProjectName" in local_settings on server?

2015-10-13 Thread Nkansah Rexford
Thanks. On Monday, October 12, 2015 at 4:30:22 PM UTC, Eduardo Rivas wrote: > > You can set it to a custom name in deploy/local_settings.py.template. > That file is the template that gets uploaded to the server every time > you deploy. > -- You received this message because you are subscribe

[mezzanine-users] Configuring a site to use Akismet

2015-10-13 Thread Christian Hill
Dear Mezzaniners, I've started to get the same comment spam repeatedly submitted to one of my pages, so I tried to configure Akismet on my Mezzanine site. I've added the API key in my settings, but I don't see how or where to tell Akismet my domain. The documentation about registering/activating th