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 answers only not deleted user 190

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

3 votes

Create an image repository

I haven't tried something like this before, but one way to solve it would be to. Create a node type to hold the images. Create a node reference to the image node type. This would allow you to have …
googletorp's user avatar
  • 35.4k
2 votes
Accepted

Custom default value for Webform's select options component

All you need to do, it to put the key value into the default value field, in this case 2, to make Ms. the default value of the form. This is what the default value if used for.
googletorp's user avatar
  • 35.4k
2 votes
Accepted

How to make the custom module effect on the node and only one content type?

If you want to add content to nodes, you can in drupal 6 use the hook_nodeapi where op is view. As you get the node object, you can detect the node type ect. You would need to add something like this …
googletorp's user avatar
  • 35.4k
2 votes
Accepted

problem with check_markup()

You should do like this $format = db_result(db_query("SELECT format FROM {filter_formats} WHERE name = 'Messaging plain text';")); $content .= check_markup($node->title, …
googletorp's user avatar
  • 35.4k
2 votes
Accepted

Problems with text formats and Iframes

Each text format that you create has some different processing options. If you select Display any HTML as plain text Then the result is what you explained, where HTML code is escaped and displ …
googletorp's user avatar
  • 35.4k
3 votes
Accepted

Tournament or competition module

Since you are doing this in Drupal 7 you should not use nodes for this, but instead create your own entity. …
googletorp's user avatar
  • 35.4k
1 vote
Accepted

How do I use the Hierarchical Select module?

Solution It seems that the read me file for Drupal 7 needs updating. Things have changed from Drupal 6 to Drupal 7. … From the Drupal 7 version: Installation 1) Place this module directory in your "modules" folder (this will usually be "sites/all/modules/"). …
googletorp's user avatar
  • 35.4k
1 vote
Accepted

Is it better to hard code everything or use the ui?

If you use code you can: Version control the field settings. Lock the field, so it can't be deleted or altered in the UI. It's always a good idea to keep as much as possible in code, for when you …
googletorp's user avatar
  • 35.4k
2 votes

Module inheritance

Drupal uses the the hook system, se the docs about the OOP in Drupal. To make it short. You can hook into the file system and do the processing you need; where and how to hook into depends on how yo …
googletorp's user avatar
  • 35.4k
1 vote
Accepted

Can i port theme settings also in a feature

Theme settings are usually stored as a variable, which is exportable with strongarm. Note that some things in the theming system is cached.
googletorp's user avatar
  • 35.4k
1 vote

Clues integrating jcart in Drupal 7

You need to include the file itself, module_load_include can help you with that. Then you need to instantiate the class, you should read the docs about jcart to figure out how to do that, but somethin …
googletorp's user avatar
  • 35.4k
5 votes

Embedding a view in user edit form

You can use hook_form_alter and views_embed_view to alter the form and add the markup for a view.
googletorp's user avatar
  • 35.4k
5 votes
Accepted

How to render a page with arrays and text

You can do $page['text'] = array('#markup' => 'hello'); Or $page = render($page) . 'hello';
googletorp's user avatar
  • 35.4k
1 vote
Accepted

how to delete a context

You do it the same place where you add and edit contexts, the contexts admin page located at admin/structure/context. Context defined in code can't be deleted, but can instead be disabled.
googletorp's user avatar
  • 35.4k
7 votes
Accepted

How to fix special characters in node titles?

Drupal does check_plain on titles which removes all html and does some conversion of chars (& -> &). Depending on how the migration went, that could be part of the problem (escaping escaped conten …
googletorp's user avatar
  • 35.4k

1
2 3 4 5
20
15 30 50 per page