Hello,
I've been working on a big project lately, so I am posting a lot questions.
Hopefully, these questions will also help some other people that might have the same ones.
Here's my question :
Is it possible to use custom_field in a masterpage element to filter the content of it, based on a relation editable in that page?
Here's what I have.
I am using a JS calendar, and displaying the events based on what is inside the "contrats.php" page. It works fine without the custom_field filter, but won't display anything with it. Here's my code (part of it):
Inside the "proposals.php" page, there's a field where the user can select which contact is linked to this proposal. Contacts are added via another clonable page. It acts a bit like some sort of address book.
What am I doing wrong?
Is that even possible to link a relation field in a "custom_field" property to filter data of a page?
Thanks!
(sorry english is not my native language and this one was hard to explain)
I've been working on a big project lately, so I am posting a lot questions.
Hopefully, these questions will also help some other people that might have the same ones.
Here's my question :
Is it possible to use custom_field in a masterpage element to filter the content of it, based on a relation editable in that page?
Here's what I have.
I am using a JS calendar, and displaying the events based on what is inside the "contrats.php" page. It works fine without the custom_field filter, but won't display anything with it. Here's my code (part of it):
- Code: Select all
events: [
<cms:pages masterpage='proposals.php' custom_field='contact_dropdown=<cms:show k_page_title/>'>
{
title: '<cms:show k_page_title/>',
start: '<cms:show start_date_test/>',
color: '#FF0000'
},
</cms:pages>
]
Inside the "proposals.php" page, there's a field where the user can select which contact is linked to this proposal. Contacts are added via another clonable page. It acts a bit like some sort of address book.
What am I doing wrong?
Is that even possible to link a relation field in a "custom_field" property to filter data of a page?
Thanks!
(sorry english is not my native language and this one was hard to explain)