I have made all my FAQs but I can't change the weight/order of them. When I click on the up or down arrow, nothing happens. Even if I try clicking on the update button. Please help! Thank you.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | faq_137806.patch | 1.32 KB | stella |
Comments
Comment #1
stella commentedyou need to have javascript enabled.
Comment #2
jensKhmerOS commentedI made also the observation that it is not working but I get this error message after I hit update:
warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at or near "REPLACE" at character 1 in /home/jens/public_html/drupal/includes/database.pgsql.inc on line 125.
user warning: query: REPLACE INTO faq_weights (tid, nid, weight) VALUES(18, 29, 0) in /home/jens/public_html/drupal/includes/database.pgsql.inc on line 144.
warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at or near "REPLACE" at character 1 in /home/jens/public_html/drupal/includes/database.pgsql.inc on line 125.
user warning: query: REPLACE INTO faq_weights (tid, nid, weight) VALUES(18, 31, 1) in /home/jens/public_html/drupal/includes/database.pgsql.inc on line 144.
Comment #3
stella commentedTry the attached patch for a fix to the "replace" problem. It should hopefully work.
The clicking on the up and down arrows to change the order of the nodes is a separate issue and requires you to have javascript enabled on your browser. If you have javascript enabled and still nothing happens, then try a different browser. Failing that, the firefox browser catches javascript errors so send me any messages it logs.
Cheers,
Stella
Comment #4
VizionQuest commentedFixed it, thanks!
Comment #5
stella commentedreleased in faq 5.x-2.2