[EuroPython] How do you make links go from the pulldown menus
directly off the site?
Chris Withers
chris at simplistix.co.uk
Mon Feb 14 11:49:02 CET 2005
Jean-Marc Orliaguet wrote:
> The whole thing is about fixing a UI weirdness. A navigation menu is not
> designed in the first place to redirect the user to another site without
> warning - it makes the interaction with the site unpredictable - so I
> believe that it is a good thing that the current menu doesn't allow
> those kinds of links. For that functionality you should use a box marked
> as "External links"... or integrate the wiki inside the site.
*shrugs* I can empathise with this point of view but I don't agree with it.
A navigation menu is for navigating. If some of the resources are not at
the current domain name, then they need an "external link". Can it be
that hard to do something like:
tal:attributes="href
python:test(getattr(item,'external',none),item.url,item.absolute_url())"
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the EuroPython
mailing list