I am trying to get rid of those question marks in my urls since it seems to confuse the users but I am not sure really how to do that. I have heard that it can but done but so far I have not found out how it can be done. I want for the last piece of the url to be assigned to the varialbe if a valid object can not by found. I don't really have a problem if this involves python coding I just need a place to start. Thanks
Heymann William wrote:
I am trying to get rid of those question marks in my urls since it seems to confuse the users but I am not sure really how to do that. I have heard that it can but done but so far I have not found out how it can be done. I want for the last piece of the url to be assigned to the varialbe if a valid object can not by found. I don't really have a problem if this involves python coding I just need a place to start.
Looks at SiteAccess and the traversal interface in the itnerfaces wiki: http://www.zope.org/Members/michel/Projects/Interfaces/Traversal I was going to write a product to do just this, but sadly time is lacking :-S cheers, Chris
ZSQLMethods does exactly that, have a look at that. Look at michel's wiki. ----- Original Message ----- From: "Chris Withers" <chrisw@nipltd.com> To: "Heymann William" <William.Heymann@Colorado.EDU> Cc: <zope@zope.org> Sent: Tuesday, October 10, 2000 3:56 AM Subject: Re: [Zope] How: /foo?var=bar equiv to /foo/bar
Heymann William wrote:
I am trying to get rid of those question marks in my urls since it seems to confuse the users but I am not sure really how to do that. I
have
heard that it can but done but so far I have not found out how it can be done. I want for the last piece of the url to be assigned to the varialbe if a valid object can not by found. I don't really have a problem if this involves python coding I just need a place to start.
Looks at SiteAccess and the traversal interface in the itnerfaces wiki: http://www.zope.org/Members/michel/Projects/Interfaces/Traversal
I was going to write a product to do just this, but sadly time is lacking :-S
cheers,
Chris
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Question marks are used for GET methods. I think that if you're trying to make a form send you to another page without question marks, you'd have to use POST method in the form. Heymann William wrote:
I am trying to get rid of those question marks in my urls since it seems to confuse the users but I am not sure really how to do that. I have heard that it can but done but so far I have not found out how it can be done. I want for the last piece of the url to be assigned to the varialbe if a valid object can not by found. I don't really have a problem if this involves python coding I just need a place to start.
Thanks
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Manuel Amador (Rudd-O)
Heymann William wrote:
I am trying to get rid of those question marks in my urls since it seems to confuse the users but I am not sure really how to do that. I have heard that it can but done but so far I have not found out how it can be done. I want for the last piece of the url to be assigned to the varialbe if a valid object can not by found. I don't really have a problem if this involves python coding I just need a place to start.
You're looking for the DirArg product: http://www.zope.org/Members/itsafire/releases/DirArg Found in http://www.zope.org/Products/Helpers -- -mindlace- Zopatista Community Liason
participants (5)
-
Andy McKay -
Chris Withers -
ethan mindlace fremen -
Heymann William -
Manuel Amador (Rudd-O)