I am currently trying to modify my Books Section a bit, so that it is functioning as an overall Products Section, since I find that it is the section that is most suitable for presenting Products (and books). I know it is not the right way doing it, but I need
a Section type to present Products, and a posibility to click a link to order. I have found that I can extract the ID part of the header with VBscript and just open a mail window containing the ID for the things to order. Dim orderNo as string orderNo = Replace(Right(Request.ServerVariables("PATH_INFO"),Instr(StrReverse(Request.ServerVariables("PATH_INFO")),"/")-1),".aspx","")
(orderNo returns the number 377 from e.g. Products/377.aspx) But maybe someone knows a better way to make the Books Section more friendly for ordering.
None
0 Points
377 Posts
Extracting parts of the header
Dec 09, 2003 12:15 PM|para7|LINK
None
0 Points
377 Posts
Re: Extracting parts of the header
Dec 16, 2003 04:07 PM|para7|LINK