Re: [mezzanine-users] make the main page(index.html) changed into the shopping page (category.html)

2014-01-31 Thread lu zou
using this code to point the main page tot he category page , still donot work , the error turn out to be : page not found. url(^$, mezzanine.pages.views.page, {slug: pages/category.html}, name=home), On Friday, 31 January 2014 10:19:09 UTC+10, Stephen McDonald wrote: I would look at

Re: [mezzanine-users] make the main page(index.html) changed into the shopping page (category.html)

2014-01-31 Thread Josh Cartmell
Your slug isn't a slug it's the name of a template. Look in the default urls.py provided in a mezzanine project and there is an example of how to make the home page an editable page. On Fri, Jan 31, 2014 at 5:21 PM, lu zou zoulucl...@gmail.com wrote: using this code to point the main page

Re: [mezzanine-users] make the main page(index.html) changed into the shopping page (category.html)

2014-01-31 Thread lu zou
thanks ,I have change the meta data of the cartridge default shop page into / from admin account ,and the main page changed into a shop page ,but it is a blank page ,it does show the contents : all the products and the specific layout which I have added and modifed in the pages/category.html,

Re: [mezzanine-users] make the main page(index.html) changed into the shopping page (category.html)

2014-01-31 Thread lu zou
thanks ,I have change the meta data of the cartridge default shop page into / from admin account ,and the main page changed into a shop page ,but it is a blank page ,it does NOT show the contents : all the products and the specific layout which I have added and modifed in the

Re: [mezzanine-users] make the main page(index.html) changed into the shopping page (category.html)

2014-01-30 Thread Stephen McDonald
I would look at making the homepage a page object in the page tree - this page could be a shop category, which is a type of page itself. http://mezzanine.jupo.org/docs/frequently-asked-questions.html#why-isn-t-the-homepage-a-page-object-i-can-edit-via-the-admin On Fri, Jan 31, 2014 at 10:15 AM,