Re: [Zope] Generating links from a list

2005-06-27 Thread Dieter Maurer
John Poltorak wrote at 2005-6-27 13:05 +0100: > ... >This works fine, but now that I have used it in a template I'm finding >that the link is being prepended with the location of the new object after >selecting the original link. ie invoking the code above creates a link >such as:- > >http://ww

RE: [Zope] Generating links from a list

2005-06-27 Thread Andrew Sawyers
Subject: Re: [Zope] Generating links from a list > > On Mon, Jun 27, 2005 at 10:03:08AM -0600, Nikko Wolf wrote: > > John Poltorak wrote: > > > > > My links list consists of simple lines such as > > > > > > org-1,First link > > > org-2,Second Link &

Re: [Zope] Generating links from a list

2005-06-27 Thread John Poltorak
On Mon, Jun 27, 2005 at 10:03:08AM -0600, Nikko Wolf wrote: > John Poltorak wrote: > > > My links list consists of simple lines such as > > > > org-1,First link > > org-2,Second Link > > org-x,Another Link > > > > How do I prepend a hardcoded path to org-1 instead of what is getting > > generat

Re: [Zope] Generating links from a list

2005-06-27 Thread Nikko Wolf
John Poltorak wrote: My links list consists of simple lines such as org-1,First link org-2,Second Link org-x,Another Link How do I prepend a hardcoded path to org-1 instead of what is getting generated? I would like to see the link for org-1 being generated as http://www.mysite.org/links/

[Zope] Generating links from a list

2005-06-27 Thread John Poltorak
The other week someone provided me with this snippet of code for generating links from a list containing a description and a link:- This works fine, but now that I have used it in a template I'm finding that the link is being prepended with the locatio