Needs review
Project:
Flexinode
Version:
master
Component:
flexinode.module (core)
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2007 at 13:27 UTC
Updated:
26 Jan 2007 at 12:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
Bèr Kessels commentedThe code needs to be tested a little, however simple it is :)
I like the feature though, a weigth of ten limits teh ability to weight to only 20 fields, this is a rather small amount. Increasing makes sense.
Comment #2
mo6Actually, a weight of 10 limits it to 10 flexinode fields (not 20) if you don't want the fields to be sorted above the title (if you use a negative weight). Personally I would opt for more than 20, it's easily changed, however. Maybe the weight should be more dynamically calculated depending on the number of fields declared.
Comment #3
Bèr Kessels commentedI think 30 is just fine.
Unless you feel an urge to make that dynamic increasing stuff, which sounds really nice (and usefull). But don't bother too much, IMO 30 will do fine.
Comment #4
mo6Sorry, I felt a terrible urge (I work with large field sets). This patch determines the maximum weight dynamically.
Comment #5
mo6The maximum weight is now calculated globally (across all content types). Maybe it's better to calculate a maximum for each individual content type.