drupal-modules Questions
0
How does one limit "what" can access a page. I have little understanding on how to use hook_permission() to set user permission based on a role to control access to hook_menu() items. However, what...
Bahrain asked 3/4, 2014 at 8:56
1
I am using OAuth Connector module to authenticate a user from an external source.
Each user on the external source has a corresponding Drupal user account.
After successful oath authentication, u...
Sadiesadira asked 25/2, 2014 at 8:13
3
Solved
I'm creating a custom module that has uses the form API and sends an email on submission- however, I want to make the 'from' email name to be the site name (eg, <My Drupal Site> [email p...
Kocher asked 3/11, 2011 at 10:58
2
Solved
is there a module to show/hide fields to a specific role in Drupal 7?
I know Field Permissions Module, but it is not exactly what I need.
I have two fields:
picture
picture_premium
and these ro...
Prosciutto asked 6/9, 2012 at 5:4
5
Solved
How can I extend an existing module without modifying it? Actually its a contributed module, so I don't want to hack it. But I want to alter and add certain features to it.
I'm new to drupal and as...
Spieler asked 27/10, 2009 at 19:16
2
I am currently working on a module that finds out the parent menu item by url path then displays the current tree structure of that related menu by finding the top parent and most important only di...
Lyons asked 8/11, 2012 at 10:16
1
Solved
I'm trying to create a custom widget but when I submit, Drupal doesn't seem to save any data. When using hook_field_attach_submit() to display what data I've pasted, it is listed as null.
Strange...
Grief asked 14/9, 2012 at 22:59
4
i want to add page hit to nodes on my drupal site.how can i do that?
Jost asked 17/12, 2010 at 21:48
2
Good Morning,
I am developing an website and i am in a struggle to resolve this:
I have a link like this: mywebsite.com/aliments/fruit/banana.
And in a View that creates the page aliments i want...
Magnum asked 30/10, 2012 at 10:1
3
Solved
Here is my custom module using hook,
Assume if I want to pass argument to custom1_default_form function call, how should i pass the argument?
<?php
function custom1_block($op,$delta=0){
if($...
Orji asked 8/10, 2010 at 2:35
1
Solved
I am trying to learn how to create a custom content type programmatically from within my module.
However, after uninstalling and reinstalling my module I was getting an error stating that one or m...
Marenmarena asked 28/11, 2012 at 15:42
1
Solved
I have a content type named announcements and I am displaying a view block of latest announcements in a content which is belongs to announcements content type. This block has three fields: Taxonomy...
Bergstrom asked 2/11, 2012 at 11:10
3
Solved
For some requirement I need to pass additional information to form submit handler. In form api, while defining custom submit handler as
$additional_args = array();
$form['#submit'][] = 'my_submit_...
Rapt asked 13/8, 2010 at 7:11
1
I'm trying to create a new custom field formatter for text fields but nothing is showing at all.
I tried un-installing and re-installing the module and flushed the cache many times, and nothing wo...
Ghazi asked 17/8, 2012 at 19:53
3
Solved
When developing a custom module, what is the correct way to set a module's weight?
Besot asked 12/1, 2011 at 16:37
5
Solved
I have a Drupal 7 multi-language(3) website. I have installed the Internationalization (7.x-1.0-beta2) module.
I have created for each language a page, and translate it into two others langu...
Graniah asked 2/3, 2011 at 13:44
3
Solved
I know there is a lot of documentation around this but this one line of code took me ages to find in a 4000 line file, and I would like to get it right the first try.
file_put_contents($myFi...
Stylography asked 30/5, 2012 at 5:22
1
Solved
I have a form implemented from hook_form called simplequiz_form() I want to access its data after submit below is the code I have written but I can't seem to access its data once its submitted. Wha...
Gabbert asked 24/11, 2011 at 6:16
3
Solved
I am trying to accomplish the following. I need to use Drupal 6 as a project requirement, but I want to use it with my own HTML and CSS stylesheets for each node/view/panel etc.
The problem is, wh...
Fruition asked 26/2, 2010 at 8:56
4
Im using drupal 6.16. The below code for hook_form_alter is not working. Im simply trying to change the 'Log In' to 'Sign In' on the submit button of the user login form
<?php
//$Id$
function ...
Ivelisseivens asked 10/5, 2010 at 16:10
2
I would like to as how can we have the login similar to the stackoverflow openid using drupal 7? In stackoverflow, we have various login options like facebook, google, etc, the image is show ...
Ambo asked 9/6, 2011 at 1:43
1
Solved
I have a module which adds a new content type.
For this content type I want to supply a node_contenttype.tpl.php node type template,
but Drupal will not recognize this template in the module direc...
Jaco asked 27/5, 2011 at 7:30
1
is there a way in drupal 6 to use in non admin pages jquery 1.5 / 1.4 without breaking the core functionality on non-admin pages??
Finder asked 3/5, 2011 at 19:49
1
Solved
Is there a module or a way to simulate a wiki page for some users role in Drupal 7 ?
Bladder asked 8/3, 2011 at 11:32
5
Solved
I'm looking to see if anyone has any resources or tips for developing basic Drupal modules faster? Have you come up with anything to make your Module development faster?
The Drupal module document...
Xanthe asked 17/2, 2011 at 15:45
© 2022 - 2024 — McMap. All rights reserved.