David, I'm not trying to anger you, and although you do constantly
reply with helpful information (which I appreciate) the tone of your
messages makes me think you think I am an idiot.

I'd appreciate it if you'd bear with me, I'm only human.

Thanks for explaining.  I don't yet fully understand, perhaps because
I am missing some perspective or experience with Lift.  But,
regardless, in my website, the top level is not /index, its /, and
I've achieved that by defining home slightly differently than you
did.  It works well for me, except Home remains clickable, I guess I
will live with that issue.

thx

- Alex

On Dec 30, 12:49 pm, David Pollak <[email protected]>
wrote:
> On Wed, Dec 30, 2009 at 9:43 AM, Alex Black <[email protected]> wrote:
> > > In a 1.1-M8 based project,
> >http://localhost:8080/andhttp://localhost:8080/indexbothcause the "Home"
> > menu item to be
> > > non-clickable.  The definition of the Home menu item is Menu(Loc("Home",
> > > List("index"), "Home"))
>
> > Understood.
>
> > However, in this scenario, when the user clicks on "home" they get
> > taken tohttp://localhost:8080/index, I think it would be even better
> > if they could be taken tohttp://localhost:8080/.  Its mostly
> > aesthetic, but its cleaner/shorter, and it saves having two URLs for
> > the same thing (e.g.http://localhost:8080/and
> >http://localhost:8080/index).
>
> > Is there any way to do that while maintaining the nice Sitemap feature
> > that makes Home non clickable?
>
> As I said already, we had thehttp://localhost:8080/as the place where the
> top level takes you.  That broke some containers (I don't remember the
> specifics) so the top level is /index.  There's no way to change it and it
> is this way for the reason that I've now had to state twice in two days.
>
>
>
>
>
> > - Alex
>
> > > > > Also, why do you using "Pair(List(...), false)"?
>
> > > > > Pair is deprecated/frowned on... it's much more idomatic to use
> > > > (List(...),
> > > > > false), but that's not needed as there's an implicit conversion you
> > can
> > > > > simply declare the List().
>
> > > > Thanks for the tip.
>
> > > > > > to
>
> > > > > >    Menu(Loc("index", Pair("" :: Nil, false), "Home")) ::
>
> > > > > > So that my "Home" link goes to mysite.com/ instead of mysite.com/
> > > > > > index.  But, I notice, when you're at mysite.com/ the sitemap
> > doesn't
> > > > > > show "Home" as selected, is there a way to fix that? Perhaps I've
> > got
> > > > > > something wrong here.
>
> > > > > > Thanks,
>
> > > > > > - Alex
>
> > > > > > --
>
> > > > > > You received this message because you are subscribed to the Google
> > > > Groups
> > > > > > "Lift" group.
> > > > > > To post to this group, send email to [email protected].
> > > > > > To unsubscribe from this group, send email to
> > > > > > [email protected]<liftweb%[email protected]>
> > <liftweb%[email protected]<liftweb%[email protected]>
>
> > > > <liftweb%[email protected]<liftweb%[email protected]>
> > <liftweb%[email protected]<liftweb%[email protected]>
>
> > > > > > .
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/liftweb?hl=en.
>
> > > > > --
> > > > > Lift, the simply functional web frameworkhttp://liftweb.net
> > > > > Beginning Scalahttp://www.apress.com/book/view/1430219890
> > > > > Follow me:http://twitter.com/dpp
> > > > > Surf the harmonics
>
> > > > --
>
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "Lift" group.
> > > > To post to this group, send email to [email protected].
> > > > To unsubscribe from this group, send email to
> > > > [email protected]<liftweb%[email protected]>
> > <liftweb%[email protected]<liftweb%[email protected]>
>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/liftweb?hl=en.
>
> > > --
> > > Lift, the simply functional web frameworkhttp://liftweb.net
> > > Beginning Scalahttp://www.apress.com/book/view/1430219890
> > > Follow me:http://twitter.com/dpp
> > > Surf the harmonics
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Lift" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<liftweb%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/liftweb?hl=en.
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Surf the harmonics

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to