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