RE: Displaying Location
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13297
interpreted = N
texte = >Trevor ->>>We have WebCat running on a server with which hosts multiple domains.>>Is it possible to have WebCat read the full location, rather than just>>the directory path?>>[ThisUrl] displays /page.html>>I want to be able to display http://www.domain.com/page.html>>or http://www.domain2.com/page.html, depending on what the user had>>typed in the location window.>>You can't do this (yet) - [ThisURL] displays the path relative to the>server root. If you want to get very complicated, you could try using>[hideif] and [showif] based on whether [referrer] contains 'domain.com' or>'domain2.com', but this would get a bit clunky if you had too many>domains.>A future version of WebCatalog may allow you to get more of the HTTP>header information passed by the browser (which would let you do what you>are trying to do), but it won't happen for a while.>>I hope this answers your question,Never tried and might be a dumb response...but reading the above wouldn't[referrer][thisURL] do what he is asking except on an entry page (defaultpage)?Problem is that is somebody came into the site on page3 and skipped thedefault then it would not work.===============================================Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com===============================================
Associated Messages, from the most recent to the oldest:
>Trevor ->>>We have WebCat running on a server with which hosts multiple domains.>>Is it possible to have WebCat read the full location, rather than just>>the directory path?>>
[thisurl] displays /page.html>>I want to be able to display http://www.domain.com/page.html>>or http://www.domain2.com/page.html, depending on what the user had>>typed in the location window.>>You can't do this (yet) -
[thisurl] displays the path relative to the>server root. If you want to get very complicated, you could try using>
[hideif] and
[showif] based on whether
[referrer] contains 'domain.com' or>'domain2.com', but this would get a bit clunky if you had too many>domains.>A future version of WebCatalog may allow you to get more of the HTTP>header information passed by the browser (which would let you do what you>are trying to do), but it won't happen for a while.>>I hope this answers your question,Never tried and might be a dumb response...but reading the above wouldn't
[referrer][thisurl] do what he is asking except on an entry page (defaultpage)?Problem is that is somebody came into the site on page3 and skipped thedefault then it would not work.===============================================Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com===============================================
grichter@panavise.com (Gary Richter)
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
creating a ShipCosts database (1997)
Fwd: Problems with Webcatalog Plug-in (1997)
Sami (1998)
contextual shownext (1998)
search context w shownext works! (1997)
Emailer choke (1997)
Probably a very simple question? (1997)
WebDelivery downloads alias, not original ? (1997)
Opinion: [input] should be called [output] ... (1997)
How is it done? (1998)
PSC recommends what date format yr 2000??? (1997)
all db's in one folder and protected (1998)
File upload woes (1998)
WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997)
Week # problem (1998)
Using Cookie for client specific info? (1997)
[WebDNA] API - YouTube (2011)
[Webcat 2]Next (1997)
Sticky .inc file! (2008)
cart info (1998)