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.
1
vote
Accepted
Is the a module that will allow me to quickly switch from administrator to user?
You can use masquerade module.
Part of description :
The Masquerade module allows site administrators (or anyone with
enough permissions) to switch users and surf the site as that user (no
password r …
0
votes
How can I build a popup in drupal?
Using lightbox2 for poupup node and content type ,etc (every thing except iamges) is not standard method work but not adequate way.
If you have drupal developing knowledge i suggest you use ctools mod …
0
votes
Global variable, visible only inside the module
why you dont use variable ? variables is good feature in drupal and working wth them is safe and easy.
variable_set('module_name',FILE);
variable_set Doc
and those variable provide everywhere you wa …
1
vote
Accepted
Role Based Shared Control Panel
Yes, with the combination of profile2 and og (organic group) you can achieve your job.
3
votes
How to resolve max execution time error in Drupal commons?
go to php.ini and then find max_execution_time and set 120 or more what u are comfort with.
0
votes
how to add conditional styles?
Put it in html.tpl.php also it work in page.tpl.php but I think you did not clear cache , please dont forget this, clear cache after templates changes.
also you can use conditional css
this link hel …
1
vote
Accepted
Customize search block in frontpage
I suggest you use drupal_is_front_page() to check it is on front page or not. You can achieve it using code similar to the following.
function myrtheme_form_search_block_form_alter(&$form, &$form_sta …
0
votes
Unexplained change in module weight in registry table caused site error
An easy way to solve this problem is to set the status of that module to 0 in the system table. Then try to uninstall them completely and then try to install and set them again.
I know this is not th …
3
votes
How can I run PHP code without writing a module?
You can use Php inline of Devel module but
lets get you one of my tricks in drupal to running my custom code without any module.
first create a menu item in hook_menu
function yourmdoule_menu()
{
…
0
votes
How to tell if a site is using Drupal 7
I am always use Wappalyzer to detect the technology of website,The Wappalyzer website also is based on Drupal 7. …
0
votes
Load only the submenus under given menu
if you just a specified Menuitem subItems just put a if between 2 foreach
$menuItems = menu_tree_page_data('main-menu');
$sub=array();
foreach($menuItems as $key => $value) {
if($menuKey=='yourmenuit …
0
votes
2
answers
251
views
Pass video file
I create a REST server with Drupal 7, set everything and it work correctly, node created well, but I want to fill File field with REST.
my client side code is the following. …
0
votes
How to save JSON with a node
As Sahwn said, JSON is simple text and you can store/read it in longtext field,(**Notice set html format to plain, maybe CKEDITOR cause unwanted results).
and finally according to my experiences if y …
1
vote
XAMPP localhost - admin access denied
If you are sure that your password is correct go to the Data base and empty( truncate) Sessions & Flood and all cache(I mean all tables has prefix cache_) tables,finally clear your browser cookie the …
3
votes
Accepted
Sanitizing Query Results Data
According to drupal_convert_to_utf8 it required Requires the iconv, GNU recode or mbstring PHP extension to work, make sure mbstring Php extension installed(Go to /admin/reports/status and take a loo …