hansv Posted January 21, 2016 Share Posted January 21, 2016 Hey everyone In PW there are so many solutions for a problem and this freedom creates this kind of questions! I want to make a to do list where logged in users can add a task at the front-end and change, search fields at the front-end. My to do list items: Date (autofill today's date) Task description (short one line text) Priority (high, medium, low) Due date Persons (= who will perform the task, multiple persons can be selected) task progress (1 ....., 2 ......, 3 ......, 4 completed) Remarks My dream is to make a page as http://ohmspeaker.com/speaker-filter/ discussed in the forurm-topic: https://processwire.com/talk/topic/3671-ohmspeakercom/ and when choosing the topic you can change some items (task progress, remarks, ...). In PW showcases there are so many beautiful websites. Sometimes the modules used are mentioned, but it is so dfficult to see how they accomplished the task. How do I manage this in my case? I make regular pages with all mentioned fields? Make use of repeaters? Do I have to wait for the new Pro Repeater Matrix? Do I use Pro Table? I use PW 2.7.3 and Zurb Foundation 5 as front-end framework, do I use Fredi to edit at the front-end or is this not necessary? Has anyone suggestions? Thx Link to comment Share on other sites More sharing options...
Macrura Posted January 22, 2016 Share Posted January 22, 2016 i would just use fields for your fields; there are fields for all of these: date: datetime description: textarea priority: options persons - page multi select progress - options/select or radios, or slider, or pages/radios for the frontend, you use dataTables to list your items; the filters are simple and done with javascript; a lot of examples on dataTables website Link to comment Share on other sites More sharing options...
hansv Posted January 23, 2016 Author Share Posted January 23, 2016 @Macrura, thx, in attachement a new issue My website is multilangual at the front-end. The todo-list is for the users in the backend and is only in Dutch. For all users the language in the profile is set to dutch. Problem is when entering the title (Taak) field, its default entered in dutch (NL), and gives a remark that a value is required (in the for PW default language English EN). I could ask my users to first select the English language (EN) and this would solve the case, but this is not 'clean'. Because the title-field is a PageTitleLanguage field it is required, also in the back-end. I read the forum-item about set the title-global argument off, but is also not clean and probably is a problem in the frontend? Is there a way to turn of multilanguage in the back-end? Is there a way, when I fill the dutch-title field, it would automatically populate the englisch title field? Link to comment Share on other sites More sharing options...
gebeer Posted January 23, 2016 Share Posted January 23, 2016 You should set dutch as the default language in the backend to avoid those kind of problems. Or you can use a hook before page save to automatically populate the default language (english) fields with the value from the dutch fields. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now