All Questions

Filter by
Sorted by
Tagged with
3 votes
3 answers
423 views

Is there a media-handling module that can handle midi files?

I've been using MP3 Player to provide an on-page mp3 player, but I also need to be able to handle midi files. Right now the best I can do is allow them to be uploaded into the "mp3 file" field, but ...
Nicholas Trandem's user avatar
3 votes
4 answers
2k views

Views 2 Conditional Filter

How can I apply a conditional fitler to a view (using views 2)? For example: I have a view which displays the teasers for several different node types using a filter on Node:Type in [Blog entry, ...
cjworden's user avatar
9 votes
4 answers
3k views

What is the recommend process for migrating a Drupal 6 Ubercart site to Drupal 7 / Drupal Commerce?

I'd like to migrate a client's site from Drupal 6 and Ubercart to Drupal 7 and Drupal Commerce. Is there an easy (i.e.: no manually munging data in the database) migration path? Do I need to go to ...
Nicholas Trandem's user avatar
5 votes
4 answers
770 views

Redirect on Login?

I have tried making this a rule as well as used hook_user with no luck. It definitely gets inside of the login case (had a watchdog log), but the redirect doesn't happen and they are still sent to /...
Kevin's user avatar
  • 27.3k
3 votes
1 answer
1k views

Authentication for iCal feeds

I have a calendar feed (using the Drupal Calendar module) on a site and I'd like to add this calendar to Google Calendar. I have this working for a publicly accessible calendar and it works fine. The ...
Mad Scientist's user avatar
5 votes
6 answers
11k views

Rebuild imagecache

I have an imagefield per node that's run through imagecache. Since imagecache caches on-demand, cache files/variations aren't created until they're first requested. So if I update a bunch of images, ...
ack's user avatar
  • 2,149
21 votes
4 answers
377 views

How do I backup my site w/o the command line?

Nearly all the documentation on backing up my Drupal site seems to require using the command line. My hosting service does not provide command line access. How do I backup my site without using the ...
Alex Basson's user avatar
3 votes
3 answers
2k views

What file and folder permission changes does the Microsoft Web Platform Installer make when it installs Drupal?

I have used the Microsoft Web Platform Installer to install both Drupal 6 and Drupal 7 on my Windows Server 2008 R2 servers running IIS 7.5. (see: http://www.microsoft.com/web/downloads/platform.aspx) ...
cpuguru's user avatar
  • 426
5 votes
4 answers
1k views

Distributed authentication system (different domains, separatate databases)

We got multiple small websites (microsites) and one main high traffic one with big users base. Right now the requirement is to build authentication system which should allow users to loign with the ...
gansbrest's user avatar
  • 161
8 votes
4 answers
2k views

How to maintain a local mirror on my Mac?

I have a personal Drupal 6 site being hosted commercially, and I would like to maintain a mirror of the site on my local MacBook for the purposes of developing custom modules and themes before ...
Alex Basson's user avatar
6 votes
5 answers
4k views

How to determine if the current page is a search results page?

How can I determine from within a module or theme if the current page is an Apache solr search results page?
markdorison's user avatar
  • 5,544
9 votes
3 answers
2k views

How do you load extra javascript files required for wysiwyg api plugin on node/edit pages?

I'm building a plugin using the WYSIWYG API module for Drupal 7 that will add a button to the toolbar of supported editors. I'm using the hook_wysiwyg_plugin() hook to create a new button on editor ...
Camsoft's user avatar
  • 3,139
93 votes
9 answers
8k views

Do non-enabled modules affect performance?

Does having Drupal modules present, but not enabled have any effect on the performance of a Drupal site? To put it another way, would removing disabled modules on a Drupal site have a positive affect ...
markdorison's user avatar
  • 5,544
90 votes
6 answers
45k views

How to take a site offline using Drush?

How can I take a site offline using Drush?
markdorison's user avatar
  • 5,544
6 votes
2 answers
220 views

What are the major differences between Drush versions 3 & 4?

What are some of the biggest differences between Drush versions 3.x & 4.x?
markdorison's user avatar
  • 5,544
80 votes
7 answers
9k views

Suggestions for settings.php - Local dev, Development server, Live server

Basically, one of the greatest questions of all time: What are some ways you're using settings.php in your development/staging workflow? Right now, I have my settings.php file set up like the ...
geerlingguy's user avatar
  • 5,463
37 votes
4 answers
27k views

What's the proper way to use EntityFieldQuery?

In Drupal 7, the API documentation for node_load_multiple() specifies that using the $conditions parameter has been deprecated in favor of using EntityFieldQuery. In which way should EntityFieldQuery ...
98 votes
10 answers
89k views

How can I change a user's password from the command line using Drush?

How can I change a user's password from the command line using Drush?
markdorison's user avatar
  • 5,544
12 votes
8 answers
7k views

How can I change the Apache Solr search URL?

How can I change the default Apache Solr URL path from "search/apachesolr_search/term" to something else?
markdorison's user avatar
  • 5,544
5 votes
3 answers
215 views

Drupal accounts with dead addresses: how to de-activate?

on my drupal website, there are a lot of users with an invalid email address. I know because, either they have never logged in or their mails bounce. But I have to check manually, which is not good. ...
Philippe's user avatar
  • 193
3 votes
3 answers
1k views

Documents as a node/block/field

I'm working on my first Drupal site. Using FileViewer I can load a PDF saved in a field, for viewing of various types. I haven't found something that does the same for Word Docs, Excel, etc. Does ...
WernerCD's user avatar
  • 784
7 votes
6 answers
13k views

How to get nodeid?

How to get nodeid in Drupal for the current page without using the information from the page url? I.e.: if(arg(0)=='node' && is_numeric(arg(1))){ $nid = arg(1); } I do not want to use the ...
6 votes
3 answers
2k views

Block template suggestions

Is there a way to use a custom template for each block by title? For example, if I named my block "test1", and it is in the region "left1", I want to use the following template suggestions: block-...
amirash's user avatar
  • 291
5 votes
1 answer
4k views

Override comment.tpl.php file with theme

Objective: Override comment.tpl.php file output in drupal core modules. Assumption: My best guess is that I need to create a comment-[type].tpl.php file in my themes folder. Requirements: template....
Kevin's user avatar
  • 155
2 votes
1 answer
755 views

How should I create a main page with a mix of dynamic and static content?

I apologize for the terribly basic question but I'm not even a particularly adept web dev. I've read that Drupal is great if you know exactly what you want to do (then the API is handy) but I don't ...
user avatar
3 votes
2 answers
407 views

Which drupal hook to implement to react on module installation?

I have module A installed that defines some custom hooks. Module A wants to be notified when another module B is installed, so that it can inspect and see if module B implements its hooks (for ...
redben's user avatar
  • 433
6 votes
2 answers
2k views

Drupal 7 and MongoDB module howto

Just installed 7.x-1.0-beta1 to Drupal 7rc1. Should I see some new option in the configuration? Where should I set the connection settings? I have no idea how to use this module...
user avatar
5 votes
4 answers
193 views

What are the limitations of the theming system?

Can every theme function in include/theme.inc be overridden by a template (*.tpl) file? Can preprocess functions be used to add variables to any theme function?
runeveryday's user avatar
6 votes
4 answers
5k views

How to access data from external MS SQL database tables in a Drupal site running on MySQL

I am currently working a academic medical department that uses a lot of MS SQL databases because faculty set them up - making us the maintainers :( We also recently launched Drupal 6 site on LAMP, ...
JeroenEijkhof's user avatar
4 votes
1 answer
194 views

How can I access profile fields with a % variable in Drupal Actions?

I have an action setup in drupal to e-mail me when a new user registers for the site. Right now it is only telling me their user name (%username). Is there a variable that can access added fields so I ...
Rob Mosher's user avatar
7 votes
1 answer
175 views

In Open Atrium is there a way to assign a user to a case that user is not in?

I would like to be able to have an admin be assigned to a case that is in a group that user is not a part of. In Open Atrium. Is this possible?
Metropolis's user avatar
6 votes
5 answers
2k views

How to display cck node fields' values at the search result page?

I need to display some specific cck fields such as Telephone Number, Address, etc. at the search result page. As I see the search-result.tpl.php, there is no $node->... So how can I get the node ...
Drupal guy's user avatar
3 votes
2 answers
3k views

How do I create my own tokens?

I use the Rules module. I want to add 1 to a CCK integer field on an action. Someone told me to create a custom token doing this addition. So, I installed the tokenSTARTER module. Now, how do I ...
user avatar
7 votes
4 answers
4k views

Sending a value to JavaScript

I have set theme handler for a form in Drupal and this handler has a template file. What is the easiest way to send a value from PHP to JavaScript in that include file?
farzan's user avatar
  • 417
13 votes
3 answers
13k views

What does vid mean

I have designed a view and I see this query in the preview section: SELECT node.nid AS nid, node_data_field_crm_history_brokerid.field_crm_history_brokerid_value AS ...
user avatar
51 votes
9 answers
62k views

Where is the content of a node's body stored?

In the node table, you'll find everything except the actual body. Where can I find this body text? I'm assuming it's being stored as a blob somewhere.
rockstardev's user avatar
  • 1,029
23 votes
6 answers
32k views

User Registration Module for Drupal

Drupal uses email for user registration purpose. Instead of the out-of-box Drupal user registration that requires user to specify a username and email address, I want a full-fledged user registration ...
Graviton's user avatar
  • 331
7 votes
7 answers
13k views

How do I enable the WYSIWYG editor on fields?

I added couple of Text fields on a content type in Drupal; however, only the in-built "body" fields is WYSIWYG editor enabled. I am using FCKEditor as the WYSIWYG editor (installed under the Wysiwyg ...
user avatar

15 30 50 per page
1
1737 1738 1739 1740
1741