I just want to show my root URL address whenever people browse
into other pages of my site. How do I do this in dtml or python script
or external method??
Allen,
You can use index_html as a "call dispatcher". Each ZPT, DTML, etc
form's action should = "." or "index_html".
</form>
# -------------------------------------
index.html (i use python for this)
# -----------------------------------
request = context.REQUEST
if caller == "editform":
if action_type=="process"
return context.Main(context,request)
if caller == 'someotherform"
return context..SomeOtherForm(context,request)
etc
In this way, you always get your apps root directory as the url.
index_html handles all requests.