drupal-modules Questions

2

Solved

I'm working with drupal 10, i want to work with Sendgrid module I tried to create sendgrid account.I have entered all the basic details it asked. Then I got two mails Two-Factor Authentication &amp...
Desantis asked 11/5, 2023 at 8:37

6

Solved

We are going to deploy a Drupal site inside company's intranet. There is a requirement for user to reset password. We have a centralized password reset mechanism (for single sign on): user submit...
Cristoforo asked 14/10, 2010 at 4:55

5

Solved

I know how to check if the user is logged in through PHP, but I need to do some styling when an event occurs, and I created a separate JavaScript file for this. Is this a Drupal variable or somethi...
Messeigneurs asked 16/4, 2012 at 22:35

13

Solved

I have recently migrated my module to Drupal7 (on PHP Version 5.3.1) and now I am getting following errors: * Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values!...
Emlynne asked 25/1, 2011 at 19:40

5

Solved

Is it possible to create your own hook in a Drupal module for other Drupal modules to consume? If not, is there a mechanism in Drupal for third party developers to provide hooks? If everything's be...
Cudbear asked 14/2, 2011 at 16:22

4

Solved

I want to be able to disable and then uninstall a module programmatically on my local environment and then easily push that code to prod so everything gets updated. I'm guessing it's something wit...
Reflexive asked 4/12, 2012 at 17:49

5

Solved

I'd like to learn how to create modules in drupal- modules which can interact with the user, database, assign permissions, views. Is there any good video tutorial or a simple sample module which c...
Csc asked 3/2, 2010 at 9:42

5

Solved

How can I accomplish skipping validation when the user attempts to delete a node in Drupal 7? I am calling my custom validation function in the following manner: function my_issue_form_alter(&...
Rummage asked 2/8, 2013 at 15:36

6

Solved

I have a module that programmatically adds a whole lot of nodes to my Drupal 7 site. To prevent duplicates I want to check whether the title of my newly created node doesn't already exist in the sy...
Cunnilingus asked 3/12, 2011 at 18:1

4

I have a Drupal 7 site using ckeditor 4.2. I've created a basic page node and put a span inside an h2 heading in the body. I hard coded it in the html view. It looks fine but if I go back to edit t...
Takeoff asked 21/8, 2013 at 4:48

3

We are building a website that contains a large number of database tables that need to be edited by the CMS administrator. Some of the tables are fed by form submissions from users on the fro...
Monia asked 18/3, 2010 at 2:32

4

Solved

When i go to modules tab i can't find "new module install" link Please tell me how to view this new module install link in drupal-7
Horvitz asked 13/1, 2012 at 8:33

4

Solved

I am working on Drupal. I want to know how to change that footer text Powered by Drupal and link given to it. I want there "Copyrights 2012 (My site name).All Rights reserved." I can not getting it...
Urinal asked 3/4, 2012 at 17:15

1

Solved

I'm fully aware how to do this in Drupal 7 so I will explain what I would normally do using Drupal 7. When making a custom module I use hook_theme a lot, it is very powerful and reusable! /** * ...
Jecoa asked 5/12, 2015 at 19:30

4

Solved

What is the correct way to change the active Drupal 7 theme programmatically? I used $custom_theme in Drupal 6 but it is not working in Drupal 7.
Bianca asked 16/11, 2011 at 11:40

4

Solved

How to get the currently logged in user's role in Drupal 7 ? Do you know a simple way of accomplish this ? Is there some drupal core functions for this?
Magdalenmagdalena asked 8/3, 2011 at 12:34

6

Solved

How to get the modules list in Drupal as in admin/build/modules?
Radbourne asked 20/11, 2010 at 9:48

5

I have made site on drupal My site has 7500 users and approx (20 to 50 without logged in)(2 to 10 logged in) users are online (and this is not heavy traffic I think) The site is on dedicated serv...
Rosalvarosalyn asked 18/5, 2011 at 14:31

4

I'm trying to use Drupal 7's entities and field API to correctly build a new module. What I have been unable to understand from the documentation is the correct way to use the new API to create a '...
Abreaction asked 15/1, 2011 at 16:13

3

Solved

I made a module with a simple menu structure. I am able to programmatically retrieve a view of all my students in PHP. Now, I want to return all the students on a page in a simple table. How can ...
Protuberancy asked 29/3, 2011 at 7:44

3

Solved

I need to log a user out and redirect to a URL. How would I do that in Drupal 7? Thanks
Smalt asked 30/3, 2012 at 18:45

3

Solved

As a more specific take on this question: drupal jQuery 1.4 on specific pages How do I check, inside a module, whether or not a node is a certain type to be able to do certain things to the node....
Nasho asked 7/6, 2010 at 11:11

1

Solved

I'm building a fairly involved module for my company with a number of different configuration pages. I'd like there to be a menu item in the admin bar across the top that has all the sub menu items...
Kurtis asked 19/5, 2014 at 19:25

5

Solved

How do i check if the current page is in the admin section of drupal?. I want to display a login form in some pages from the main menu but the login page is displayed in the block selection menu .P...
Esther asked 19/12, 2010 at 13:48

3

Solved

I want to add title="icons/icon_cart.gif" for each of the below options in my select list which is rendered using views. After trying and reading many articles I can't seem to find the way to add ...
Valeriavalerian asked 13/2, 2012 at 13:17

© 2022 - 2024 — McMap. All rights reserved.