Answer the question
In order to leave comments, you need to log in
Storing site parameters without PHP, is it possible?
Hello.
There is a site https://snipp.ru/view/69 , at the end there is an example with saving parameters in a cookie. How to implement saving the positions of elements so that I would come from another PC and see the sorted list? PHP is not.
Answer the question
In order to leave comments, you need to log in
Everything is perfectly possible, you just need to understand that we need to take the state to another place. You can do without a server, just put the complexity in a separate service, for example, firebase. We get the order from there and redraw the element through JS or draw it from scratch
You can use an anchor link in the URL containing the desired sorting settings, such as: #DFGdfgDFGddGGD
or #list4-2-4-434
etc.
When it is called, you process the anchor with a JS script and restore the display parameters.
No way. The data should be stored on the server, no matter how you want it.
You will have to connect an external service. For example, from Google. And in order to save something, you have to log in through them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question