Yes, bang on, thanks for your continued patience
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Marc,
I've adjusted the relationship filter for the view so it should now be displaying to related task for the timesheet.
Please let me know if everything is ok now.
Thanks,
Shane
Thanks, I have the task displaying as expected:
hidden link
Is it possible to put this template on this page:
hidden link
And another query:
I have followed the instructions on this page: https://toolset.com/forums/topic/calculator/ but when I add the code: [wpv-calculate] [types field="mon"]+[types field="tue"][/wpv-calculate], it breaks the page.
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Marc,
Are you saying you want to put the table on this page here ?
hidden link
This is an edit template could you let me know which template you have in the edit form on ?
Secondly below
I have followed the instructions on this page: https://toolset.com/forums/topic/calculator/ but when I add the code: [wpv-calculate] [types field="mon"]+[types field="tue"][/wpv-calculate], it breaks the page.
Unfortunately i'm unable to assist with this as this would be custom code which falls outside of the scope of our support forum. This was a custom code created by one of our past supporters so it is not something that we can support.
Thanks,
Shane
It’s a page called edit-my-timesheet and it has a TS form on it called add-a-task
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Marc,
Thank you .
Ok so in this case it is still possible to display the tasks given that the parent ID is being passed in the URL as "parent_timesheet_id"
What you will need to do is to create an exact copy of your "Timesheet editor" view adding back the Query filter for the Post relationship. However instead of setting the relationship to get the parent from "The post where this View is shown " you will set it to "The post with ID set by the URL parameter" See Screenshot
You will need to change "wpv-relationship-filter" to "parent_timesheet_id"
Then add this view to your edit template. Once you've done this then your view will start displaying the tasks information for that parent.
Please let me know if this helps.
Thanks,
Shane
This all works beautifully, thanks.
How do I get the timesheet name (20-05-04) in the body or the title on this page: hidden link
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Marc,
You will need to use this shortcode.
[wpv-post-title item="[wpv-search-term param='parent_timesheet_id']"]
Try adding this to your page and let me know if the title starts to show up.
Thanks,
Shane
My issue is resolved now. Thank you!