Answer the question
In order to leave comments, you need to log in
How can I implement the "archive" button in drupal?
All materials are displayed using views in the table.
The table shows some fields, along with "delete" or "modify" buttons.
There you also need to "stick" the button "into the archive". A node with this parameter will appear in a different view.
It would be great if it disappeared from the list on ajax))
What modules can implement this task? Or no module?
Answer the question
In order to leave comments, you need to log in
https://www.drupal.org/project/flag
To disappear - you have to add a few lines of js
Indeed, everything was decided with the help of the flag module .
And to hide lines with an already "pressed" button, I used the Views Flag Refresh module . This article
also helped .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question