The Toolkit for Online Communities
18811 Community Members, 0 members online, 1879 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Q&A : Using an .adp template with a .vuh page : One Message

Forum OpenACS Q&A: Re: Using an .adp template with a .vuh page

Posted by Tilmann Singer on
The thread above is quite old - the correct answer to it today would be to use

rp_form_put x $x
rp_internal_redirect my-template

Where my-template could refer to a single file my-template.adp, which would display the content of the variable x if it contains @x@.

I am not quite sure what you are asking though ..

Posted by Richard Hamilton on
Thanks for clarifying the use of rp_form_put. What I am asking is whether/how I can include @var@ type references in pages served by the Edit-This-Page module.

i.e. ETP root mounted on /content and index.vuh in web root at / so that when http://www.bloggs.com is requested the request processor serves /content/index via the ETP application. So the page is an ETP served page from the database wrapped in defaultmaster.adp. My question is then how to I include variables from a .tcl script in the part of the page that was served by the ETP app?