[mezzanine-users] Redirect homepage template to customized html instead of pages/index.html

2014-05-13 Thread Wesley
Hi all, I am learning to customize homepage theme according to http://bitofpixels.com/blog/mezzatheming-part-2-the-homepage/ Here I hit a question that, homepage always use pages/index.html, actually, I have a homepage.html extends pages/index.html. So, how to change the template name for the

Re: [mezzanine-users] Edit pages using external editor

2014-05-13 Thread Frank Gilsdorf
Thank you. That will save me a couple of clicks. But it's still not, what I am looking for. And it will not be helpful on the iPad. I take Kenneth's reply as a no. I'm not able to implement web-services on my own. On Sunday, May 11, 2014 11:27:28 PM UTC+2, Danny S wrote: Hi Frank, I

[mezzanine-users] How to refer filefield src in template

2014-05-13 Thread Wesley
Hi guys, I hit a proble when referring filefield in template. Here is model: class Slide(Orderable): ''' A slide in a slider connected to a HomePage ''' homepage = models.ForeignKey(HomePage, related_name=slides) image = FileField(verbose_name=_(Image),

[mezzanine-users] Cartridge - SHOP_PAYMENT_STEP_ENABLED option not working

2014-05-13 Thread Emilio Garcia
Hi all I'm new to this group and also very new to mezzanine and django, so I beg your pardon if my question is a bit confusing or I am not very precise. I'm configuring a small site with a shop powered by cartridge and I'm trying to skip the payment step when proceeding to checkout. In the

Re: [mezzanine-users] Redirect homepage template to customized html instead of pages/index.html

2014-05-13 Thread Josh Cartmell
Hey Wesley, making the homepage a page is a bit of a special case in Mezzanine and I think it always and only looks for pages/index.html. I could be wrong about that. I actually wrote the referenced article and the reason I always have pages/index.html subclass pages/homepage.html is so that if

[mezzanine-users] Re: modeltranslations - round 2

2014-05-13 Thread Mathias Ettinger
1. Well… In fact they are. But for some reason if the text is the active translation for submit, then the default language field is displayed (i.e: if my default language is french and I have Envoyer [fr]/Submit [en]/Wyślij [pl] then Envoyer will be displayed for each

Re: [mezzanine-users] How to refer filefield src in template

2014-05-13 Thread Josh Cartmell
No worries, glad you figured it out =) On Tue, May 13, 2014 at 10:35 AM, Wesley nisp...@gmail.com wrote: Hi Josh, Thanks for your response. I am sorry but the code is ok that can find the image. Issue actually with the css that I have solved. So, sorry for the noise. Thanks. Wesley

[mezzanine-users] mezzanine.forms - using email field as mail from

2014-05-13 Thread Enrico Tröger
Hi guys, I need your help: on a customers site, I built a simple contact form using mezzanine.forms. Now the customer wants that in the generated mail the From: header is set to the email address entered in the contact form by the visitor. I had a look in

[mezzanine-users] Creating a form on mezzanine homepage

2014-05-13 Thread Flordelis Dimaano
I'm new to mezzanine and I wanted to place a form on the homepage. Tried 2 possible ways to do this: 1. Passing the form fields to the built-in contact form ... problem with this approach is I wanted more control over the validation of data 2. Created a regular model form (like a regular django

[mezzanine-users] Deploy

2014-05-13 Thread siefkesilvio
Hello, what must i do when i want deploy the page? I try with fabric, but understand not what this messages mean. $ virtualenv myblog --distribute - [silviosiefke.de] out: New python executable in myblog/bin/python2.7 [silviosiefke.de] out: Also creating executable in myblog/bin/python

Re: [mezzanine-users] mezzanine.forms - using email field as mail from

2014-05-13 Thread Stephen McDonald
This used to be the default behaviour, but changed as this form of faking didn't work with many smtp gateways, and was considered bad form. At that point we changed it to just set the reply-to header of the email. Right now you're best off just modifying those few lines yourself. On Wed, May

Re: [mezzanine-users] Deploy

2014-05-13 Thread Stephen McDonald
The fabric script expects a REPO_URL setting, defining a git or mercurial url it can clone your project from. You'll see this briefly mentioned in the fabric settings example: http://mezzanine.jupo.org/docs/deployment.html#fabric On Tue, May 13, 2014 at 11:42 PM, siefkesil...@gmail.com wrote:

Re: [mezzanine-users] Creating a form on mezzanine homepage

2014-05-13 Thread Stephen McDonald
Either approach is valid - the choice will depend on how well the built in form page type will work for your homepage. On Wed, May 14, 2014 at 4:00 AM, Flordelis Dimaano florde...@gmail.comwrote: I'm new to mezzanine and I wanted to place a form on the homepage. Tried 2 possible ways to do

Re: [mezzanine-users] Re: modeltranslations - round 2

2014-05-13 Thread Eduardo Rivas
Sorry, I didn't understand your explanation on point 1. Could you elaborate a little bit more? The issue I was describing is that the Submit button is not showing the active language text in the form, but rather the default language value. About number 2, I actually had this working a while

Re: [mezzanine-users] mezzanine.forms - using email field as mail from

2014-05-13 Thread Enrico Tröger
Hey Stephen, I see. I'm also not totally fond of setting a From: header to something I don't know in advance, still, need to do it. Do you have any hint how to modify the logic? I'd like to disable the form_processor but don't see how to do it cleanly. Thanks, Enrico On 13/05/14 22:34,

Re: [mezzanine-users] mezzanine.forms - using email field as mail from

2014-05-13 Thread Matthew Summers
You should mention to your client that it's very likely these emails will be dropped into a spam folder as forgeries. This is totally against best practices, and a terrible idea. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe