drupal

Add dynamic URL (or button) to each node in Drupal

I've used CCK to create a 'Travel Offer' content-type which basically just lists the details for a travel package. My question is how to have a button or link on each node (when the user views it) that will link to a url that includes the title of the current node (eg: example.com/requestQuote/Title_Of_This_Node). I haven't implemented...

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 ...

DRUPAL, Views, Exposed Search Filter: how to never filter a particular node ?

hi, I'm using Views on Drupal. I've added the Search exposed filter to search the nodes. I would like to avoid to filter 1 special node (which is sticky, on the top of the list). In other words, the search filter should ignore that node, and it should be always displayed. how can I do that ? thanks ...

Drupal timezone information

In my drupal installation I can get the offset from UTC in seconds to the timezone I specified in the admin panel using variable_get('date_default_timezone', 0) However, now that we have daylight-saving-time, the time I get is always off by one hour. Is there a way to retrieve the actual timezone string from Drupal, as "Europe/Berlin...

How to add visible menu item from php code (drupal)

I have a content type with important "created" date field. And I have a menu link (in primary links) which is link to page that shows list of all nodes of my content type. (http://example.com/mycontenttype) I want to have menu links (visible in primary links) to each year when nodes of my content type are displayed (http://example.com/my...

Page not found drupal error page doesn't show navigation links.

Page not found drupal error page doesn't show navigation links. What's the solution? ...

Calling a Web Service from PHP

How can i call a web service from php ...

drupal (CMS) or codeigniter (MVC) for creating a new web application?

im going to create a new web application that is very customized. it will contain images, that are fully searchable - in a very, very customized way. when you click on the pictures you can add comments and so on. it requires users to be registered, but the registration/login process will be highly customized too. at the moment im usi...

using drupal 6 or 7 for a new PHP web application?

if i create a new web application tomorrow, should i use Drupal 6 or 7? i have never used drupal before so i have to start learning it first (very familiar with PHP) so i can understand the basics and how to extend it. my concerns for using 7: no modules contributed yet? so i dont have all the fancy stuff i can add like in Drupal 6? ...

Django and Drupal

Dear Experts, Since Django is a web development framework and Django is a CMS. Is it possible to use them both together instead of a preferred database on Django like apache? Maybe that question isn't clear enough. Is it possible to use Django and Drupal simultaneously on the server side to provide a better web development solution? ...

Clash between map hilight and fancybox modules in Drupal

Both of them are jquery modules. If I install either of them, it works fine. But if I enable both of them at the same time, neither of them works ... I suppose there is a clash between them. Any thoughts? ...

Drupal: update filesystem path in the database

hi, how can I change my Drupal filesystem root in the database ? I moved Drupal to another path. I'm looking for this value to update in the database. thanks ...

How do I make a view that groups nodes by taxonomy term?

Hello, I'm trying to bend views and drupal to my will. So far I've produced a view to display the titles of my nodes. Each node will be assigned exactly one taxonomy term from the set {X, Y and Z}. So for example, Node A has a title "Car drives into field, thousands don't care". Node A has a taxonomy term "Pointless". I'd like to gro...

Drupal 6: best way to upgrade jQuery?

Hi! I want to upgrade jQuery inside my drupal installation. At the moment I have jQuery 1.2.6 and I would like to upgrade it to jQuery 1.4 I guess some Drupal modules still depends on the old jQuery version. I've tried jquery_update module to upgrade jQuery, but it didn't work. It asked to replace the original Drupal files in the "misc...

Drupal 6: getting random data from database

Hi friends, I spend few hours at google, but cant find :/ is it possible to get a random data from database with Drupal 6? appreciate helps!! thanks! ...

How do I create a redirect from a subdirectory to the root domain?

I am trying to redirect all requests to domain.com/drupal to domain.com, including all sub directories in /drupal. I have seen several answers telling me how to accomplish the opposite of this with .htaccess, but nothing to go this way. I have tried the following line in .htaccess- RewriteRule /drupal/* ^/(.*) as well as several var...

Add a drupal translation based on a already setup language?

I have a site translated for a number of countries. Now I need to add a country but the language is already in the system (f.e. they speak French in both Belgium and France, or German in Germany and Austria). So instead of adding an extra language I'd like to have an url prefix for my new country but it needs to use both content and int...

Drupal: module handling browsers with disabled javascript

hi, is there any Drupal module to display an alternative page in case Javascript is disabled ? thanks ...