[EuroPython] How do you make links go from the pulldown menus directly off the site?

Laura Creighton lac at strakt.com
Wed Feb 9 23:33:31 CET 2005


Ah, this works, but now showing the document portlet also makes it redirect to
that page, which means I cannot edit it ...  Is this a framework bug?

Laura

In a message of Wed, 09 Feb 2005 23:10:48 +0100, Jean-Marc Orliaguet writes:
>Laura Creighton wrote:
>
>>I would like the pulldown for 'Sprints and Wikis' to go directly to the 
>Wiki.
>>If you look at 
>>'Propose a Sprint' you will see the problem  -- I don't want to go to
>>http://europython-develop.zope.nl/sections/sprints_and_wiki/propose_a_sp
>rint
>>but to http://www.python.org/moin/EuroPython2005 direct.
>>
>>How do I do that?
>>
>>Thanks very much,
>>Laura
>>  
>>
>
>Hi Laura,
>
>the pulldown shown the site structure, i.e. a tree structure. Since the 
>wiki lies outside the tree structure it does not appear as a link but it 
>is possible to set an inline javascript redirection on the page to get 
>redirected to the wiki.
>
>as for instance:
>
><script language="JavaScript">
>  function redirect_to_wiki() {
>      window.location = 'http://www.python.org/moin/EuroPython2005';
>  }
>  setTimeout("redirect_to_wiki()", 2000);
></script>
>
>I have set the timeout to 2seconds (2000) to test it - but I can be 
>reduced to one second or half a second. Press 'Esc' to stop the 
>countdown....
>
>PS: now that the main site structure which is there, you can start 
>publishing documents into it
>Documents, like events, news, etc appear on the front page as opposed to 
>the site structure folders which are static.
>
>regards
>
>/JM


More information about the EuroPython mailing list