docServerUserLandCom picture
Contents
Frontier Site

html.getPath

Syntax html.getPath (adrSource, adrDest, adrPageTable)

Params adrSource is the object database address of the starting page.

adrDest is the address of the page you want the path to.

adrPageTable is the address of the current page table.

Action Builds a URL to link from adrSource to adrDest

Returns A URL linking adrSource to adrDest.

Examples html.getPath (@websites.samples.randomStuff, @websites.samples.bitOfText)

   » "bitOfText.html"

Notes This verb only works while a page is being rendered.

Call this verb from your macros when you want to generate a link to a page whose address you know.

When adrSource and adrDest are in the same website, a relative URL is generated. When they are in separate sites, an absolute URL is generated, based on the #ftpSite information for adrDest.


© Copyright 1992-2026 UserLand Software. Email: webmaster@userland.com.