| 
	
 | 
 Posted by Alp on 02/13/05 19:17 
Thanks Burhan, 
 
That's almost what I exactly want to do. The question is "how do I start 
doing that" which methodlogy, which structure, etc,,, 
 
Alp 
 
"Burhan Khalid" <phplist@meidomus.com> wrote in message 
news:420F0023.1070509@meidomus.com... 
> Alp wrote: 
> > Hi Jochem, 
> > 
> > Intention is to give a user the option of assigning "position" of a 
> > "section" on the page, i.e: 
> > First: sectA, then sectC, then sectE, then sectB and sectD.... or any 
other 
> > order that is indicated by the user. So it is somewhat like top-of-page, 
> > mid-of-page etc but with a numbering/precedence/sorting (can be named 
any) 
> > system that populates the page according to the choice. 
> > Roughly: 
> > <--first section--> 
> > <--second section--> 
> > <--third section--> 
> > <--fourth section--> 
> > <--fifth section--> 
> 
> Alp: 
> 
>    You can implement a weights system, similar to Drupal.  In such a 
> system, each item is given a weight -- the lighter the item floats to 
> the top, and the heavier items sink to the bottom. Weights can range 
> from anything (lets take -10 to 10 -- 0 being the default). 1 is 
> "heavier" than 0, so any item with a weight of 1 sinks below any item 
> with a weight < 1. -1 is lighter than 0, so it will float above both 0 
> and 1. 
> 
>    This type of system is good if you are not concerned with strict 
> placing of items, since two items in the same weight category are simply 
> stacked on top of each other. 
> 
> Regards, 
> Burhan
 
[Back to original message] 
 |