drupal

Running a django project in a subdirectory of a site already running Drupal

Hi guys, This problem has been bugging me for the last week or so and now I am coming up on a deadline. I have a site on a Media Temple DV server that is running Drupal in the webroot (servername.org). I am adding a django site and I would like it to be located at the url servername.org/myproject. I have build the project (in a directory...

Drupal 6: How to sort/filter search results by date

Hello, How to customize standard search behavior in Drupal 6? I need search results to be sorted by date. In example, people want to show items within 2 past weeks or something like that. I've tried a lot things on this reference without luck. Have you ever encountered such problem? Any help will b appreciated. Thanks! ...

Drupal Development: I need a good idea!!

Hello everybody. I'm starting developing a Web Site for a Sport Club. This site will have a "main" site with some "institutional" content, and every sport that is present in the club will have it's own micro-site. For example, i'll have this sitemap. Club +++History +++About Rugby (one random sport) Blog Photos Videos User Comme...

How to update Drupal Views 2 query with OR expression?

I'd like to add an OR expression to Drupal 6.x Views 2 query in the following way: Existing query: SELECT node.nid AS nid FROM node node WHERE (expr1) AND (expr2) New query - this is what I want to achieve: SELECT node.nid AS nid FROM node node WHERE (expr1) AND (expr2 OR new_expr) The question is how to update my existing query (...

Drupal or Umbraco: which is easiest for a junior dev/designer to come to terms with?

Hi, Out of Drupal and Umbraco, in your opinion which CMS would be easiest for a junior dev / designer to come to terms with? Initial configuration will be by an experienced developer, with handover to an in-house junior. I'm not a programmer, so forgive my terminology - but is one built using a more common language than the other, for ...

Authenticating Drupal Users Using Remote Call to Active Directory Single-Sign-On, How do I do it?

QUESTION: Authenticating Drupal Users Using Remote Call to Active Directory Single-Sign-On(SSO), How do I do it? SPECS(DRUPAL_SYSTEM): Linux-CentOS-5.X, Apache-2.X, PHP-5.X, Drupal-6.X CONTROL(DRUPAL_SYSTEM): 100% control of Drupal server making call to Authenticating server using Active Directory Single-Sign-On SPECS(SSO_SYSTEM): Cur...

User registration with payment option

Hello Drupal Experts, I need a help in new user registration with payment option with 2/3 types of user, Please tell which is the good module/method. thankyou ...

Drupal node demystified

Hello SO, I'm new to Drupal, and wish to understand how this platform works. Specifically, I'm mystified by the Node object. What is it, how does Content-Type get in?! It seems like the whole of Drupal is just nodes, nodes, nodes. Would love to hear you insights. ...

Drupal Filefield Source install question

Filefield Source is a module which works with CCK and Filefield which allows users to select files from already uploaded files, instead of having them upload a file multiple times. I installed the module, but cannot see it. I am using CCK version 2.8 and Filefield version 3.7. Any guidance would be appreciated. Probably just some stu...

Drupal Notifications module - how to obtain a subscription id (SID)?

I want to show a subscribe/unsubscribe link on a forum topic list page, along with each of the topics in the list. I have all the info for the subscribe link in the $topic variable in mytheme_preprocess_forum_topic_list(): foreach ($variables['topics'] as $id => $topic) { Assuming that I want to call notifications_get_link() to get th...

Block some drupal URLs

By wich module I can disable some drupal system pages. For example node, taxonomy/term/*, filter/tips. ...

How to create and manage a dynamic page based on user generated content

I'm trying to create a website that will take data from some file as input to a javascript page that will then do some data crunching and spit out some html. Additionally, I want the website to allow users to upload their own data to then be displayed. I'm imagining something like where the top center of the page has the results of the j...

Test Drupal Messaging and Notifications without sending messages

Hi there, I'm upgrading a drupal website. There are thousands of users and it is using messaging and notifications. By accident I have sent out loads of notifications to users. Is there any way I can prevent the emails going out to users and still carry out my upgrades? I don't want to disable the modules as I need them enabled to do th...

Drupal, elements with odd or even id numbers in view

Hello I want to have two sliders on my site with the same content. Could somebody tell me is this possible to create html list with only even or odd elements? Regards ...

Updating organic groups module in Drupal

Hi there, I've taken over a Drupal website. I'm trying to update the og module. It is currently version 1. I tried to upgrade it to the latest version but when I ran update.php it failed. So I thought I'd just try updating it to version 1.4. However, when I did this I then got the following errors when I ran update.php: # user warning...

Views and NULL values

Whats the best way to have Views pull out records with NULL values for a CCK field? So far, with a simple filter of 'Is empty (NULL)' in the Views GUI does not return a record for me, but it should (I see them in the database). I also tried passing it as an argument: $handler->argument = 'NULL'; return $handler->argument; No results...

Using PHPStorm against the Drupal code base produces many false errors

Has anyone managed to use PHPStorm with the Drupal code base? I keep getting many false errors about undefined variables. I've added *.module, *.inc, etc to the list of PHP file types but I still get errors. ...

Drupal: Include user profile data in page.tpl (phptemplate_preprocess_page?)

I need to pull user profile fields to display in my page.tpl. I know the profile data isnt included in the $user array but I think with the theme function phptemplate_preprocess_page I can add the data, but Im not sure exactly how. ...

Separating a Drupal module logic and UI

I wrote a D6 module which provide user with the ability to communicate, config params and test a 3rdparty API service. The module works as intended but I want to separate the communicator class and bundle it as foo module. Then pack the rest (admin page) as the foo-ui module. Just like views and views-ui. I have no idea about what's the...

openlayers drupal missing site building module

I don't have http://xxx/admin/build/openlayers/layers/ in my Acquia-drupal installation acquia-drupal-win-1.2.30-5322.19124 Is there anything I can do to have the openlayers inside the Site-building section of drupal ? currently I can only configure stuffs in http://xxx/admin/settings/openlayers (site configuration). Does this have som...