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
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 %}
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
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
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
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
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
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
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
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
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
11 matches
Mail list logo