Quick php fix
- or -
Post a project like this2495
$$
- Posted:
- Proposals: 4
- Remote
- #1600821
- Completed
Description
Experience Level: Intermediate
Hello
We need to have a Drupal block Displayed uppon certain conditions.
Basically we have 2 content types:
Idee
|- field_challenge_reference (node reference)
challenge
|- field_depot_idee_possible (text list)
We've used the php condition on the block display to make it appear on all idea content type having a node reference to a challenge content type.
Attached is the code we used to display the block when the field 'field_challenge_reference' was not empty (meaning there is a challenge linked/referenced)
That is working. But now our customer want to display that block only when a field 'depot_idee_possible' is set to 'Oui' (text value) on the challenge referenced.
Could you help us modify the given php condition ?
Looking forward to hearing from you,
We need to have a Drupal block Displayed uppon certain conditions.
Basically we have 2 content types:
Idee
|- field_challenge_reference (node reference)
challenge
|- field_depot_idee_possible (text list)
We've used the php condition on the block display to make it appear on all idea content type having a node reference to a challenge content type.
Attached is the code we used to display the block when the field 'field_challenge_reference' was not empty (meaning there is a challenge linked/referenced)
That is working. But now our customer want to display that block only when a field 'depot_idee_possible' is set to 'Oui' (text value) on the challenge referenced.
Could you help us modify the given php condition ?
Looking forward to hearing from you,
Mathieu D.
100% (15)Projects Completed
13
Freelancers worked with
9
Projects awarded
100%
Last project
4 Jun 2020
France
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
what will be time frame for the same ?
436658
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies