I'm facing a challenge when trying to activate a Drupal rule using JavaScript code. lowerLayer[image.feature_nid].on("dragend", function() { var position = kineticImage.getPosition(); var layerPosition = this.getPo ...
Currently, I have integrated the fivestar contributed module into my website pages. Additionally, I have developed a custom helper module that allows me to expand the functionalities of the fivestar module by incorporating a personalized widget. This was a ...
As I attempt to install a module on my Drupal 7.37 version, an error message pops up: Unable to create directory 'temporary://update-extraction-9b760e0c/. I've already set the permissions of the ./path/to/tmp folder to 777 under Configuration->Media->F ...
Just starting out with Drupal and I have been tasked to work on a live website running on Drupal 7. The website is functioning properly on the live server, but when I downloaded it to my localhost, I encountered an issue. The homepage loads fine, but click ...
I am facing a challenge where I need to position a div right above the body tag without interfering with the scripts located above it. Despite my efforts, I have not been successful in achieving this goal. I attempted to use Hook_page_build to position t ...
Our Drupal websites utilize Elysia Cron and have an external CRON tab set up to access the CRON URL at . Unfortunately, upon checking the logs, we encountered an error message stating: "Cron could not run because an invalid key was used". ...
Currently, I am managing a Drupal 7 codebase that includes a web service utilized by external iPhone and Android applications. The URL for this web service is like so: http://example.com/api/module_name/find.json?param1=xxx¶m2=xxx I need to make a ...
I have a Drupal form with an AJAX submit. Additionally, I have another jQuery $.get function that sends a request every 2 minutes and inserts the response into an HTML element. The form and this JavaScript code are independent of each other, performing sep ...
I've been dealing with a Drupal 7 website that experiences downtime a few times per month for about 4 to 5 minutes. According to the New Relic report, /ds_extras_node_page_view consumes 52% to 92% of the memory during loading, which is causing the site to ...
My current setup includes an "open video" button and a form that triggers an ajax call to render files with the corresponding buttons when users click on handouts or videos. I have encountered a problem: Whenever I click on "open the video" after renderi ...
Currently using Drupal 7, I have created a new type of node with some fields that are meant to be displayed on the page.tpl.php file. My implementation includes: <?php print render(field_view_field('node', $node, 'field_description' ...
After browsing through some discussions on this topic, I've found that they tend to be quite specific which can make things confusing. What is the recommended approach for combining multiple functions in a general sense? Specifically, I am working in ...
How can I implement an AJAX "upload" button next to the file input in Drupal 7 Profile Picture? When clicked, the selected image should be uploaded. ...
I have recently set up my Drupal website and I am currently in the process of integrating an API from a control panel. One of the requirements of the API is to define a logout link mywebsite.com/logout that informs the user about their successful logout. ...
I am encountering an issue with the Flexslider module on my Drupal 7 website. I have created a simple slider that displays 3 photos. I enabled touch screen functionality for the slider, and everything seems to be working fine except for one problem - all t ...
I have a module in my Drupal7 website where I wrote custom functions using PHP. This module includes two dropdown lists side by side. My requirement is that when I select an option, let's say "A," from the first dropdown, only the data related to "A" ...
Encountering a particular issue in Drupal, though it may not be exclusively related to Drupal. This is the simple javascript code I am working with: (function ($) { function testing(){ alert('TEST function responding!'); } })(jQuery); I am try ...
Recently, I began constructing a Drupal website utilizing Azure. I successfully installed the Azure Blob module, and all functions worked flawlessly in my local environment, including image display and upload to storage blob. However, upon migrating the si ...
I have created 2 Angular apps within Drupal 7: "example.com", "example.com/app1", "example.com/app2". "example.com" is my main site. However, when I enable HTML5 pushstate to remove the hash in the Angular apps, I receive a nobase error from AngularJS bec ...
On attempting to submit data to my custom zip code field on the user registration form, I encounter the following issue: Sending post data to endpoint/user/register.json { "name":"testuser123", "pass":"testuser123", "mail":"<a href="/cdn-cgi/l/email-p ...
Hey there! I am facing an issue with accessing session variables after making an Ajax call in JavaScript to a PHP file. I am able to create a session and store values within it during the Ajax call, but when trying to access those session variables afterwa ...