Closed (fixed)
Project:
Util
Version:
6.x-3.x-dev
Component:
Module weights
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2010 at 21:26 UTC
Updated:
15 Sep 2012 at 15:31 UTC
Please put a link to this page on the module description:
http://drupal.org/node/110238 - "How to update a module's weight"
I was about to use the module_weights module shipped with util, when I asked myself if it wouldn't be sufficient to simply hack the database, from the mysql commandline. I had a look at the code, because I was not sure if the weight field is really all I need to change.
This doc page gives the answer.
So, I thought, why not add a link to the doc page, making it more transparent to developers what the module_weights module does.
Which is, in essence,
UPDATE system SET weight = 4 WHERE name = 'modulename';
Thanks.
Comments
Comment #1
nancydruCommitted to 6.x-3.x-dev. Updated the doc page.
Comment #3
donquixote commentedI don't see this link on the module page.
Comment #4
nancydruAre you using the latest -dev release? It will be the last line of the text at the top of the page.
Comment #5
donquixote commentedI am looking at
http://drupal.org/project/util
and also at
http://drupal.org/node/598638
Are these pages auto-generated with text from cvs?
I don't even know if this is possible, but for all the modules that I work on, the module page and the documentation have to be updated manually, by clicking "edit" and "save".
Comment #6
nancydruYes, the documentation page needs a lot of work.
Comment #7
nancydru