drupal-6

Combining multiple content types into a single search result with Drupal 6 and Views 2

Hi all, I need to create a somewhat advanced search functionality for my Drupal 6 site. I have a one-to-many relationship between two content types and need to search them, respecting that relationship. To make things more clear... I have content types TypeX and TypeY. TypeY has a node reference CCK field that relates it to a single n...

Drupal db_query error need help

Hi drupal pals, im using drupal 6.15 and doing my first project in drupal . i got an issue while running the below query with db_query i have drupal,delhi keywords in column 'tag' with table name tagging. db_query(SELECT * FROM {tagging} WHERE tag LIKE '%drup%') wont retrieve the correct output. it show null but the query modified li...

Drupal blocks are syncing?

I am trying to enable a new theme on a site running Drupal 6.16. I enable it fine, it has its own namespace in the theme and theme registry. However when you go to the Blocks section, changing a block here will affect that blocks placement in all the other themes, and vice versa. Is this normal behavior? Where should I begin looking to...

How to organize product catalog site in Drupal 6?

Hello there, please advice me how to organize product catalog site with such structure (this is pages which should be in site map): - Home page - About Us -- Team -- Contacts - Products -- Category --- Product ---- Overview ---- Photo gallery ---- Variants -- Category --- Subcategory --- Product ---- Overview ---- Photo gallery ---- Var...

Is there any way to integrate Jquery grid view into drupal ?

Is there any way to integrate editable grid view into drupal framework(form or node) so that we can perform operations like edit delete by onclick events as shown in example link text ...

Drupal Views limiting content posted by group membership

Hi, I have various different content types and I want to filter by using views. So say a block only displays content posted in groups that you are a member of. I've created my generic view which so far displays all content of that type, but I'm struggling with linking this to content only posted in groups your a member of. I've looked...

EclipsePDT: how to add a Drupal project ?

hi, how can I add an Eclipse project to my Eclipse PDT ? I've a Drupal installation on my hard-disk (a subfolder of Eclipse workspace). I've tried create new PHP project from eclipse, but it seems not to work. I've successively tried to import the Drupal project but Eclipse only recognize the SimplyModern project from drupal themes f...

CCK NodeReference - Pass current user id as argument to selection view

Hi all, I'm trying to create a view to limit the options available to a user for a CCK NodeReference field. I want to pass the current user's ID as an argument to the view that selects the options for the CCK NodeReference field. Basically when the user creates a new item, I only want them to be able to reference a node which they creat...

Drupal: 3 blocks (authenticated users can only edit 2 of 3 !?)

hi, I'm developing a website in Drupal 6. I've 3 blocks (I use as footers), I've created the first 2 time ago and recently I've added a new one. As root I can, of course, edit all of them, but authorized users can only edit 2 of them. I dunno how to change preferences for the third block. thanks ...

Hows does Drupal 6 interact with MySQL for connections and transactions?

Hows does Drupal 6 interact with MySQL for connections and transactions? Does connection pooling get used? How are transactions handled? At what level are these things managed by Drupal vs being handed off to be handled by MySQL? I did a good amount of searching on the web and within Stack Overflow, but mainly, I only found articles ...

Drupal: re-use same CCK Field in the same content type

hi, I need a sequence of text, image, video CCK fields, repeated twice in my content type. I need to create 2 different groups (I don't want to use multi-upload functionality). I was wondering if I have to create a new field Image - File Upload for the second group, or I can somehow to re-use the first one (which is already added, and ...

Drupal theme code to work out if you are editing a node

Does anyone know the php code to check if you are in edit mode? I want to edit how my theme looks when in edit mode so need to work out if I am or not. ...

Drupal: how to set up multilanguage Drupal on several domains?

Hi. I need to set up Drupal 6 as a multilanguage site. 1 installation, several language versions = several domains, i.e. English at englishsite.com French at frenchsite.com German at germansite.com. I've found a Tutorial that suggest that you need access to server's http.conf - this is quite unlikely on shared hosting. Is it really ...

Drupal Event/Calendar Module not storing event time

Hello, all. I have installed a fresh copy of Drupal 6 on an Xampp server. Within that install is a collection of modules for creating an event calendar. There's actually a great instructional video at http://www.youtube.com/watch?v=qO4TeEydtMs for getting all the necessary fields up. So far everything is working except... the events wo...

Drupal: CCK ImageField, multi-line description

hi, I'm using CCK Image field (multi-images) and for each image I have the "Description" field, where I can add the image description. I was wondering if I can have multi-line description, instead of only one line. (Even using some specific symbol to go next line) thanks ...

Drupal: CCK ImageField, description not displaying

hi, I've added the description field to my Image CCK Fields (in my nodes). I filled the description field from back-end. However I dunno how to enable it in my front-end. I cannot display the descriptions. I checked, they are not hided by css. The HTML element doesn't exist. thanks ...

How to load data and save data from database in drupal using json

Load data from server side and save modified data to server side (database)using json in drupal module ...

Drupal 6: How to add a new region to a theme

I added a new region line to my .info file under /sites/all/themes/[theme] directory. However when I look at the Blocks page, the region is not visible, nor is it a selectable item from the dropdown menus. I've cleared the cache as well. What am I missing? ...

Drupal, Views: can I use 1 filter, for many CCK fields ?

Hi, I'm using Views in Drupal. I want an exposed filter selecting the ndoes containing a specific word. But I noticed I cannot search more then one CCK field per filter. Since I want to expose it, I want an unique text-input field for all CCK Fields: is that possible ? At the moment I can only add a new filter for each CCK field. Th...

Drupal: can I specify a View for my search results ?

hi, I have a "Search" field in my website and I was wondering if I can assign my View to the search results, instead of using the default list. Is this feasible ? How ? thanks ...