Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
793 views

Reload js behaviors after click

I'm using boostrap 3 with modals. I've a button that opens a modal, in the modal there are some facet blocks. The view has ajax enabled, so when I click on a facet the page is not reload but are ...
arrubiu's user avatar
  • 3,294
0 votes
1 answer
169 views

javascript hack added to every body field - how can I global search and replace?

In the last week it seems that all my drupal sites were hacked. One problem I have is that a javascript was inserted at the beginning of every content body field. Attached is an image. I have ...
pjg's user avatar
  • 101
0 votes
1 answer
876 views

How do I avoid behaviors are invoked after an AJAX call?

I have a search result page, with the first set of data being fetched during the page load, and we add a Load More button. Clicking on this button fires an AJAX call, using the ajax_links_api module. ...
Vaibhav Jain's user avatar
1 vote
7 answers
1k views

How to remove default 'search' text form search form

I can't seem to figure out how to get rid of the default text "search" on my search form (located here: http://dev.mysourcewise.com/media-center) I can confirm the following works in Chrome's console:...
Webdrips's user avatar
  • 742
1 vote
0 answers
247 views

Search box using Googles places API to search Leaflet map

I'm setting up a business directory for Bangkok with hotels based on the BizReview theme/installation profile. SETUP Content type In order to store bussiness locations I use a content type with a ...
Jasper's user avatar
  • 69
1 vote
0 answers
20 views

Search results also show code

I have created some nodes containing Javascript code into body field using Php filter. I also have tried by using Full Html filter. Now when I search through default drupal search then result list ...
WaQaR Ali's user avatar
  • 1,706
0 votes
1 answer
2k views

How to display search block in a modal dialog

What I would like to accomplish is to display the search block in a modal dialog when the user clicks on a search button that I have created. I have created a search button block (basically an image ...
user5013's user avatar
  • 1,497
3 votes
1 answer
1k views

ApacheSolr Search results with AJAX (D7)

I've been searching the web for ways to display my search results directly in a block after submitting the input form with AJAX. Unfortunatly, i haven't found alot of good information on this subject....
Paul's user avatar
  • 241
2 votes
2 answers
4k views

How to select multiple values for Drupal Facets (Facet API + Search API)

I am using Facet API + Search API to develop Filtering for the data within my site. I am also using Ajax Facet Filters to process the selection as soon as it's clicked. It all came out great but ...
user219492's user avatar
2 votes
1 answer
1k views

How can I pass proper querystring when Search from Drupal using my custom search box?

I have this search form in my drupal site. <form id="mysearch" method="get" action="<?php echo $base_url.'/search/node/'; ?>"> <input type="text" maxlength="150" id="search" name="s"...
AshwinP's user avatar
  • 406
0 votes
1 answer
464 views

How can I insert search box in front html page? [closed]

I tried to show the search box in a custom front page, which is a regular HTML page. How can I achieve it?
roger T's user avatar
  • 11
5 votes
1 answer
2k views

How do I display Search API Facets and Openlayers Proximity search in one view?

I am trying to add search facets to a specific views page that uses the openlayer proximity filter. So far I can only show facets in a view if I create a new view showing the search index I created in ...
tecjam's user avatar
  • 1,151
4 votes
1 answer
360 views

Javascript code appears in search results

I use JavaScript in the body of a node with some PHP code. After I run cron.php and search on the site, I can see Drupal indexes the JavaScript code contained in a node. How do I avoid Drupal indexes ...
user780's user avatar
  • 1,039