Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Version tags should be used for questions that apply to a version only, not to merely say what version a site is using.
0
votes
1
answer
172
views
get the permission must the user have to access to the 'Access denied ' page
i'm working on a drupal 7 online payment module ,
and i need to know if there is a Drupal 7 function that can track (each time and for all the users) if 'the logging online user' is requesting an 'Access …
0
votes
1
answer
58
views
is it possible to add a permission to only one user , without creating role for him?
i'm trying to create drupal 7 module for online payment , it will be by roles , for exemple ( user1 can create 'Blog content type' just if he has the permission on that) so after the payment i want to …
2
votes
2
answers
3k
views
get the content type 'machine name' by the 'human readable name '
Is there a function in Drupal 7, or do I have to query the node_type table to get what I want? …
1
vote
Is there a drupal 7 equivalent to the Country Ban module?
this module may help you : Smart IP ,,,,
Overview Smart IP identify visitor's geographical location
(longitude/latitude), country, region, city and postal code based on
the IP address of the u …
0
votes
1
answer
476
views
How can I enable/disable programatically added fields from a custom module?
I'm trying to create a custom module for payment. When installed, the module automatically adds two fields to the 'Article' content type.
I have 'enable/disable checkbox' in the form:
Enable: Should …
3
votes
1
answer
174
views
add user to role
i'm trying to create custom drupal 7 module , i'm using 'user_roles()' function to get all the roles in the system , and then i assign those roles to checkboxes API Form Control
$form['roles_group' … form-checkbox">
in the :
name="mtc_roles[utilisateur anonyme]"
the system automatically put the human readable name in the 'Name' attribute of the inputs
and that's makes me wonder if there is a drupal 7 …
0
votes
1
answer
979
views
How do I programatically add a field to a node?
I'm trying to create custom Drupal 7 module. …