Converting a script within a tpl.php file into a js file and executing it

Hello,

I have a module that produce a page with a tpl.php containing a script. This script depends on socket.io.js, and this file is declared at the beginning of the page.

I'd like to change the organisation of the module to have the script executed from a js file.

Drupal 7 - errors on same form multiple times on a page

Hi,

I want to use the same form twice in a page but when I submit one form, I see errors on the second too...

I used two different $form_id :

$html[] = drupal_get_form('distribution_form_aap_evaluation_' . $id_one, array('did' => $no, 'rapporteur' => $rapporteur_1));

$html[] = drupal_get_form('distribution_form_aap_evaluation_' . $id_two, array('did' => $no, 'rapporteur' => $rapporteur_2));

I use hook_forms() to use the same form callback "distribution_form_aap_evaluation":

Where is "user name" under comment, file located?

Hello, trying to find where the file is located that display the user's name under the comment section. It says Your Name: (then the user name). I am trying to hide it in CSS.

Authentication from Drupal to GameSparks

Hi, it is possible to authenticate user information like (Username) and (Password) created on my website, with GameSparks?
PS: GameSparks is an Backend service for multiplayer games, more info here:
https://www.gamesparks.com/

Is there a Drupal web browser extension?

Been searching and have not found anything. Is there a Drupal web browser extension where user and log in and logout? Ultimately I'm looking for something where a user can log in from their web browser extension without having to visit the site and enter some text, then it will be added to their blog page.

First time upgrading (to 7.60)

I need to upgrade to 7.60 - this would be my first time upgrading (or is it just updating... not sure).

I looked up the procedure in the User Guide and found this:

https://www.drupal.org/docs/user_guide/en/security-update-core.html

but it references Drupal 8; 

Are they valid instructions for Drupal 7 too?

Thanks,

Saroj

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x