Unanswered Questions

16
votes
1answer
2k views

Programmatical use of Search API

Problem: Need to run my own searches programmatically with Search API. Every google result I find is geared toward teaching non-developers how to use the module with Views with no results on doing it ...
8
votes
1answer
225 views

Services' register.json does not login the user or return the user's session/token/password

I have tried far too many variations to list here, but the basic point is I cannot get the user logged in immediately after registration via Services. I have tried a fresh Drupal 7.33 install with ...
8
votes
2answers
684 views

Cannot edit existing content

I've unfortunately run into a rather major issue on an existing Drupal site. I recently applied the updated from Core 7.12 to Core 7.14. Since then, I can create new content in the admin panel, yet ...
8
votes
3answers
737 views

Loading nodes from another Drupal database using Views

I'm trying to use Views to load nodes from another Drupal database defined in settings.php with a key of 'cms'. Both sites are Drupal 7. The other database is a different Drupal install which is ...
7
votes
1answer
318 views

How to access values from earlier steps in multi-page Webform?

I'm using Webform 4. It uses Drupal's tokens, not it's own % tokens like it used to in version 3, and pretty much all what I found was about webform 3. Say I want to make multi-page subscription ...
7
votes
3answers
682 views

yes/no rating with node reference target

I have a review content type that (node) references a product content type. I'm using fivestar ratings for overall rating and specific ratings. With fivestar I can make the product the "vote target". ...
7
votes
3answers
760 views

LIKE clause not working in hook query alter

I'm trying to replace the default search with a LIKE clause in Drupal 7. I tried to alter the query according to What is the best way to add an OR condition to an existing query?: function ...
6
votes
1answer
245 views

Insert 'select all' choice in a particular level in Taxonomy Term Reference Tree Widget

I'm using D7. And I have a big term reference tree with Term Reference Tree. There are so many terms in the tree that I'd like to put 'select all' choice in it for usability. Is it possible to put ...
6
votes
6answers
457 views

Comment Reply Form through Views

I think this is an interesting question, and I am wondering whether there is a possible solution to this using views. We have a comment body, using views, where we have the name, comment, picture, ...
6
votes
1answer
638 views

Setup Event registration and paypal payment

Website is running on Drupal 7. We have events and we take registrations for them. Entity Registration module is installed for that puprpose and it's working great. Now, since those events are paid ...
6
votes
1answer
404 views

Query method not triggered in custom filter handler?

First time on Stackoverflow so , I will try to be as clear as possible. I'm using Drupal 7 and Views 3. I needed to create a custom Views filter that handle dates range. So I looked at example and ...
6
votes
4answers
601 views

pager_query() - How to fetch only 100 records with a pagination 10 items per page?

$result = pager_query($query, 10, 0, NULL, $args); Currently with above code , I am getting all results with 10 items per page. But I need to display only first 100 records , with 10 items per page. ...
6
votes
1answer
377 views

Multisteps Webform loses current page when refreshing browser

I've created a Webform with three steps. When I refresh the browser (F5) on step 1 and 2, I correctly remains in the same page. If I do the same in step three, I go back to step 2. For ALL the steps ...
6
votes
1answer
342 views

Alter entity reference autocomplete field

I have made a module to alter the way entity reference works with autcomplete fields. I have override the entity_reference_autcomplete function where i have changed the following line: $key = ...
6
votes
2answers
2k views

How do you change the default sort in apachesolr?

I've been trying to get this figured out for a couple days now, and I feel like I'm close, but as of yet no cigar. I need to make the apache solr search on the site I'm working on to have two sorts, ...

15 30 50 per page