Skip to main content
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
Results tagged with
Search options not deleted user 8623

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

23 votes
5 answers
8k views

Unable to delete feature content type after uninstalling feature

Issue Uninstalling a feature which creates a content type hides the "Delete" link on the admin/structure/types. Issue on Drupal.org
Aram Boyajyan's user avatar
16 votes
Accepted

Views: How do you view the query?

Go to admin/structure/views/settings, check Show information and statistics about the view during live preview and then Show the SQL query checkbox that will appear below.
Aram Boyajyan's user avatar
15 votes
Accepted

Unable to delete feature content type after uninstalling feature

Solution Using a hook_uninstall() in FEATURE_NAME.install file and changing the status of the content type, so the system thinks it is an unlocked, custom content type. I posted this also on d.org. …
Aram Boyajyan's user avatar
12 votes
Accepted

Completely empty page

You can do that through a custom module - create a path and instead of returning the output, just print it. Here's an example: /** * Implements hook_menu(). */ function YOURMODULE_menu() { $item …
Aram Boyajyan's user avatar
8 votes
Accepted

How do I add a custom script on a specific page?

You could do this: <?php $node = menu_get_object(); if ($node && $node->nid == DONATE_NODE_ID): ?> <script></script> <?php endif; ?> But a better way would be to: Wrap your script in Drupal.behav …
Aram Boyajyan's user avatar
8 votes
Accepted

Disable editing of a node after it has been published

Yes, you can define dynamic rules in a custom module. See hook_node_access Here's a sample implementation: /** * Implements hook_node_access(). */ function MYMODULE_node_access($node, $op, $accoun …
Aram Boyajyan's user avatar
7 votes
Accepted

Search results - Show custom fields

You have two options: You can use Display Suite module. A sub-module Display Suite Search allows you to change the way nodes are displayed for search results. You can use template_preprocess_search_ …
Aram Boyajyan's user avatar
7 votes

Adding a Image Upload Button in CKEditor

Check out IMCE with IMCE WYSIWYG bridge. Once you install and configure those two modules, select "IMCE" as a button in CKEditor and then you can upload and insert images in WYSIWYG.
Aram Boyajyan's user avatar
7 votes
Accepted

Creating an alternative login page other than /user/login

Yes, your code is complete, and is as safe as the default login form. However, do bear in mind that if you want to replace the /user/login form, you will need to think about all scenarios in which us …
Aram Boyajyan's user avatar
6 votes
Accepted

How to change the text in the revision log message?

Use the following code in a custom module or in your theme's template.php: /** * Implements hook_form_FORM_ID_alter(). */ function YOURMODULE_form_CONTENTTYPE_node_form_alter(&$form, &$form_state, …
Aram Boyajyan's user avatar
6 votes

Should I use t() in a hook_menu's description?

You should not use t() in hook_menu() implementations because t() is automatically called later on and doing so would cause double translation.
Aram Boyajyan's user avatar
6 votes
1 answer
1k views

An alternative for pathauto and token

I'm considering alternatives to pathauto module for automatic URL alias generation. The reasons I want to stop using it are the following: Most of the aliases are [node-type]/[node-title] so I do n …
Aram Boyajyan's user avatar
5 votes

How to let users register with their Facebook accounts?

Drupal for FaceBook is the one you need. You can configure application settings and which information you want to get from users, such as email address. Unlike other suggestions, this module does no …
Aram Boyajyan's user avatar
5 votes
Accepted

Alternative to Node Class module?

Check Skinr module. If you are only looking for a straightforward way to add classes to nodes, you could do that even without any additional module. Create a field called "css_class" Hide that fiel …
Aram Boyajyan's user avatar
5 votes

List of all active modules used in a site

Yes, check the Module Filter module: It's excellent administrator helper that makes managing modules much easier. The modules list page can become quite big when dealing with a fairly large site o …
Aram Boyajyan's user avatar

1
2 3 4 5
13
15 30 50 per page