Skip to main content

All Questions

Tagged with
233 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
1 answer
1k views

How to add multiple products to cart at the same time with attributes

I have different view blocks that display multiple products on the same page, each product has their own attributes such as product bundle and custom line item, these serves as an option set / ...
Danz's user avatar
  • 439
4 votes
0 answers
504 views

View exposed filter block no alter form with ajax

I am trying to filter out the no results items in my exposed filters. (I know i can use selective filters, but in this case i can't use them). So i alter the filters with form_alter, check which ...
mgoubert's user avatar
  • 379
4 votes
2 answers
3k views

How can I create an image gallery?

Currently I am running in D7 with the following modules: Media 7.x-2.0 Views 7.x-3.7 Colorbox 7.x-2.4 I am trying to create an image gallery using these modules with the following steps. Please ...
otc61686's user avatar
4 votes
2 answers
4k views

How to trigger a form and pass variables to $form_state with jQuery?

What is the way to trigger a Drupal form via JavaScript, and pass new values to $form_state while doing so? I have a main form, which has an element that triggers a jQuery UI dialog with a form in it. ...
Danny_Joris's user avatar
3 votes
0 answers
2k views

Multiple date picker for date popup widget

I've been searching for a while, but didn't find any contribute module to store multiple date values picking them from only one date popup calendar widget, just a 2009 feature request for D6. In D7 I ...
Cheope's user avatar
  • 137
3 votes
3 answers
1k views

Views UI doesn't provide links to expand fieldsets anymore

I have moved an entire drupal site to another server. While everything else seems to work fine, I can't quite access collapsed fieldsets in Views UI anymore. It looks like this All fieldsets (STYLE ...
Paul's user avatar
  • 1,233
3 votes
1 answer
3k views

Why does jQuery slideToggle revert back to initial hidden state after running?

I have a Superfish menu and a simple jquery slideToggle animation attached to each menu item. I am using Drupal 7 & the Superfish module. The idea is that on click it will show the body content ...
ricardoom's user avatar
2 votes
0 answers
411 views

Why does my chart created with Easychart not display a chart if number of points are more than 1000?

I installed Easychart module 7.x-3.7 in my Drupal 7.51 site. I'm using Highcharts 4.2.7 in libraries 7.x-2.3. In the example contenttype easychart_ex, I tried uploading a data.csv file with number ...
Sundar's user avatar
  • 73
2 votes
0 answers
209 views

Webform and fabric.js integration

I'm trying to design a form that allows a user to design a custom tshirt. I was thinking of using the fabric.js library to let the user design a custom image and submit it with other custom ...
Paul Morris's user avatar
2 votes
0 answers
228 views

Implementing Multi Select List as a popup for Views Exposed filter (field of type taxonomy)

I am trying to implement http://demos.jquerymobile.com/1.4.5/selectmenu-custom/#popupDemo&ui-state=dialog in a Views Exposed Filter . Screenshot of Desired Implementation: http://...
harshal's user avatar
  • 4,354
2 votes
0 answers
53 views

Form always visible even when radiobutton value is changed (form api)

i'm having an issue with the property #states visible on a form. I want to hide it when form mercuriale's value is 1. $isMercuriale = db_query('SELECT isMercuriale FROM groupes_catalogues WHERE id = ...
Germain's user avatar
  • 170
2 votes
2 answers
1k views

How to validate file is selected or not on ajax processed jquery validation

I am trying to do jquery validation on file upload for file is select or not. I want when user click on upload before submit check file is selected or not. if not stop ajax request. Any Idea to ...
user1331433's user avatar
2 votes
0 answers
249 views

Passing an object to settings using drupal_add_js

I'm working on a module that will generate a graph using Google's chart api. The data used to generate the chart uses date objects because I'm graphing race times, like this [ ['Number', 'Time'],...
Robbert's user avatar
  • 563
2 votes
1 answer
215 views

Including JS files in template.php to control weight/order/group

I'm looking to include a few JS files (some libraries, others are custom modules with dependencies on libraries). Originally I had all JS files added through our .info file, and while I could control ...
alex.agat's user avatar
  • 121
2 votes
2 answers
2k views

Trigger jQuery "add more" multiple times

I have a form that I am filling with default values in hook_form_alter. Some of the fields are in a in a field group and I need to trigger the "add more" button using code. I figured out how to send ...
Venn's user avatar
  • 83
2 votes
0 answers
364 views

How to get current XHR object?

My requirement is to add cancel button to AJAX file upload. I know how to add Cancel button when upload starts but how can I get current XHR object to call abort() method on it? Current code: (...
Codium's user avatar
  • 4,953
2 votes
1 answer
168 views

Openlayers Scalability suggestions

So, like everyone, when I came accross the requirement to incorportate maps into my Drupal site, I googled for solutions and that pretty much led me straight to the Openlayers/Geofield solution. Not ...
user avatar
2 votes
0 answers
115 views

Creating ajax forms with ajax

I have been trying to implement popup forms that load dynamically, which initially seemed pretty easy. My current method is to echo the form from a menu callback, and insert it where needed with js. ...
MWay's user avatar
  • 273
2 votes
1 answer
128 views

how to implement a data receiver service in Drupal

I have a Drupal site which will host a flash application. The application will be inserted in a node body (or as an attachment, not sure yet). I would like this application to send some data to Drupal ...
camcam's user avatar
  • 2,121
2 votes
0 answers
77 views

Drupal 7.14 include old removed javascript files

I've included at some point some javascript files via : <?php drupal_add_js('my_file.js'); ?> I removed those files, but now, I've got 404 errors even if there is no call or instructions at ...
SuperSkunk's user avatar
2 votes
0 answers
193 views

Prepopulate a field using bookmarklet in Drupal 7

I am trying to autofill a field using prepopulate module and custom bookmarklet. The field's name is "field_source" and I want to populate it with the page's url. The existing code found in help.txt ...
Clement Ckh's user avatar
2 votes
0 answers
216 views

How to debug IMCE javascript problem

I have a D7 site with CKEditor + IMCE. The main site (www.example.com) IMCE works as expected. My staging site (cloned w/ Backup & Migrate) (staging.example.com) IMCE javascript is not working ...
Colin's user avatar
  • 21
2 votes
0 answers
295 views

Create splash ad?

Drupal 7.7. I have front_page installed and working for Anonymous users - testing it out with a ten-second expiring cookie and this: <?php print 'Splash Ad!<br/><a href="index.php">...
Mike's user avatar
  • 755
1 vote
0 answers
981 views

Video does not pause automatically when slider change in FlexSlider

I'm using version drupal 7 to create the "slideshow" to display the slideshow of the video, each video is embedded in its own content item. When the user starts to play the video, if the ...
evasim's user avatar
  • 11
1 vote
1 answer
730 views

Drupal EU Cookie Compliance module conflict with theme JQuery

When I first installed the module, it'd only appear in admin pages. After some investigation, I discovered the cause was some sort of conflict with my themes jquery: jquery-1.11.2.min.js. If I ...
solaris's user avatar
  • 51
1 vote
1 answer
174 views

How to add multiple js files in hook_field_widget_form()?

When I load two JS files using drupal_add_js() as can be seen in the code marked "After", it does not show alert() text on page load and also when I click on the button created in the form to load ...
harshal's user avatar
  • 4,354
1 vote
1 answer
43 views

How to alter existing page of a node that is Organic Group and add Two links above

i am using Drupal 7 with og support and also the og corresponding modules (og, entityreference, services_menu) inside DrupalGap. As can be seen from the picture i want to add some links(drawed in ...
roko's user avatar
  • 47
1 vote
1 answer
61 views

Add content to drupalgap drop down

I have recently started working with D7. I made a test page and installed drupal gap to run it with mobile-application. I wants to assigned more nodes to the drop down menu under contents, taxonomy ...
JavaJunior's user avatar
1 vote
0 answers
48 views

How to display the other images along with popped up image?

I want to achieve the images as pop-up and also other images along with pop-up. I have used the color box module for displaying the images as pop up. Now, I displayed the image in pop up but i ...
logeshvaran's user avatar
1 vote
0 answers
46 views

Including JS into webpage

I'm trying to use a small piece of JS code in my site (D7). The code should automatically insert a guid to an <input> field with "my-input" ID on page and set this field to "readonly", like this ...
Miroslav's user avatar
1 vote
0 answers
42 views

jQuery with ajaxify form field

I write a small module which calculate 2 values out of nodes and print it in a block with two form fields. One with the value as markup and the other is a ajax checkbox that switch through the two ...
Bruno's user avatar
  • 327
1 vote
0 answers
504 views

problem for using jquery update module

Right now, I am using JQUERY UPDATE module, 7.X-3.0-alpha2 version. The default version is 2.1. However, I have some trouble when I edit my product which is a reference field. If I enable this ...
jmu's user avatar
  • 290
1 vote
0 answers
62 views

Possible Cross Domain Proxy Issues

My drupalgap app works fine in ripple emulator when I disable the cross domain proxy options. However, when I compile the app and pull out the debug apk and run the app on emulator the main menu and ...
Arvind Vishwakarma's user avatar
1 vote
0 answers
126 views

Adding jQuery plugin

I'm trying to use a jQuery plugin on a page to turn a table written in HTML into a bar graph. When I wrote the HTML and tested it from my computer, it works fine, but integrating it into the Drupal ...
Ashley's user avatar
  • 11
1 vote
0 answers
42 views

entity_privatemsg_message

Working on a Android APP to read/reply private message (Drupal 7). I am able to access all secure information for a user. Services/Resources> works file. shows the entities But I am facing some ...
user62969's user avatar
1 vote
0 answers
147 views

Drupalgap android app using quiz module

I am trying to create a Drupal 7 quiz site of multiple choice questions. The users should be able to attempt quiz on the desktop site and as well as on an android app developed using Drupalgap module. ...
Sam's user avatar
  • 387
1 vote
0 answers
6k views

How to make owl-carousel fade effect to work with multiple images not for a single one(as said in documentation)

I have an Owl Carousel view, and I need to load 5 items per slide, but I want to use fade effect instead of slide. Fade effect is said to work only for single item per page slideshow. Is it possible ...
Mladen Mladenov's user avatar
1 vote
0 answers
32 views

video source through jquery

I have one node in that link image filed and video file fields are included and i have created custom page that page will be redirected by link image field which loads jwplayer video. I want to load ...
user60060's user avatar
1 vote
1 answer
339 views

I am trying to enable the jQuery UI module, but I am hitting with error

I am trying to enable the Jquery UI module in drupal 7, but I am hitting with error: The jQuery UI plugin is missing. Download and extract it to your jquery_ui module directory. (Currently using ...
Sarah's user avatar
  • 11
1 vote
0 answers
54 views

Why is Javascript disabled when I'm logged in?

Unfortunately I'm not a coder and don't know how to provide info that might solve this riddle. All I know is that my Flexslider, WYSIWYG fonts, and expand/collapse function do not work (Flexslider is ...
Sera's user avatar
  • 61
1 vote
1 answer
36 views

Re-write output on different images on Views Slideshow

Using this - tutorial I have a views slideshow that rotates images with a fade effect. I know you can re-write output to show images and a text field below but so far I can just add one text block - ...
testing1's user avatar
  • 101
1 vote
2 answers
159 views

Images sent via AJAX, saved to database but not shown on the node

I've got this weird problem. I've been developing this phonegap app and it's in the testing phase now, and this is where the nightmare begins. I am able to successfully upload images encoded as base64 ...
Kartagis's user avatar
  • 610
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
1 vote
1 answer
2k views

How do I display, in a ColorBox popup, a caption AND a title (caption from image 'alt' attribute and title from 'title' attribute

I am trying to display in a ColorBox popup, a caption AND a title (caption from image 'alt' attribute and title from image 'title' attribute). The colorbox is opened when an image is clicked. Here ...
Antho's user avatar
  • 111
1 vote
0 answers
646 views

Colorbox fixed width and height

Can't seem to achieve such setting, just like the one shown at: http://www.jacklmoore.com/colorbox/example1/ "Group Photo One" link under "No Transition + fixed width and height (75% of screen size)" ...
Optimus Prime's user avatar
1 vote
0 answers
678 views

jQuery clone of an select form with ajax event

I'm trying to clone with jQuery the block which contain a form with an ajax event. function module_api_change_currency_form($form, &$form_state){ $form['currencies'] = array( '#...
GwenM's user avatar
  • 684
1 vote
0 answers
127 views

How do I use Facebook access tokens in body (custom script)

I am new to Drupal 7. I am using Drupal for Facebook and it can generate Access Tokens by using AppID and Secret. But is there way to use Facebook module's functions in the body of Article or Basic ...
Shultc's user avatar
  • 111
1 vote
0 answers
439 views

Infinite Scroll on Drupal 7 with AJAX

I am trying to create an Infinite Scroll system to display past events on a page. What I want is, when the top of the page is reached, I want to load past events. I created the following JQuery: (...
acanana's user avatar
  • 85
1 vote
0 answers
178 views

Why jCarousel displays only single item?

This question is related to: Why Views Slideshow JCarousel plugin isn't available on view format settings? I've managed to carousel started working but I have only single item visible at a time. ...
Codium's user avatar
  • 4,953
1 vote
1 answer
410 views

How to link an image with a PDF?

Actually, I have a content type with 2 fields, image field (multiple) which will contain some pictures and an attachment field (accept only one file) which is file of type PDF. I have a view where I ...
Dvex's user avatar
  • 343

1
2 3 4 5