Home
The Toolkit for Online Communities
16689 Community Members, 1 member online, 2110 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : Old scripts in oacs-5-5

Forum OpenACS Development: Old scripts in oacs-5-5

Icon of envelope Request notifications

Collapse
Posted by Byron Linares on
In acs-admin there are some broken pages
acs-admin/ www/users/sessions-one-month.tcl
And acs-admin/www/users/sessions-registered-summary.tcl are they used somewhere ??
These scripts invoke a proc called set_the_usual_form_variables that isn’t present in oacs-5-5, exists a substitution proc??

best,

Collapse
Posted by Brian Fenton on
Hi Byron,

wow that is old code! I'm not familiar with those 2 pages but set_the_usual_form_variables was replaced with ad_page_contract:
http://openacs.org/api-doc/proc-view?proc=ad_page_contract

There are thousands of examples of how to use ad_page_contract in OpenACS code base.

You can see the diff here from when it was removed:
http://cvs.openacs.org/cvs/openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl?r1=1.82&r2=1.83

hope this helps
Brian

Collapse
Posted by Byron Linares on
Hi Brian, thanks for the info, I’m aware of ad_page_contract. these old script should be removed from cvs? Or updated to a new code? to have a more stable realease of Openacs.

thanks again
best,
Byron

Collapse
Posted by Brian Fenton on
Well, I would imagine they could be updated with very little work. If you want to give it a try post any questions or problems here.

Brian