This is a copy of a post I another post I have submitted about module weights.
Firstly let me say to all of the contributors to drupal, THANK YOU!
I'm no coder so I spend many hours and try very hard to utilize Drupal as a "non coder", and, by non coder I mean that I can sort out HTML though not the PHP & MYSQL. I have spent literally thousands of hours researching the various modules and their development status for "non coders".
I have made many attempts to build a site in the same fashion, believing that "You can build sites with Drupal without knowing PHP & MYSQL scripting", as some folks advocate.
Recently I ran into problems with the weights of the autocomplete, ajax, jquery, javascript & dhtml modules in my website. Boy this was and still is a frustrating experience. What I discovered was that I could not find a maintained list, or, a Standard for module weights that I could utilize to establish the correct weights of the many, many, different modules and combinations of modules available with drupal.org.
When I look to the module lists I find that many contributed modules are simply "0", which confuses me 0 I thought was only core, and the rest of the numbers are scattered all the way up to 9999 with the odd weight having a - sign. Sure I understand that weights are both positive and negative with the negatives being the lightest and processed first.
What I find is that with more and more ajax modules, javascript modules, jquery modules, and dhtml modules available on drupal.org I believe that the newbies will run into this issue more and more and that it may actually drive folks away from utilizing this amazing drupal software.
I now know for certain that these modules require a logical and specific order or they just do not work correct they can even mess up other modules until you get it right. I have found it very difficult to establish the correct weights, still haven't. Yes, I do understand that the weight is set in the module upon installation.
Yes, the utility module and others allow you to adjust the weights, though, TO WHAT Ordering? Not many non coders even know how or where to find out the original weights of a module??
What I'd love to see
Just an idea that I hope that someone with the skills could tackle or feed me some input on and I'll give it a go
* A table or index of module weights, similar to an API
* Table separated or categorized by script type
* The table listed in the Handbook pages
I'm sure that the one that created this table would likely find themselves much work by being the 'go to' person for this very daunting subject.
I'm also sure that such a weight or process list would be a great advantage to the module creators as well as the Drupal community as a whole.
Maybe we could start with something such as:
WARNING:I'm not sure of the correct logical ordering so don't try to use this list for correct your module weight issues
1. Jquery modules? -50 to -30
2. dhtml modules? -29 to -20
3. ajax modules? -19 to ??
4. and so on
Thank you for reading this post and I hope that it stimulates some conversation on this subject. Maybe someone more knowledgeable could suggest some resources I could review? I am definitely up for the task of contributing.
Comments
Comment #1
jhodgdonThis sounds like something for the Handbook, not something for embedded API documentation to be displayed on api.drupal.org.
So, it belongs in a different issue queue.
Comment #2
kewlguy commentedjhodgdon:
Not quite sure what you are talking about with the api.drupal.org , I posted to drupal.org issues queue for Drupal.
It was posted under Documentation and as new documentation as well as a feature request. If you have suggestion for posting this to a different issue queue then move it there or make an actual suggestion as to where, please.
Comment #3
jhodgdonI moved it to a different issue queue already.
The Drupal project issue queue, component "Documentation" is specifically for issues related to documentation embedded in the Drupal source queue, and displayed on the api.drupal.org web site.
The Documentation issue queue is for issues related to documentation that is stored in book pages on drupal.org.
Comment #4
kewlguy commentedThank you very much for your time, patience and assistance.
Comment #5
arianek commentedjust filed a gci task for this http://drupal.org/node/977230
Comment #6
arianek commentedthis was completed - http://drupal.org/node/110238