drupal-6

how to disable edit link of node view page of drupal?

I want to disable or hide edit link for specific role on node view page. ...

How to create a simple company blog with a Tag-Cloud in Drupal-6?

Hello everybody, I have to create a simple company blog within drupal-6. That means there should be only one single blog each user can post into. What i have done so far is to create a custom content Type (blog) and a view that displays teasers of the recent blog entries with links to the full blog post. Now i have to create a Tag-Clo...

Drupal views relations question

Hi, In Drupal I have 3 content types( A, B, C ) see link. A and C contain a node reference to B. Now I have a view which queries fields from A from an argument. I want to also show fields from C trough the relationschip with B, so: A has a nodereference of ID:1, B has a Node ID:1, I want to show fields from C where nodereference of ID...

how to make a filter for View which find nodes that have a user_reference field referring current user?

I have a content type, named "Task". It has a cck user reference field named "assigned_user". I want to filter Tasks, which their assigned_user is current user. how can I use "Token Filter" for this for my view? I installed this module but I didn't find anywhere for inserting tokens in view filter. Does exist any better way? ...

HTML Template to Drupal Theme

I have an HTML template. What are the steps to convert it into a Drupal 6 theme? ...

Views 2: Filter Nodes by selected language

I have a Drupal 6 multilanguage installation and I want to filter the nodes displayed by a view based on the language the user selected. When adding "Node translation: Language" but I still get all entries. Any ideas what I missed? ...

Is it possible to ajaxify drupal multistep forms?!

It seems to be difficult to ajaxify a drupal multistep form(loading next step without page refresh).I googled it but I didn't find any solution. Does anybody know how to do it? ...

Login to drupal

I have issues logging into my newly installed drupal 6 website. I have installed a fresh copy of the drupal 6-19 and and haven't added any new modules yet. When I enter my administrator user/pass and click login, The same first page is returned, with no sign of the reason of a login failure. When I login with an incorrect user/pass pai...

Drupal 6 Faceted Search

Hi, I've been playing around with faceted search and the available display styles and wanted to know if there's a way I can write a custom display within my custom module and expose it to the list of display styles when configuring an environment. I used the view option but the views doesn't quite produce the results I want. ...

drupal multi language site, language-independent front page

Hi, I'm working on a multilanguage site (IT(default)-EN-DE) and I want to have a language-independent "front page" with the site logo and a custom menu with three different links: For example: IT -> sitename.it/about EN -> sitename.it/en/about DE -> sitename.it/de/about Other internal pages (history,territory,about...) use i18n modul...

Drupal easy question.

I'd like to ask how to link to a drupal node? I've created some page-content but don't know where they are and how to access them. I'm trying with navigation/menu etc., but still no luck. ...

How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6?

I built a site using Drupal 6 recently that allows for users to submit information to the site owner in three different ways. They are: Webform A: Quick Contact - this just collects name, email, phone and a message. Webform B: Free PDF Book by Email Webform - this collects info similar to above, and then sends the user an email with a...

Drupal 6 - Webform integration with Experian QAS (Address lookup)

Hi, I'm looking to create a form solution for my client; but rather than code it completely from scratch I thought I'd try and hook into the Drupal Webform module. I think this will be fairly easy for the client to get to grips with as they are already administrating blocks, pages and other custom content types. However, the big unknown...

Drupal frontend-specific language

I've installed and configured a Drupal project in English but the frontend of the site should be in dutch. Now i was wondering if it's possible to configure frontend specific translations. The error messages etc. of the website (in the frontend) should be in Dutch. ...

Drupal Views exposed filter of Author name

I have a view which I would like to add an exposed filter of the author name. So I can filter all the posts created by "John Smith" etc. I can't seem to see it listed under filter. Is this possible to do? ...

Drupal Views exposed filter of Author name as a drop down

This is a follow up question to http://stackoverflow.com/questions/3880679/drupal-views-exposed-filter-of-author-name. The following question was answered and works. I can filter a view by user name. The user name is entered is entered by typing in a box and the box then auto completes. Rather then doing this I would like the list of use...

Get Posts Tags list below article in Drupal 6

Hi, is there any way, to generate the Tags List manually in Drupal? Currently I use: print $terms, but I do not like the formatting. How can I generate this list manually? ...

Can't Update Drupal Content, receive "Illegal choice 53 in Access element." error

I've inherited a Drupal 6.16 project and I'm brand new to Drupal. When I try to edit content and preview I get the following error: An illegal choice has been detected. Please contact the site administrator. When I look at the logs, this is the error it displays: Type: Form Message: Illegal choice 53 in Access element. I d...

How do I decide between theme('node', $node) and drupal_render($node->content) for programmatic $node output

Given a $node, I'm trying to decide between the following two ways of outputting that $node. either $output = theme('node', $node); or node_build_content($node); $output = drupal_render($node->content); They both seem to give similar results, but is there something I should consider before I choose one way over the other? ...

Passing arguments using drupal_get_form()

Here is my custom module using hook, Assume if I want to pass argument to custom1_default_form function call, how should i pass the argument? <?php function custom1_block($op,$delta=0){ if($op=='list'){ $block = array(); $block[0]['info']=t('hello world'); return $block; }else if($op=='view'){ $...