This module is so bad ass that I almost wept when I tested it. Thanks for all your hard work.

The only thing I am having trouble with is being able to tell what the current page's URL path is.

I rely on this information heavily, especially during development (configuring views arguments, etc). Normally I would just look up at the browser address bar, but now it doesn't change from /mynav?right_frame=etc.

At one point I could have sworn that the the current page's URL path was being displayed in the query string. (e.g. ?right_frame=http://example.com/view/etc) but either I was wrong or I broke it by experimenting with other URL values.

At this point the supernav seems to work the same regardless of what value is in the query string. So I guess my questions are:

A) Is there an easy way to know what the actual URL path to the current page in the right frame is?

B) What is the significance of the value of the 'right_frame' query string argument?

Comments

chrisshattuck’s picture

Good questions, Zach, here are some answers:

Right now, you can access the address by clicking the 'i' icon. You can hover over the url to see its fullness. Click it to highlight it so you can copy it. Ideally, it would be awesome to actually change the address in the address bar. However, javascript doesn't have access to that. As I'm thinking about it, maybe a more ideal feature would be a toggle, where you can see the URL absolutely positioned in the upper right-hand corner of the content screen. Does that sounds like it might be a good happy medium?

The 'right_frame' query string shows up when you log in, and tells Super Nav what page you were just on so it can display it again.

Thanks for bringing that up,
Chris

chrisshattuck’s picture

Status: Active » Fixed

In the latest version, I have added an option under 'settings' that will display the URL of the page in a small text box in the right-hand frame. Hopefully that will help.

Thanks,
Chris

zach harkey’s picture

Help? Are you kidding? It's Perfect!

I can't believe how fast you came up with a solution.

The Drupal community is lucky to have you guys.

I just flawlessly deployed this module across 8 production sites and received immediate and overwhelming accolades from my clients.

Thanks again.
-Zach

chrisshattuck’s picture

Awesome, glad to hear it!

darius123-1’s picture

I'm a bit confused here. First, totally awesome module. Even in dev, it's really cool and will be great for the end user imo. But, I don't understand why clean URLs cannot be enabled on the modual. It seems that added on some sort of clean url feature would be the capstone in this modual...and it'd also allow people like me to use this module in conjuction with the end user =]. Basically, as it is, it's hard to work around the /mynav?right_frame=ect...

Anyway, beggars can't be chooser I guess, but they can be dreamers^^. Still, overall this is real great, and keep up the good work!

chrisshattuck’s picture

Helo darius, thanks for the input.

What you see in the URL doesn't have to do with clean URLs. Supernav should work fine with clean URLS disabled or enabled. The variable being passed (right_frame) just tells Super Nav what page you were on before you went to /mynav, that way it can load it in the right frame right away.

If you do have any problems with clean URLs, please let me know.

Thanks!
Chris

darius123-1’s picture

Hello Chris,

Still a bit confused. How can I make it so that the url address reads for example "/about_us" rather than "/mynav?right_frame=ect...about_us" when using super nav?

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

chrisshattuck’s picture

Hello darius123,

At this point, it is not possible. That query string tells Super Nav where to go after loading the navigation. I could probably use a session variable or something instead, and will working on adding that in at some point.

Thanks!
Chris