Find Jobs
Hire Freelancers

Drupal 7 view with exposed filters and relationships

€30-250 EUR

Completed
Posted almost 6 years ago

€30-250 EUR

Paid on delivery
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.
Project ID: 16967875

About the project

17 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
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. I think that the best option is to write a module which implements various views hooks (you can read about them at [login to view URL]) so we can get the result you want (we can change the query in order to search content types A, B, and C and get the results we want from there) In order to complete the project I would need a copy of the site (it is better if it is a complete copy in order to test it, but if you prefer it to be a sandbox with random data... it is no problem for me, but I can only guarantee the module to work with the sandbox data then). I would also ask you to give me some use cases so we can check that everything works as you want. (This is to detail "if you check X, Y, and Z then A should appear")
€200 EUR in 7 days
5.0 (6 reviews)
4.5
4.5
17 freelancers are bidding on average €191 EUR for this job
User Avatar
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
4.9 (661 reviews)
8.4
8.4
User Avatar
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
5.0 (98 reviews)
6.7
6.7
User Avatar
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 relationship to achieve the requirement. Or Write a module with views hooks, There how we achieve wanted the result. Please provide me access to the website to begin the work. Looking forward to hear you. Please initiate the chat. Thanks and Regards, Manish
€160 EUR in 3 days
4.6 (86 reviews)
7.3
7.3
User Avatar
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
4.8 (98 reviews)
5.9
5.9
User Avatar
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 various Drupal (D6-D7-D8) projects from theming (Design, HTML, CSS, Javascript) to development (PHP, MYSQL, Drupal). I can create new themes and new modules, fix theme issues and module issues, create and upgrade Drupal sites, also suggest the best solution for Drupal site owners. Many thanks, Hoa
€133 EUR in 3 days
4.7 (19 reviews)
4.9
4.9
User Avatar
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 by the reference field in a node of type B or C, when a user filters using a field used in field collections F1 and F2. We are a team of 3 Drupal experts with 6+ years of experience. One member of our team, who is my wife is having 10+ years of experience, so we can surely help you solve this issue. We have done this type of task, i.e. showing the results of a node that is referenced by another node, and we can do this using relationship feature of views. We can discuss more if you have any question. Looking forward to working with you. Br, Jignesh
€90 EUR in 2 days
5.0 (4 reviews)
3.8
3.8
User Avatar
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 with a or condition. I can solve this issue for you. Thankd
€111 EUR in 3 days
4.9 (5 reviews)
2.5
2.5
User Avatar
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.0 (0 reviews)
0.0
0.0

About the client

Flag of GERMANY
Ravensburg, Germany
5.0
1
Payment method verified
Member since Apr 28, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.