Re: FIXED: Re: [Zope] URL0 returns index_html not index.html

2005-08-24 Thread John Eikenberry
Mark Barratt wrote: Well, no, because some of the objects I want to append /source.html to are not called index.html (but that *is* how we did it for another site and it works as you say). A text substitution covers both cases: tal:attributes=href

Re: FIXED: Re: [Zope] URL0 returns index_html not index.html

2005-08-24 Thread Mark Barratt
John Eikenberry wrote: Mark Barratt wrote: A text substitution covers both cases: tal:attributes=href python:context.REQUEST['URL0'].replace('index_html','index.html')+'/source.html' Wouldn't this just result in [path]/index.html/source.html? Do you want the index.html in the URL to

FIXED: Re: [Zope] URL0 returns index_html not index.html

2005-08-19 Thread Mark Barratt
John Eikenberry wrote: Mark Barratt wrote: I can vaguely see why this is happening. My question: is there a straightforward way of making the links (and error reports) return the actual page address? By actual page address you want the URL with index.html instead of index_html? Given your

Re: [Zope] URL0 returns index_html not index.html

2005-08-18 Thread John Eikenberry
Mark Barratt wrote: Zope 2.7.4 on Debian DTML method index_html in the root says dtml-var _['index.html'] A link in a page template to tal:attributes=href string:${context/REQUEST/URL0}/source.html URL0 always(?) includes the ending published object (eg. index_html). Normally if you

Re: [Zope] URL0 returns index_html not index.html

2005-08-18 Thread Dieter Maurer
Mark Barratt wrote at 2005-8-17 17:41 +0100: Zope 2.7.4 on Debian DTML method index_html in the root says dtml-var _['index.html'] Do you know, that this is equivalent to the simpler dtml-var index.html? A link in a page template to tal:attributes=href