Using edit record
-
Great plug in. Just trying to make it work exactly as I need it to.
I am using Weaver II Themes with Weaver XTreme Theme support. I am also using a plugin called “Hide This” to protect the content from being visible to anyone who is not logged in.
The database fields include a Multi-Select Checkbox which can be ticked to identify the club/s a participant attends. There are also text-fields for each club in the record which will be used to record attendance based on week no for each club.
On my list page “Members List” I have this code:
[pdb_list search=true sort=true filter=delete_record=no single_record_link=”edit-record”]The first field displayed in the list is a clickable profile image that has been uploaded.
On my single page “Participant Profile” I have this code:
[pdb_single fields=first_name,last_name,date_of_birth,address,zip,phone,email,publicity,allergies,conditions,ethnicity,your_profile_picture,emergency_first_name,emergency_phone,emergency_contact_2,emergency_contact_2_phone]On my record page “Edit Record” I have this code:
[pdb_record]In the settings for the plug in I have set the Participants Record Page to “Edit Record” and the Single Record Page to “Participant Profile”.
ISSUES:
1) Clicking on the profile image in the list takes me to the Participant Profile page with the [pdb_single] shortcode. I cannot get this click to take me to the Edit Record page successfully. The only times I have it does not have the record id of the selected record.2) I can set a filter for deleted records as per the guidance given. How can I identify filters for a multi-select checkbox? For example, of 10 listed clubs if I click onto a page for the fifth club in the list how can I filter records where this is true?
3) I had hoped that the single_record_link in the [pdb_list] shortcode would allow me to specify a specific page for different lists. I want to use the list with clickable images as a register where clicking on an image would toggle a participants attendance. I’ve got a lot of template reading to do but any quick pointers as to where I would trap this would be great.
In item 3) above I am looking to amend the attendance string by replacing a position in the string based on a week number calculated using the current date. Clicking on the image would toggle the attendance for the current week between Not Present – ” “; Present – “P”; Present IOU – “O”; Junior Volunteer – “V”. Ideally the list could show the current value for the current week number. The attendance string allows for up to 255 characters so I should get plenty of weeks use out of this!
I would be grateful for your help with items 1 to 3. I’ve just recalled something about asking you to quote for developing items specifically so I shall send that in a separate email.
- The topic ‘Using edit record’ is closed to new replies.