The Stack Overflow podcast is back! Listen to an interview with our new CEO.
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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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
Results tagged with Search options user 24113

Version tags should be used only for questions that apply to a version only, not to merely say what version a site is using.

0
votes
Just to mention here that you can even change the template file name also if you implement template_preprocess_page() for your theme. So, you can add a new theme suggestion like this: /** * Impleme …
answered Aug 23 '17 by Saud Alfadhli
1
vote
Since the t() only for UI and you can not select which exactly the grouptext that you prefer. You can use this: $context = $field_name . ':' . $entity_type . ':label'; $label = i18n_string_translate( …
answered Aug 5 '18 by Saud Alfadhli
0
votes
Please review this contrib module: https://www.drupal.org/project/login_custom_field
answered May 1 '17 by Saud Alfadhli
0
votes
form_set_value() used to change submitted form values during form validation. Please use form_set_value() instead of using $form_state['values'] Always look for the best practice. Good luck!
answered Jul 21 '17 by Saud Alfadhli
0
votes
Use Force Logout Module .. Features Settings form where you can enable and disable (Force logout). Permission so you can exclude some user roles if you want to exclude administrator for example.
answered Dec 17 '16 by Saud Alfadhli
1
vote
Please use the right way form_set_value() in your validation function instead of $form_state['values']['surname'] Like this: form_set_value($form['surname'], '', $form_state); Update: Please ma …
answered Jul 9 '17 by Saud Alfadhli
0
votes
Implement hook_form_workflow_transition_form_alter(). /** * Implements hook_form_form_id_alter(). * Alter transition form to remove current state button. */ function MYMODULE_form_workflow_transit …
answered Aug 28 '17 by Saud Alfadhli
0
votes
If you want to get a specific page URL in a specific language URL use this code: $languages = language_list(); $english_page_url = l(t('About'), 'node/22', array('language' => $languages['en'])); $ar …
answered Dec 9 '17 by Saud Alfadhli
1
vote
No need to use Profile2 Module to have different registration forms, you can use Auto Assign Role Module and it will allow you to create as many as you want registration pages (/admin/config/people/au …
answered Jan 5 '17 by Saud Alfadhli
1
vote
You can also create a new user role and assign it to these specific authors then in your view: Add relation to author. Filter results where the user has this new role.
answered Jul 13 '17 by Saud Alfadhli