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:
Help Encrypt/Decrypt eMail (2003)
Bug? (1997)
Tab Charactor (1997)
MS Access data conversion (2001)
Kaaaaahhhhhhhnnnnnnn! (1997)
Searching multiple Databases (1997)
[WebDNA] Crashing Database (2011)
WebCat2 several catalogs? (1997)
Web Delivery First Time Setup Trouble (2000)
Searching on 3 different fields (2003)
Protect (1997)
RE: Can a database get stomped by simultaneous access? (1997)
[date] problem with %d%m%Y (1998)
[/application] error? (1997)
What is this error message? (2006)
Timeout question .. (2003)
Base 64 encoding (2001)
Three new problems, maybe a fourth (1997)
Can ShowNext do this? (2000)
caching -check- (2001)