Thanks so much! Not too familiar yet with how python template tags work.
On Monday, September 7, 2015 at 4:28:45 PM UTC-4, Ryne Everett wrote:
>
> I only want to lose this menu on the homepage.
>
>
> Then you can simply override the left_panel block in your index.html
> template. I.e.:
>
> {% block left_panel %}{% endblock %}
>
>
> On Mon, Sep 7, 2015 at 1:01 PM, <[email protected] <javascript:>> wrote:
>
>> Thanks for the quick reply.
>>
>> Is there another way to have a custom homepage that I can still edit via
>> the admin. I only want to lose this menu on the homepage.
>>
>> On Monday, September 7, 2015 at 1:28:38 PM UTC-4, Ryne Everett wrote:
>>>
>>> It's in the `left_panel` block in the default base.html:
>>>
>>> <div class="col-md-2 left">
>>>> {% block left_panel %}
>>>> <div class="panel panel-default tree">{% page_menu
>>>> "pages/menus/tree.html" %}</div>
>>>> {% endblock %}
>>>> </div>
>>>
>>>
>>> On Mon, Sep 7, 2015 at 12:19 PM, <[email protected]> wrote:
>>>
>>>> If I follow the advice this advice on urls.py:
>>>>
>>>> # "/.html" - so for this case, the template "pages/index.html"
>>>> # should be used if you want to customize the homepage's template.
>>>>
>>>> so that I can customize my home page a bit and still be able to edit it
>>>> via admin. However, I do not want the Left Hand Tree Menu to display, is
>>>> there a template tag that I can change or modify to prevent this menu from
>>>> displaying on my home page?
>>>>
>>>> --
>>>> 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/d/optout.
>>>>
>>>
>>> --
>> 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/d/optout.
>>
>
>
--
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/d/optout.