drupal

Multiple environment (Development, Staging, Live) in Drupal

Hi guys, I am sure the title is pretty much the question but I would like to explain a bit more... Drupal is great CMS but it lacks of process to achieve multiple environment (Development -> Staging -> Live) Why I need multiple environment? For example, the site live and you want to add functionality or amend something, of course u do...

Drupal: Content in blocks from node_reference fields?

After only a few weeks of working with Drupal I've come up with a recurring problem, which I don't really have an optimal solution to, so I'm hoping that someone here might be able to give some best practice pointers. What I have is a region inside my node.tpl.php, which is populated with blocks that display content from two different C...

Filter & Convert an Array into String using PHP

How can I turn this array: print_r($arr) Array ( [131] => stdClass Object ( [tid] => 131 [vid] => 9 [name] => apple [description] => [weight] => 0 ) [112] => stdClass Object ( [tid] => 112 [vid] => 9 [name] ...

Accessing user profile variables

Using the profile module I've created a textfield called profile_real_name which the user fills out when registering. How do I access this variable in the node.tpl.php? I used the dsm($user) function to output the user variables and it contained everything except the data for the profile_real_name I also ran dsm($vars) on the phptempl...

My Drupal secondary menu is not showing up anywhere

I am using the Acquia Slate theme. http://drupal.org/project/acquia_slate I've setup my Secondary Menu to show up in "sidebar first" block. What I'm assuming is that when I select something from my Primary Menu (which I renamed) that the secondary menu would show up. This is not the case. I do have the secondary menu turned on and I...

returning untemplated output in drupal from menu callback function

Hi, I have a drupal module with a function that returns an attachment text/plain, function mymodule_menu() { $items = array(); $items[MY_PATH] = array( 'title' => 'some page', 'page callback' => 'myfunction', 'type' => MENU_CALLBACK, ); } function myfunction() { drupal_set_header('Content-Type: text/plain'); return "some text"; } Bu...

i need a player which is supported in drupal

Hai, In my project I need a player which is supported in drupal so that i can play the videos after uploading them. can you give me a reference. Is there any video player which is supported in drupal? ...

What is the best Drupal Survey module

We're after a replacement for a DotNetNuke installation with a DynamicForms module by DataSprings. Currently the problems are mainly performance related, but the fact that DynamicForms uses Postbacks on ASP.Net all the time renders it also highly susceptible to slow server response time. We're after a Drupal module which would allow u...

Drupal - saving created pages and page edits leads to an incorrect, blank page.

Hi, Sorry if this is a bit vague... I have a Drupal install (6.14), and when I now either create or edit a page I'm led to a blank screen once I hit 'save'. It seems to return you to a blank version of .../node/add/page (when creating a page), rather than taking you to the actual created node. Also, I notice that when editing a page, ...

[Drupal] How do I give a specific user editing rights to a specific node?

How do I give a specific user editing rights to a specific node? I have a user role named "Student". Multiple users have that role, only a few of them can edit a node. How can I realise this? ...

Drupal search module has suddenly stopped working, how do I fix this problem?

Drupal 6.15 search has stopped working. how can I fix it? I've run the cron and re-indexed, but it still does nothing when searching. Any ideas? I can see the tables that the items have been indexed, but search results show a blank white page. ...

CiviCRM API integration with Drupal Webform Module; civicrm_contact_add() Errors

Using drupal 6.15 and CiviCRM 3.1.2. Need Webform to put values into the CiviCRM sql database, and trying to use the CiviCRM API to do so. Have been editing the file: .../modules/webform/webform_submissions.inc, adding the following lines: /* Initialize CiviCRM so that the API's can be used */ ini_set("include_path", ".:/usr/local/php...

drupal 6: how to email users of tasks due (week b4, day before, and overdue)

Using open atrium, have tasks with assigned to (user reference) field, due date field, neither field required. Also using flag to note if task is completed or not. Want to email users a reminder of tasks when that task's due date is a week away, again when it's the day before, and each day when it is overdue. If task has a due date, i...

drupal form override theme function

i created a module that generates a small form. I also made a function that should theme the form, overriding the standard theme. But form some reason it doesn't call the theme_ function. Am i forgetting something? function mailinglist_menu() { $items['mailinglist'] = array( 'title' => t('Beheer mailinglist'), 'page callback'...

How does Drupal compare to SharePoint

I have no experience with Drupal. How does Drupal compare to SharePoint 2007 (or 2010) for the following "features" Document management Role and permission management Office integration Web Content management Custom server side development (features, custom pages, access to external data...) Deployment ...

Is it possible to share users between a Drupal 6.x and Open Atrium database, based on organic groups or CiviCRM smart groups?

I use Drupal with CiviCRM for our nonprofit's public site and CRM database, and Open Atrium for the intranet. My goal is to either sync or share specific users from the public site to the intranet, to allow single sign-on. However, only users who are part of a specific CiviCRM smart group (volunteers) should be shared/synced. I could u...

Drupal voting module with an image per option

I've searched for a while and can't find this option. In Drupal 6.15 I'm trying to setup a Poll that will allow me to upload an image for each option to vote on, and have the image inline with the radio button. Also I'd like to have a text field for each option to describe the image. thanks ...

What is the drupal way for wysiwyg reply edit box?

I'm making a forum and I'm using drupal6 advance-forum module. I browsed all the admin sections and I still cannot figure it out how to put a wysiwyg edit toolbar on the reply form. It shows in the admin section when I create a topic but not outside the admin section. Should I do that manually? - I can do it with java script, but if I ...

filtering a Drupal View with ORed criteria

I'm attempting to present a Drupal View that shows nodes in which the user's e-mail address shows up in one of two CCK text fields. Unfortunately, this doesn't seem to be possible using the stock version of Drupal's Views module - there doesn't appear to be a way to combine filtering criteria (except ANDing them), nor does their appear t...

Drupal/Flash: How to mediate their communication with Views, etc

My intention is to build a full-screen well-optimized flash site, possibly a hybrid (but i want persistent flash.. for example, to play music), with drupal in the back. However, I want to be able to do this as dynamically as possible. If flash is detected, then I will be showing a flash site with a flash area and an ajax non-flash area...