drupal-6

Drupal: can't add the taxonomy field to Views ?

hi, I've prepared a View for my nodes and I've selected which fields to display. I just realized that there is not the taxonomy field from Content:Taxonomy There is only Taxonomy:Term category and warning: "The content might be duplicated, use appropriate filters". Should I use this item ? What kind of filters should I use ? thanks ...

custom url for taxonomy > vocabulary at Drupal 6

Hi friends, I'm new at Drupal. a question; I create a hotels directory site. I created Taxonomy>Vocabulary for locations like London, Liverpool, etc... For example the url below lists the London localhost/drupal/taxonomy/term/1 how can change that url to something like localhost/drupal/hotels/london is it possible? appreciate adv...

Drupal: how to make select list show taxonomy terms in hierarchy?

Hi. I have a block generated by Finder module (simple search mechanism). The block contains a form with select lists of various taxonomy dictionaries. Their order, however seems quite random (neither, alphabetical, nor chronological) and lists regions in such an order with no hierarchy: Italy, France, Poland, Benelux, ..., Upper Austria...

checkbox for Drupal CCK

Hi friends, I'm new at Drupal. love it so far :) I'm creating a CCK custom content type. I need to make a amenities list in checkbox format. so I made; File Type: Text Widget Type: checkboxes/radiobuttons and Allowed values list: onsite_dining|Onsite Dining meeting_space|Meeting Space business_center|Business...

Drupal: displaying warnings...

hi, how can I disable warnings for my users in Drupal (and keep them on only for the administrator) ? thanks ...

using custom CCK fields in node + Drupal 6

Hi friends, I'm new at drupal. I created custom content type with CCK. Added some Phone, Address, Fax fields... Now I'm editing the related node. but in the node it just says print $content How can I use the custom fields I've created? maybe something like print $field_name ? anything like that? appreciate helps!!!!! ...

Drupal Private Publishing

Is there a way to have a content type that is only viewable to admins AND the person who created it, including comments? I feel like I know the answer to this but its escaping me. ...

Drupal Views Question: Displaying results in two columns?

I'm new to drupal and I have a question about views: I'm building an employee directory and need to display the results in two columns, such as: Record 1 Record 2 Record 3 Record 4 Record 5 Record 6 . . . How can I accomplish this? To take it one step further, I want each record formatted as: IMAGE NAME TITLE I have no ide...

Multiple sections on landing page only

Hi every one, I am very much new to Drupal but am loving it to start with. I got struck at a point with respect to theaming. I have a region called 'footer-teaser' just above footer. Its width is 800px. its been split into 3 equal size columns. Each column has the following. Image of size 120x120 Some teaser text Link to 'read more'...

Integrating file upload module in drupal custom module

I have created one custom module in drupal.In that module i have a form for adding some products details.For adding image i have downloaded and enabled the image upload module. But my problem is how i can integrate the file upload module in my custom form. Thanks in advance......... ...

Drupal: what's the Drupal id for the "Save Button" ?

hi, what's the hook for the Save Button in Drupal ? I've tried $form['submit']['#weight'] = -50; But it doesn't work. I'm sure the template.php file works because for example: $form['author']['#weight'] = -50; works. Thanks ...

Drupal: how can I add text areas to my menus ?

hi, how can I add text areas to my menus with Drupal ? For example see lancelmaat.nl Menu > Contact... I would like to put some text to a submenu and edit it from backend. Thanks ...

Drupal: template.php in theme, how can I edit the block back-end page ?

hi, I use phptemplate_node_form in template.php to edit my back-end node pages function phptemplate_node_form($form) { Which is the function to edit the blocks instead ? thanks ...

Drupal email when someone posts to forum topic.

Is there a module to email the owner of a post when someone replies to there forum post? ...

Drupal: jquery update module... is possible to replace jQuery files in it ?

hi, I'm using Drupal jquery_update module to use a more recent version of jQuery. I've enabled the module and the jQuery file included in its folder is used. However it is still old: min.1.2.6.js So, I've tried to replace it with min.1.3.2, by replacing the file in the jquery update module "replace/" folder. Unluckily I get some bugs...

How can I create multiple different blocks in one module in Drupal 6?

I'm using hook_block to create a block with the name of the custom module I'm creating. I'm not being able to create a block without using myModuleName_block. Do I need to do different modules for every different block I want to create? ...

Show block on nodes the user can edit?

What block visibility PHP snippet would show a block only on node pages that the loged-in user can edit? The user may not own the node. In my case, I want to show the Content Complete block to people who can actually populate missing fields. ...

Drupal html user id

I'm using Drupal 6.16: I think I have a pretty simple question. How can I get the current user id and put it in a menu tab. What I would like to happen is when the user logs in and wants to change their their name, email etc to click a menu tab. I image it would look something like this: http://domain.com/user/{userid}/edit Thanks in...

I had inserted a jQuery tab in my site. It was working fine till sometime ago. Suddenly it stopped working. Can someone figure out the problem?

Hello, I had inserted two jQuery tabs on my site. One div container had the id - tabs and another had the id tabs-for-views. Both of them were working fine till sometime ago, until i made some changes. I don't remember what the exact changes were.. Right now, the first tab uses the jQuery UI theme I am using. As in, I can see the ta...

Drupal FAPI: Add form elements on nodeform after validation

Hi, I use Drupal 6.x. In my own module I alter each node form an add my own validation handler to it using $form['#validate'][] = 'my_own_validation_function'; Then I have the function function my_own_validation_function($form, &$form_state) { //if validation fails, i would like to rebuild the form to add additional form elements i...