> profile URL will behttp://
example.com/?someid=1234— you want the
> final result to behttp://
example.com/current/page/?someid=1234so you
> replace the value of you_home_url (in this case,
> "
http://example.com/") with "", resulting in a URL of "?someid=1234".
> The browser treats this as a relative URL, and sends the visitor to
> "
http://example.com/current/page/?someid=1234" as desired.
>
> I know that's some serious work, and most of it has to happen in
> JavaScript, but right now that's the only sane work-around.
That's actually not that bad and I'm doing most of this in JS already
anyway. I'll give it a try when I'm back at the office.
One suggestion, if I may, since it sounds like this is still something
you're working through... It would be really nice to avoid the page
refresh to get the lightbox with profile information. The rest of our
site is AJAX based so it feels somewhat clumsy to refresh, especially
for what just appears like a dialog box to the end user. It also
requires the site developer to be more careful about maintaining state
when the page refreshes--and it has to be a server-side solution using
sessions (or maybe cookies) since you have limited control over what
the URL looks like.
Just had an idea I might try as a workaround. Could you make the "home
url" be just a blank page and then set it to open in a new window
(target="_blank" or similar). Then if you could detect when the
lightbox is closed, you could just close the window and you're back on
the original page w/o refresh. I'll have to think through the details
of how that might work.
Thanks for your help. Have a good weekend. I'll probably be mostly
quiet until Monday. Unless I can't sleep because I'm problem solving
in my head, which happens from time to time. :)
David