RE: Displaying Location
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13291
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,Marc EagleStarNine Technologieshttp://www.smithmicro.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,Marc EagleStarNine Technologieshttp://www.smithmicro.com/
Marc Eagle
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:
carriage returns in data (1997)
Append File help needed (2000)
Exclude by date - multiple (1997)
Merging databases (1997)
More on IE5 (2000)
Decrypting a user password (2000)
[WebDNA] Help with ReplaceFoundItems (2009)
[username][password] not showing up! HELP! (1999)
Discounting prices across a site (1997)
2cd pair.. [math] and European Date format (2004)
FORMS: Returning a specific page (1997)
WebCat2b15MacPlugin - showing [math] (1997)
Sort Order on a page search (1997)
WebCat2 - many [carts] on one template page? (1997)
WCS Newbie question (1997)
Rhapsody? (1997)
SiteGuard Admin Feature ? (1997)
Multiple Replaces (1997)
remotely add + sign (1997)
How is it done? (1998)