Hi all,
I have a few challenges for those who think they like Couch Today is the first one.
First of all, it is for your entertainment with code and problem solving (although it has some merit in real world websites), so if you up to a challenge (not you, @KK, please be a judge on this) then try sharpen a tooth on the following task:
- 1 -
Create a simple text field in Couch AdminPanel, that can be saved with something only once but never changes its value again during subsequent page saves.
To clarify: the user can turn it from a blank text field to some text -- but after saving, they can't change it again via Admin Panel.
- - -
A solution comes with no PHP involved! Do not spoil the answer to others, as there are maybe different approaches. Simply send a PM with working code for the judges (me and @KK). Discussion is welcome in this thread. No deadlines, but if it takes more than a couple coffees, then ask around for the hints. Good luck
P.S. Once we get a few answers, we'll rate them here by the "Most elegant", "Most brief" etc. This first post of the topic will be updated over time.
P.P.S. Every winner who solves the task receives a special treat.
I have a few challenges for those who think they like Couch Today is the first one.
First of all, it is for your entertainment with code and problem solving (although it has some merit in real world websites), so if you up to a challenge (not you, @KK, please be a judge on this) then try sharpen a tooth on the following task:
- 1 -
Create a simple text field in Couch AdminPanel, that can be saved with something only once but never changes its value again during subsequent page saves.
To clarify: the user can turn it from a blank text field to some text -- but after saving, they can't change it again via Admin Panel.
- - -
A solution comes with no PHP involved! Do not spoil the answer to others, as there are maybe different approaches. Simply send a PM with working code for the judges (me and @KK). Discussion is welcome in this thread. No deadlines, but if it takes more than a couple coffees, then ask around for the hints. Good luck
P.S. Once we get a few answers, we'll rate them here by the "Most elegant", "Most brief" etc. This first post of the topic will be updated over time.
P.P.S. Every winner who solves the task receives a special treat.