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 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, lu zou <[email protected] <javascript:>
> > wrote:
>
>>
>> using mezzanine and cartridge: want to make the main page (index,html)
>> into the shopping main page(category.html ) ,using shopping main page as
>> the main page
>>
>> this code below doesnot work ,have any suggestion ,seems a easy
>> question ,but I have tried for long , using a lot of alternative, they
>> donot word:(
>>
>>
>> url("^$", page, {"slug": "/", "template":
>> "../../mezzanine_themes/oztrend/templates/pages/category.html" },
>> name="home"),
>>
>>
>> PS :
>>
>> ../../mezzanine_themes/oztrend/templates/pages/category.html
>> ---------------------------is where category.html located
>>
>>
>> --
>> 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 [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.