Home
The Toolkit for Online Communities
16702 Community Members, 1 member online, 2531 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : Annoying multirow behaviour : One Message

Forum OpenACS Development: Re: Annoying multirow behaviour

Collapse
Posted by Lars Pind on
Mark,

This is what db_multirow's -extend switch does for you.

The trick is that the additional column needs to go into the special categories:columns list as well.

Why are you using template::query and not db_multirow?

/Lars

Collapse
Posted by Mark Aufflick on
ah - so categories:columns is what i was looking for. I assume that's how positional columns (as opposed to named only columns) are determined.

the template::query example comes from 2002 vintage queries in ecommerce by Bart T - I wasn't quite sure why he used it either, but it's all over the place in ecommerce.

Since db_multirow takes care of all that for me, i'll just convert the calls where necessary.

Thanks Lars - as always, your knowledge is prodigious!