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.

CommentFileSizeAuthor
#3 faq_137806.patch1.32 KBstella

Comments

stella’s picture

Assigned: Unassigned » stella

you need to have javascript enabled.

jensKhmerOS’s picture

I 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.

stella’s picture

StatusFileSize
new1.32 KB

Try 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

VizionQuest’s picture

Fixed it, thanks!

stella’s picture

Status: Active » Closed (fixed)

released in faq 5.x-2.2