This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Video does not pause automatically when slider change in FlexSlider

Currently I have 2 video in my FlexSlider but the problem that I'm facing now is when i press play button for my first video and when I press play button for the next video in the next slider,how to stop the video that been playing in the first slider.Does anyone have any solution for this?I've tried following this http://flexslider.woothemes.com/video.html but still can't get it right.Thanks in advance.

Any modules for counting visitors in Drupal 7

Hello I'm new in Drupal 7,

Currently I'm facing a few problem in my Drupal 7.In my Drupal 7 page, I would like to count how many people visited my page for today , monthly and the total people visited my site.Does anyone know the solution for it or any suitable modules that can be implement on it?Thanks in advance.

The right way to run this JS

Ok so we have this module with a js-file that has this block of code in it:

Drupal.doSomeStuff = function (variable1, variable2) {
  // do stuff and return value
};

And in one js-file of our template I need to call this and make it run automatically when the page is loaded. If I do it like this:

blank white screen after switching from 5.6 to 7xx

Dear  communty,

I am running two websites on drupal 7 with php 5.6, and when I switched to the next higher php or to even more higher versions, a white blank screen appear.  Both sites react the same.

1.) Could the problem be caused due to the fact that for switching a couple of months ago from 5.3 to 5.6,  I had to delete the "node export" modul of both sites - I don't think so, does it? -

Entity Query not working in all contexts

Hi All, this is my first drupal 9 project, 9.1.5. I've built many modules for older version of drupal, but this has me stumped.

So, this is my problem: I want to use cron to trigger a function frequently, every minute, to check an email box, and turn new emails into nodes. ( call this the boze_ingest() function ) I set this all up, and to trigger it, I just called the function from a basic page with php code format type.

Error when trying to use the RoleExpireApiService

I am trying to use the RoleExpireApiService (from the role_expire module) - but can't seem to get it right!

Here is my code:

use Drupal\role_expire\RoleExpireApiService;
RoleExpireApiService::writeRecord($uid, $rid, strtotime('+1 month', time()));

But I am getting this error. Can anyone please help me figure out what I am doing wrong?

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions