Completed

Drupal 7 view with exposed filters and relationships

IMPORTANT NOTE:

I will only consider proposals that show me that you have read this description. Please, make sure you understand this task and tell me how you will approach this (within views, own module, etc.). In addition, please tell me what else you would need from my end to accomplish this project (access to sandbox page, additional information, etc.).

ABOUT THE PROJECT:

I am running a website that is built on Drupal 7. The main page on my website is a view that has several exposed filter. Let me explain this view first:

• The view displays all nodes of content type A.

• I have around 20 exposed filters that are checkboxes and jquery sliders

• I use the module Better Exposed Filters to make the filters more user friendly

• I use the module MEFIBS to display the filters in different blocks

• For the jquery sliders (in between) I load the current min and max values via database query in the [login to view URL] file

User role U1 can create nodes of content type A. Content type A contains around 30 fields. Two of them are Field Collections F1 and F2.

Now, I’ve made the following changes:

• I created two other content types B and C

• Content type B contains Field Collection F1; content type C contains Field Collection F2.

• I created a new user role that can create nodes of type B and C

• Both, content types B and C contain an entity reference field to reference to a node of content type A

This means all three content types contain the field collections F1 and F2. Some of the exposed filters in the view are based on F1 and F2 field collection fields.

This is basically the status quo.

What I need:

I need to adjust the view that I’ve described above with the following requirements:

• The view should still only display nodes of content type A

• If a node of type A is referenced by a node of type B or C, the field values of B and C should be considered when a user filters the view.

Example:

Field ‘price’ is a field within field Collection F1.

Node 1 of type A contains value for field price = 3000 EUR

Node 1 of type B contains value for field price = 1000 EUR and references to Node 1 of type A (via entity reference field)

This works: If the exposed filter range is set between 0 EUR and 3000 EUR, node 1 of type A is displayed.

That’s not working: If the exposed filter range is set between 0 EUR to 1500 EUR, node 1 of type A should also be displayed because the referencing node 1 of type B has the value 1000 EUR

This is one an example to demonstrate what I mean. Field Collection F1 and F2 have about 8 fields each that are used as exposed filter in the view.

I have tried to accomplish this task by using the views relationships but I was not able to get it done correct as I am no professional coder. I assume that an experienced coder can do this easily.

Skills: Drupal, MySQL, PHP

See more: drupal views relationships, drupal 8 views relationship entity reference, drupal views filter, entity reference relationship views, drupal 8 contextual filters, drupal 8 relationships, drupal views node reference relationships, drupal views entity reference contextual filter, drupal conditional values exposed filters, drupal views conditional exposed filters, drupal views php exposed filters, drupal theming views exposed filters, drupal embed view exposed filters, views embed view exposed filters, drupal change location exposed filters, drupal exposed filters work, exposed filters views drupal, drupal exposed filters views, drupal exposed filters, drupal views exposed filters

About the Employer:
( 0 reviews ) Ravensburg, Germany

Project ID: #16967875

Awarded to:

cbartol

Hi, I think I've understand your problem which is one that you can not resolve using the standard views module functionality. What I can offer you is to write a custom module in order to get the results you want. More

€200 EUR in 7 days
(0 Reviews)
0.0

18 freelancers are bidding on average €196 for this job

sapotacorp

Dear ThuleNB! If you want then we can have a 1-1 discussion on FL chat. kindly let us know. Our Drupal's projects: [login to view URL] Our latest Germany's projects: [login to view URL] More

€202 EUR in 5 days
(848 Reviews)
8.4
minhhoangduc

For for requirements are unable with Views modules because it will generate a complex SQL statement. Therefore, we only need to create a custom module then using Drupal hook view api to change its SQL statement.

€155 EUR in 3 days
(602 Reviews)
8.2
drupalashish

hi, i can fix your view, i have 10 years of drupal experience and can do it right away i am a drupal contributed module developer Thanks Ashish

€250 EUR in 3 days
(93 Reviews)
6.7
webmynesys

Hello There, My name is Manish, I am a senior Drupal developer with 7+ years of experience. I have read your requirement to get a result on both content type. I can use multiple contextual filters and relatio More

€160 EUR in 3 days
(74 Reviews)
7.0
webteklab

Hello, I have 8 years of experience in PHP+ framework with advance knowledge in Drupal theme and module development. Some of my Drupal 7 work: [login to view URL] [login to view URL] http://www.s More

€200 EUR in 5 days
(107 Reviews)
6.4
widadsaghir1993

Hello sir. Nice to meet you. I'm a Web expert and FULL Time Developer. I have checked your requirements carefully. I have rich experience in PHP,, MySQL Website design, CSS, Javascript, etc. I can start work imm More

€277 EUR in 3 days
(27 Reviews)
5.7
akshayKelotra123

Hi  I found the opportunity you posted and wanted to introduce myself. My name Akshay Kelotra and I am working as Drupal developer from last 5 years. I have expertise in HTML5, CSS3, JavaScript, jQuery, Bootstrap, Dru More

€188 EUR in 3 days
(16 Reviews)
5.3
ProfSoftStudio

Dear Sir! I make Drupal 7 view with exposed filters and relationships ++ This is my job. I'm ready to begin now. Pm for me. Please check my reviews and profile https://www.freelancer.com/u/ProfSoftStudio.html

€250 EUR in 3 days
(73 Reviews)
5.6
DrupalThemer

Hi, it's my job! I can get this done easily for you using multiple contextual filters and relationship. Please message me to get started now. My bio: I'm a Drupal themer/developer, I have over 8 years working on var More

€133 EUR in 3 days
(18 Reviews)
4.8
busywizzy

Drupal and Laravel developer Hello Employer, As I can read your requirement , I am a Drupal and Laravel developer and I am confident enough to complete your task with quality on time . I hope that yo More

€250 EUR in 3 days
(14 Reviews)
4.6
€250 EUR in 3 days
(32 Reviews)
4.8
Aumbss

Hello Sir, I read the project description and based on that, what I understood is you are looking to have the results of from both the content types, i.e. type A and type B or C when a node of type A is referenced b More

€90 EUR in 2 days
(4 Reviews)
3.8
relevanceinfo

Hello, ABOUT PROJECT As you mentioned below, I am very kowledged and experienced in Drupal 7 view with exposed filters and relationships. My Portfolio - [login to view URL] [login to view URL] htt More

€250 EUR in 5 days
(26 Reviews)
5.0
sku5551ed6fd9643

I have read you job description very carefully. I have done this type of before. i am very sure i will do that with 100% with my quality [login to view URL] are sure that we can deliver you immediately the best work. You can be su More

€250 EUR in 3 days
(9 Reviews)
2.9
sara0611988

Hii I checked your description and as per my understanding you have to add price field twice in view with relation to node type B also and with jQuery slider you have to filter these two fields with selected range wit More

€111 EUR in 3 days
(5 Reviews)
2.5
murali69

Hi, This is Premnath writing from Why Global Services. I'm a Senior Web developer having more than 6+ years of experience in Web application design and developments. Kindly ping me back with the detailed require More

€155 EUR in 3 days
(0 Reviews)
0.0
tauseefmustufa

Hello, Understood your requirements for Drupal 7. we can do this. Will provide you the best results. Please discuss the project on chat. Thanks, TAG Management

€150 EUR in 7 days
(0 Reviews)
0.0