Mobile site menu

53 views
Skip to first unread message

Paullo

unread,
May 31, 2014, 9:38:38 AM5/31/14
to mezzani...@googlegroups.com
Hi folks,

I've created a default mezzanine install ("3.0.9") and enabled "mezzanine.mobile" in INSTALLED_APPS but when I look at the site on a mobile the menu isn't a button. Instead it's just a list of links.



I'm sure when I tried a while ago with mezzanine the mobile site had a square button with a dropdown of menu links? Is there anything else I need to do?

Paul

Eduardo Rivas

unread,
Jun 2, 2014, 8:45:03 PM6/2/14
to mezzani...@googlegroups.com
Hi Paullo. There are a few things that might be useful to know regarding mezzanine.mobile. First off, "vanilla" Mezzanine (without mezzanine.mobile) is responsive because it's based on Bootstrap 3, which provides a wide variety of responsive utilities. This means you will get a mobile menu and page layout without activating mezzanine.mobile.

So, what's the use of mezzanine.mobile, you may ask. Well, mezzanine.mobile allows the server to respond to mobile users with custom templates (or any other custom logic, for that matter). The difference is that mezzanine.mobile serves completely different and independent HTML templates, while Bootstrap takes your standard HTML template and adapts it to mobile devices with CSS and Javascript.

Depending on your application, you will want to go with one approach or the other. My advice for newcomers: leave mezzanine.mobile off and use Bootstrap for your responsive needs, it will suffice most of the time :)

Paul Hunt

unread,
Jun 3, 2014, 4:20:23 AM6/3/14
to mezzani...@googlegroups.com
Hi Eduardo,

Thanks for that. I actually meant to update this post or delete it because I found disabling mezz.mobile got the menu I was expecting.

Paul



--
You received this message because you are subscribed to a topic in the Google Groups "Mezzanine Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mezzanine-users/Ew-ZLvYsHl8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mezzanine-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Here's To The Crazy Ones. The misfits. The rebels. The trouble-makers. The round pegs in the square holes. The ones who see things differently. They're not fond of rules, and they have no respect for the status-quo. You can quote them, disagree with them, glorify, or vilify them. About the only thing you can't do is ignore them. Because they change things. They push the human race forward. And while some may see them as the crazy ones, we see genius. Because the people who are crazy enough to think they can change the world - are the ones who DO !


''=~('(?{'.('[))@^@'^'+[@.*`').'"'.('=@@@"@*)@@<,;,@<);@@;@@@<@^@@*,|'^'|,,`[/_[`"]_^_`][^`"^,/.[`*/`__^').',$/})')

Reply all
Reply to author
Forward
0 new messages