New custom fields proposal

Daniel Berlin dberlin at dberlin.org
Thu Apr 10 03:50:54 UTC 2003


>> My idea was that we show them all at the end by default, but have a 
>> way
>> of the template 'knowing' which ones have been done already. That way 
>> an
>> admoin can sutomise teh templte for afield, and then it won't appear
>> with the rest of them below.
>
> I don't follow.  How would a field have been "done" already?

I think he means if it appears somewhere else in the template for the 
page already.

IE if i don't do anything special, the custom fields appear at the end.
let's say i have 4 fields, 2 stock, 2 custom.

And  say the template for the page looked like:

<stock field 1>
<stock field 2>


Then, the page would display:
<stock field 1>
<stock field 2>
<custom field 3>
<custom field 4>

He wants that if i specifically put <custom field 3> somewhere else on 
the page via the template, like so:

<stock field 1>
<custom field 3>
<stock field 2>

then it will display
<stock field 1>
<custom field 3>
<stock field 2>
<custom field 4>

and *not*
<stock field 1>
<custom field 3>
<stock field 2>
<custom field 3>
<custom field 4>


because 3 is already "done".




More information about the developers mailing list