Re: admin-interface: some questions

2005-12-27 Thread oggie rob
Patrik K says: > just being curious: what´s the argument against defining the rows in the model? Hi Patrick, I think it would be better use of display design if you kept the rows out of the model. You can achieve as much as you are asking by using css. For example, if you do the following: 1) Cre

Re: admin-interface: some questions

2005-12-27 Thread patrick k
just being curious: what´s the argument against defining the rows in the model? using id´s works fine with a few tables, but with hundreds of tables it´s getting complicated: because "body" in "films" may be a large textarea whereas "body" in "comments" may be a smaller one. ok, one could use "fi

Re: admin-interface: some questions

2005-12-27 Thread Eugene Lazutkin
You can use ID's: "id_summary", "id_body", and so on. #id_summary { width: 100%; height: 5em; } #id_body { width: 100%; height: 10em; } Thanks, Eugene "patrick k" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] as far as i know, textares have classes like "vLarg

Re: admin-interface: some questions

2005-12-27 Thread patrick k
as far as i know, textares have classes like "vLargeTextField". so, i don´t know how one can change that. by the way, with doing what you suggested you have to update the .css-file everytime you add (or change) a model. patrick > > On 12/27/05 18:28, patrick k wrote: >>> On 12/27/05, patrick k

Re: admin-interface: some questions

2005-12-27 Thread Steven Armstrong
On 12/27/05 18:28, patrick k wrote: On 12/27/05, patrick k <[EMAIL PROTECTED]> wrote: - how do i change the numrows for a textarea-field? You can do this with CSS; create custom admin templates that include some custom CSS code. what i meant was changing the numrows for each textarea-field

Re: admin-interface: some questions

2005-12-27 Thread patrick k
> On 12/27/05, patrick k <[EMAIL PROTECTED]> wrote: >> - how do i change the numrows for a textarea-field? > > You can do this with CSS; create custom admin templates that include > some custom CSS code. what i meant was changing the numrows for each textarea-field seperately. e.g., a body-field

Re: admin-interface: some questions

2005-12-27 Thread Robert Wittams
Adrian Holovaty wrote: > > >>- we have automatic fields for createdate and updatedate (auto_now, >>auto_now_add). what about automatically inserting the logged in user who >>creates (or updates) the record? i don´t know about anybody else, but i need >>that all the time. that´s especially intere

Re: admin-interface: some questions

2005-12-27 Thread Adrian Holovaty
On 12/27/05, patrick k <[EMAIL PROTECTED]> wrote: > - how do i change the numrows for a textarea-field? You can do this with CSS; create custom admin templates that include some custom CSS code. > - why is it always the first column of the list which is linked to the > detail-page? when listing

admin-interface: some questions

2005-12-27 Thread patrick k
i´ve been playing around with the admin-interface and have some questions: - how do i change the numrows for a textarea-field? - why is it always the first column of the list which is linked to the detail-page? when listing the ID, i´d like the ID to be the first field in the list. nevertheless,