Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Add Comments "Block " is only shown on initial load of a node (loading bar). If i go to a content node (1), then go to another node (2) and open the first node (1) again then the "Add Comments Block" does not load/appear. (no loading bar)
Comments
Comment #1
tyler.frankenstein CreditAttribution: tyler.frankenstein commentedI believe this was fixed long ago. Please confirm you are running the latest bin/drupalgap.js file. If it doesn't work, then add this line of code:
form.id += '_' + comment.nid;
here:
https://github.com/signalpoint/DrupalGap/blob/7.x-1.x/src/modules/commen...
Comment #2
debain CreditAttribution: debain commentedThank you. Yes. I downloaded it from github again now. It does not work. Inserting the line does not work.
Maybe I am missing something or it is the hardware or something else. I think i have to check the complete setup if this should work.
Comment #3
tyler.frankenstein CreditAttribution: tyler.frankenstein commentedDid you run the makefile to build the new bin/drupalgap.js after making the change in the src/ directory? http://drupalgap.org/node/224
If not, you can just edit the bin/drupalgap.js file directly.
Comment #4
debain CreditAttribution: debain commentedAh ok, sorry, didn't know that.
Now it is working with the line inserted.
Thank you for the great support!
Comment #5
tyler.frankenstein CreditAttribution: tyler.frankenstein commentedThanks for confirming. This code needs to be migrated into the src/ of the DrupalGap SDK, then this issue can be closed.