Re: [mezzanine-users] Placeholders as Menu Items.

2018-04-09 Thread Iain Mac Donald
On Sun, 8 Apr 2018 19:21:20 -0700 (PDT) Kusanagi Yu wrote: > Hello Iain, if you're still clickable on placeholder menu Thanks. Latest version of menuplaceholder is working just fine. -- Regards, Iain. -- You received this message because you are subscribed to the Google Groups "Mezzanine Us

Re: [mezzanine-users] Placeholders as Menu Items.

2018-04-08 Thread Kusanagi Yu
Hello Iain, if you're still clickable on placeholder menu. Please sure you don't override template by any theme. Cause menuplaceholder has conditions by itself {% if page.in_menu %} {% if page.menuplaceholder %}{{ page.title }}{% else %} {{ page.title }} {% endif %}

Re: [mezzanine-users] Placeholders as Menu Items.

2018-04-07 Thread Peter Murphy
All, I feel I should announce that I resolved the issue (with Iain's kind assistance). Dummy menu items should now be dummy menu items, and thus not clickable. Now only that, you can now install via pip: pip install menuplaceholder Or if you wish, you can download from https://github.com/pet

Re: [mezzanine-users] Placeholders as Menu Items.

2018-04-07 Thread Iain Mac Donald
On Fri, 6 Apr 2018 20:09:57 -0700 (PDT) Peter Murphy wrote: > One more question: when you said you are creating a 'top-level' menu > item - did you mean at the same level as About and Contact? Yes. Although, when I created the Mezz site I did it without creating the example pages. > > If you

Re: [mezzanine-users] Placeholders as Menu Items.

2018-04-06 Thread Peter Murphy
Iain, I'm using almost exactly the same stack as you (Python 2.7.12/Mezz 4.2.3/Django 1.10.8). I'm running it on Ubuntu, but it shouldn't make any difference with Windows or Mac. One more question: when you said you are creating a 'top-level' menu item - did you mean at the same level as Abou

Re: [mezzanine-users] Placeholders as Menu Items.

2018-04-06 Thread Iain Mac Donald
Hello Peter, I had tried "menuplaceholder" both at the top and bottom of installed apps, clickable in either place. Any other ideas? Using Mezz 4.2.3, Django 1.10 and Python 2.7.13 -- Regards, Iain. -- You received this message because you are subscribed to the Google Groups "Mezzanine Use

Re: [mezzanine-users] Placeholders as Menu Items.

2018-04-06 Thread Peter Murphy
Iain, When I tested "menuplaceholder", I had it at the beginning in INSTALLED_APPS. But if you put it at the end (or _after_ "mezzanine.pages"), then you will find the dummy menu items clickable. That's because menuplaceholder is basically a rewrite of the default Mezzanine menu templates, and

Re: [mezzanine-users] Placeholders as Menu Items.

2018-04-05 Thread Iain Mac Donald
Hello Peter, Great idea. I have used Eduardo's technique a few of times, but a dedicated solution is welcome. I have tried Menuplaceholder in a test copy of Mezzanine, but I am finding that the top-level "dummy" menu item is clickable. Address bar changes to dummy location and shows an empty pag

Re: [mezzanine-users] Placeholders as Menu Items.

2018-04-05 Thread Peter Murphy
Dear Eduardo (and all), I was working on another project, and I found the Menu Placeholder idea was going to be useful. So this is a version 0.1 I cracked out. I hope it is of use to everybody. Any feedback would be appreciated. https://github.com/peterkmurphy/menuplaceholder Best regards, Pet

Re: [mezzanine-users] Placeholders as Menu Items.

2016-04-03 Thread Peter Murphy
Eduardo, Thank you very much for your answer. It tells me what I want is possible, and gives me ideas of how to pursue it. In my case, I might need to subclass the Page class to create a Placeholder class (which generates menus but not clickable menus). It possibly would be code that I'd be abl

Re: [mezzanine-users] Placeholders as Menu Items.

2016-04-02 Thread Eduardo Rivas
Hi Peter. I've done this before like so: - Create a top level Link page (this would be Galleries) . Set the slug to one of the child pages (for example, Gallery 1). - Add as many child pages as you like. You can stop there, and users will always be redirected to a child page, the top level page

[mezzanine-users] Placeholders as Menu Items.

2016-04-02 Thread Peter Murphy
All, Hello and good day. I have a question, and Googling has not yielded me any answers. Could anyone be of assistance? I would like to have the menu for one of my Mezzanine sites ordered as so: Galleries +--- Gallery 1 +--- Gallery 2 Here, "Gallery 1" and "Gallery 2" are standard Gallery p