Forum OpenACS Development: Re: List builder

Collapse
5: Re: List builder (response to 1)
Posted by Jun Yamog on

Yes this would really be useful. Although not really directly related, CCM has something similar which is the DataTable. One thing what I like about it is that I can pass in a query to it and it makes the table.

It would be nice if we can also have a best practice to make use of this and how to change the look. In the form builder we can pass a style="mycustomform". How do we customize the look of each * builder, in package instace, and sub site level.

Right now forms is at acs-templating/resources... and if you have your own custom form you have to put it in there. Maybe list builder can set where is is to best place them?

I am thinking of

[acsroot]/www/templates
               \--forms
               \--lists
               \--tables
               \--etp
               \--acs-subsite

I am inclined to use www/ so we can serve images, css, etc. related files out. Of course we can probably serve that by rp_internal redirect or something. Will there be any security problems when putting it in www/ ? But then how is it best to handle this. We have a template path search?

I guess my thoughts is looking on how we can customize say the list builder on a subsite level, better yet on a package instance level. And this way of doing things is something like the best practice and is uniform on this * builders.