[mezzanine-users] Removing Fields in billing_details

2016-03-15 Thread fosi

Hello, checking out cartridge, i came across an issue where i could not 
edit/delete feilds in the billing_details form in the checkout process, do 
i need to create an alternative orderForm, anid if i have to how would i 
list out the particular feilds i want or is there another way out ?? Thank 
you for your answers and suggestions. 

-- 
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] Template not rendering

2016-01-27 Thread fosi
Hello stephen, looking at the page.html and the code pasted, it seems to me 
that the defined block is been used. If i'm
 missing something kindly point it out to me. Thank you
On Tuesday, January 26, 2016 at 11:56:17 PM UTC+1, Stephen McDonald wrote:
>
> If you're extending a template, don't you need to use the blocks it 
> defines?
>
>
> https://github.com/stephenmcd/mezzanine/blob/a84f38c38bdaee0b21c9e9209cec5148ba0ae108/mezzanine/pages/templates/pages/page.html#L22-L23
>
> On Wed, Jan 27, 2016 at 8:51 AM, fosi > 
> wrote:
>
>>  Hello,
>>
>> I created a Homepage that is powered by the admin, the content of the 
>> homepage should be Images stacked on each other, after creating my model
>> and index.html template, nothing  seems to be coming up even though the 
>> block tags are included in base.html. Some help here please
>>
>> here's what my model looks like:
>> #model.py :
>>
>> class HomePage(Page, RichText):
>> '''
>> A page representing the format of the home page
>> '''
>> 
>> 
>> class Meta:
>> verbose_name = _("Home page")
>> verbose_name_plural = _("Home pages")
>> 
>> 
>> 
>> class Gallery(models.Model):
>> homepage = models.ForeignKey("HomePage", blank =True, null=True)
>> image = FileField(verbose_name=_("Image"),
>> upload_to=upload_to("theme.Gallery.image", "gallery")
>> )
>>  
>> def __unicode__(self):
>> return self.image.name
>>
>>
>> and my index.html :
>>
>> {% extends "pages/page.html" %}
>>
>> {% load mezzanine_tags staticfiles %}
>>
>>
>> {% block all_content %}
>> {% if page.homepage.Gallerys.all %}
>>
>>
>> {% for gallery in page.homepage.Gallerys.all %}
>> 
>> {% endfor %}   
>>
>>
>> {% endif %}
>> {% endblock %}
>>
>>
>>
>> -- 
>> 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.
>>
>
>
>
> -- 
> Stephen McDonald
> http://jupo.org
>

-- 
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 not rendering

2016-01-26 Thread fosi
 Hello,

I created a Homepage that is powered by the admin, the content of the 
homepage should be Images stacked on each other, after creating my model
and index.html template, nothing  seems to be coming up even though the 
block tags are included in base.html. Some help here please

here's what my model looks like:
#model.py :

class HomePage(Page, RichText):
'''
A page representing the format of the home page
'''


class Meta:
verbose_name = _("Home page")
verbose_name_plural = _("Home pages")



class Gallery(models.Model):
homepage = models.ForeignKey("HomePage", blank =True, null=True)
image = FileField(verbose_name=_("Image"),
upload_to=upload_to("theme.Gallery.image", "gallery")
)
 
def __unicode__(self):
return self.image.name


and my index.html :

{% extends "pages/page.html" %}

{% load mezzanine_tags staticfiles %}


{% block all_content %}
{% if page.homepage.Gallerys.all %}


{% for gallery in page.homepage.Gallerys.all %}

{% endfor %}   
   

{% endif %}
{% endblock %}



-- 
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] Pages not rendering at the front end

2016-01-20 Thread fosi

Hello everyone, i'm quite a noob at mezzanine. I created a homepage to be 
powered by the admin, then decided to play around with the default pages in 
the admin by deleting them and added them again, but when i to their 
slugs/urls  they fail to render, all i see is the base.html template and 
and it seems the former pages still exist because the new pages id(s) 
continue from the former ones. the pages recreated are  the shop, gallery 
and contact pages. Should i create the custom templates for the newly 
created pages and how do i sort the deleted pages id? please do help. Thank 
you.

-- 
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] HomePage Custom TYpe

2015-12-10 Thread fosi
Hello I'm quite new to python, django and mezzanine, so please bear with 
the  questions i  put forward.

I want to have a homepage where the content would be a gallery,  I was 
wondering if i could implement mezzanine gallery app into it or create a 
custom type model and if i do that how would my model  look like??

 TIA, 

fosi

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