Forum OpenACS Development: Re: how to change template or skin

Collapse
Posted by VenuMadhav Deevi on
hi thanks for the idea
i will try to implememnt it
one more question please

how to set the parameter which will be there in the site

we can acess that one by this command which i know

set tmp [ad_parameter body]

i am getting the content of the body, how to set the content of the body now is my question,

with GUI i know how to set it but programatically i want to set it.

please help me

thanks
vamshi

Collapse
Posted by Tilmann Singer on
How to find tcl procedures that do what you want: go to /api-doc/ of your local installation, type in a meaningful search term, e.g. 'parameter', and go through the results. In this particular case you have been looking for the proc parameter::set_value. ( https://openacs.org/api-doc/proc-view?proc=parameter%3a%3aset%5fvalue )

Note that procedures with :: in it are generally preferred because they use the more modern namespace feature and are propably newer.

An addition to the default-master hint above: I noticed that it won't work for pages under www/, unless you specify a full path like this:

ad_return_template "/www/default-master-$language"

Collapse
Posted by VenuMadhav Deevi on
thanks
Tilmann Singer  i would be working on it