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.
11
votes
4
answers
12k
views
Hide field when creating a node
How can I hide a field when creating a node, but displaying it when editing a node?
4
votes
1
answer
359
views
Javascript code appears in search results
I use JavaScript in the body of a node with some PHP code. After I run cron.php and search on the site, I can see Drupal indexes the JavaScript code contained in a node.
How do I avoid Drupal indexes …
4
votes
3
answers
546
views
Edit content created by users with the same role
Is there any module that would allow me to edit/delete nodes created by users with the same role I have?
3
votes
How to design a page created using Views
A simple way is to style view fields with CSS.
Another way is to click on "Theme information" in the style setting block of the edit view page. You can use the listed names create your own theme, and …
3
votes
2
answers
848
views
Picture field in user table
I can see the picture field in the user table, and it seems the field accepts a picture address.
I want to allow users to upload their picture to the site.
Is there any module or code to use this fie …
3
votes
2
answers
2k
views
db_affected_rows() return "1" when the query is wrong
I have a query like UPDATE user SET creator = 'creator'". The "user" table has not the "creator" column, so db_affected_rows() shoud return −1, not 1.
Why?
Update: mysql_affected_rows() returns -1 …
2
votes
Accepted
Image field is not showing up in view/block
check admin/user/permissions page. if you use imagecache check view imagecache permission and set it. and set view image field permission.
2
votes
2
answers
457
views
Code for page access
I would like to use PHP code in nodes of a specific content type. I can check the user's permission with the global $user if the user can access the node.
Is there any module to set view for created …
2
votes
1
answer
2k
views
"Invalid argument main.js" Gmap error in IE
I have GMap Module and GMap Location version 6.x-1.1; in Internet Explorer (any version), on the GMap page I see this error:
Message: Invalid argument.
Line: 401 //in IE8, and 942 in IE6
Co …
2
votes
Accepted
prevent user with ID 1 edit
The User Protect module helped me.
2
votes
3
answers
1k
views
Create control panel for drupal 7 site
use drupal 6, i install control panel module and change panels and authenticated users can goes to control_panel page and manage contents,pages and site.
but this module is not available for drupal 7. … my question is how do you create a management page for your site in drupal 7 ?
Do you use another module or add some php code to page and create this page manually? …
1
vote
2
answers
2k
views
Dependant dropdown list
I have 2 fields, state and city. I would like to change the city field when I select the state field.
I tried to use "hs_nodereference", but this module shows the state and city fields as follows.
st …
1
vote
1
answer
2k
views
Multiple primary keys
I have defined a new content type, statetype and a CCK field, state.
I need to use the CCK field as primary key in this table because I have another table and I need use that field as foreign key. (Th …
1
vote
1
answer
253
views
Permissions defined by fields
I have some content that has state field. I would like to permit users with the same state to delete this content.
Can I implement this in Drupal?
Can I implement it with PHP code?
1
vote
2
answers
117
views
Same CCK field in one content type
I have a content type named "school;" this content type has the "teacher" CCK field, but the number of teachers is not same for any school.
I need a thing like "add new teacher" button, which can be u …