The module development and code questions forum is intended to aid those who are developing modules or writing code for Drupal.
Please note that this forum is also not intended for "Is there a module that does..." or "I need help with module x..." questions. It's also not a place to ask developers to write your code for you. Please respect this.
Please do not post general discussions intended to target module developers. If the question you have isn't specifically related to writing a drupal module, please post it in a more appropriate forum.
If you you have drupal installed already and are seeking a module that does a specific task, have a question about a specific module and what it does or if it will fit your use case, please place your questions in the Post installation forum.
If you have a problem or question about a specific module, you should create an issue in the module's issue queue (after checking for an existing issue first).
If you don't have drupal installed yet, please place your questions in the Before you start forum.
I have added a field in context filter and checked "Allow multiple values". The field is actually a custom field (not a taxonomy term), which was added to a content type. Now the filtering is working fine ONLY when I pass 2 values as "OR" condition (val1 + val2). But the filtering is failing when applying "AND" condition (val1, val2). The "AND" condition also gives the same result as the "OR" condition.
Will it be a context filter configuration issue or a bug in Drupal 8? Please advice, if someone has faced a situation like this and found a solution for it.
I have a use case wherein I want to create a custom table using the hook_schema() function which will have a couple of image fields. Now, I want to prefill some data into this custom table. How can I go about creating an image field for my custom table, and then inserting an entry with an image in it so that the image could be displayed using a query on the front end?
PS: I'm using Drupal 7. Also, I do not want to use the node system or CCK fields for this use case.