drupal

Drupal vs Wordpress performance comparassion

Hi, in the beggining i build my site - bemcapaz.net - on Wordpress. But after having to hack the core and build lots of stuff trought direct programming I decided to move on to Drupal. Drupal besides being a CMS focused more on community websites is great for doing anything you can imagine in a really simple way, even a Blog wich was wh...

Drupal 6: Taxonomy splot up in managed fields?

So you have two taxonomies, namely: "Business Type" and "Location" This is assigned to a node called BUSINESS. In effect, when the user creates a BUSINESS node, her has to choose for example, location "New York" and type "Information Services". My problem is when: a) Capturing the taxonomy, and b) Displaying the taxonomy I want the two...

Drupal: Best Forum Module?

What is the best forum module to use for Drupal? The core is a bit lacking. I'm thining of investigating: http://drupal.org/project/advanced_forum Anybody have any better suggestions? ...

Customizing gallery layout in Drupal with Views and CCK

I am creating a gallery/albums site in Drupal 6. Perhaps the description will be a bit detailed, but still on some reason it's a problem to create a gallery in Drupal in a simple way. As for now I am using CCK + Views + FileField + ImageCache + Lightbox2 combination. This has allowed me to - create Album CCK node type that can hold mul...

Drupal CCK Field Level Visibility

Hi, I am using the Drupal 6 module Content Profile to allow using a CCK defined type as a user profile which is working well. The issue I have is that I want the first completion of the profile to trigger an action however the user may save the profile without completing it. My thoughts on this is to have a checkbox by the save button...

Nginx - Treats PHP as binary

We are running Nginx+FastCgi as the backend for our Drupal site. Everything seems to work like fine, except for this one url. http:///sites/all/modules/tinymce/tinymce/jscripts/tiny_mce/plugins/smimage/index.php (We use TinyMCE module in Drupal, and the url above is invoked when user tries to upload an image) When we were using Apache,...

How to Deploy a Drupal Site on a Web Farm ?

Hi, I would like to know how I should deploy a Drupal site when I'm using three servers? Is it possible to deploy it with a Drupal module or something? If it is, how does that work? Thanks. update: I would like to know about the deployment of files and the configuration of the servers. ...

drupal file sharing

Hi, I am finding a drupal module to enable file sharing between users, somebody know someone??? ...

how to configure the formatting of file upload in drupal 6

When you use the file import in drupal 6 it adds a whole lot of formatting. How do I just get is to return the path. I am printing the following. <?php print $node->field_factsheet[0]['view'] ?> ...

How to perform Request destination in user page

Hi, I'm trying to redirect any logged user attempts to access /user. In my module I've the next code to redirect after login: function ccmm_user($op, &$edit, &$account, &$category = NULL) { switch($op){ case 'login': $_REQUEST['destination'] = 'admin/'; break; } } And this is working great.. then I try with ca...

Why is this mysql table producing a NULL in the datetime field?

I've got this table. The table has a bunch of char fields, but the field in question (expiredate) contains a char on the test_tmp table, and a datetime on the test table. (Table names have been changed to protect the clients.) In the test_tmp table, the field contains a Month-Date pair, like 'Aug 10' or 'Feb 20'. The code I'm using t...

2 different layouts of the same content type in drupal 6

I have a content type called fund. The contents of this is in node-fund.tpl.php which is inside of page.tpl.php I have a requirement to recreate the content of fund but without page.tpl.php So to be clear, i need to have 2 pages 1) fund inside page template 2) the fund data but completely reformatted. The plans is to create pages th...

Stop a custom submit button from firing the form validation on a CCK form

I've added a submit button inside a fieldgroup on a CCK form using hook_form_alter as follows: function mymodule_form_alter(&$form, $form_state, $form_id) { if ($form_id == 'object_node_form') { $form['group_wikipedia']['search'] = array( '#type' => 'submit', '#value' => t('Search Wikipedia'), '#name' => 'searchwiki', '#subm...

Drupal: route nodes links to a view

Getting started with Drupal (specifically CCK and Views), so forgive me if this is a basic question. I'm have some fairly complicated Views that display some Custom Content types with an Attachment below so that I'm essentially seeing multiple tables joined together in one view. Let's say these pages are accessible via /person/64, wher...

How to serve files in Drupal without using links?

How do I serve files in Drupal without revealing a link that might be re-used? This sort of thing is usually handled by postbacks in .NET for example, but I can't find any documentation for accomplishing it in Drupal. The goal is to be able to give a specific file to a user exactly once when they complete a series of steps defined by th...

Complex users list in taxonomy/term/%

I need taxonomy/term/% to look like tis User Name, Second Name, latest user's node title in this term + link to it; User Name, Second Name, latest user's node title in this term + link to it; User Name, Second Name, latest user's node title in this term + link to it; ... Is it possible and how to do this using "Views 2"? Thank you :...

Drupal - showing forums on the left side bar

Using Drupal 6 : Theme is Garland 6.12 How do I add a link for my forums and show it on the left side bar? I have tried the following(and it didn't work) : 1. Moved "Primary Links" block to "Left Sidebar" 2. Added "?q=forum/1" to "Pages:" in "Primary Links" Neither do I see "Primary Links" on my home page, nor do I see a link for fo...

Select date fields for only 6 months beginning with current in Drupal Views

I have a content type with a date field which can have multiple values. How can i select the dates in Views for each month separately, beginning with the current month and have table columns titled with the month names? ...

Drupal Session User id for independent script

Hello, I am creating a simple script say a.php. I know that drupal 6 creates a session etc. So in my a.php I am trying to print_r($_SESSION); but that doesnt seem to work. What is the best way to get the logged in users userid in my program? Sorry I am new to drupal. Thank you for your time. ...

Zend Framework and Drupal on the same domain

I have a small application written in Zend Framework that I want to embed into Drupal Page. Both apps (ZF and Drupal) are be located at the same domain. But per my knowledge ZF requires to be installed in the root of server, where I already have Drupal. My concern is that ZF controller will mistreat Drupal page requests as bad controlle...