drupal

Duplicate nodes in drupal-views - but not in preview

Hi folks, i have a view that only lists those nodes that have a certain workflow-status (published). In the preview everything works as expected. But when viewing the site, i get duplicate nodes. Anyone an idea how to solve this problem or where it originates? Greatings ...

Drupal Private file sytem to Public

Is it possible to switch from a private filesystem to a public one in Drupal. If so how would you do this? /admin/settings/file-system says Changing the download method will modify all download paths and may cause unexpected problems on an existing site.. ...

drupal input filter example

I'm trying to write an input filter that turns everything that starts with http and ends in .mp3 into an audio element, so: http://google.com/file.mp3 -> <audio src='http://google.com/file.mp3' /> The regexp is no problem for me, just not sure how to construct the module. A simple example that would allow me to add many additional rul...

How to integrate paypal payments with drupal 6?

Hi there, I've been looking through paypal modules for D6 and I'm a little confused. I am building a website where people will pay for courses (using paypal). Is there a simple module that I can use to do this, or will I need to use Ubercart which will be overkill? My programming skills are limited... Ben ...

Document management for Drupal 6?

Hi there, Can anyone tell me if there is a similar module for document management for Drupal 6 like docMan for Joomla? I want to be able to manage documents from one place (upload etc) and then be able to link to those documents from within a page. Thanks in advance, Ben ...

Theme CCK fieldset.

I am attempting to use the CCK theme_fieldgroup_fieldset($elements) hook to convert the fieldset to a two column layout. I thought that this shouldn't be to hard because the individual fields are in the $elements variable so all I have to do is iterate over them and print them individually. the problem is that I have no way to tell if t...

Fb like share box in drupal website

I am making a drupal website and have a content type "quotation". The standard way of taking input in drupal is going to the create content in the menu which is not very user friendly considering your normal user. I want to have an option to create content (i.e quotation) like in facebook, twitter or any other social networking site. A ...

Drupal: cannot replace js file

hi, I want to remove a js file from my drupal website and add a custom one. This is the code I'm using in my template.php file, but it doesn't work (the old js file is still loaded). (I've cleared the cache) function zen_preprocess_page(&$vars, $hook) { /*update js file*/ $scripts = drupal_add_js(); unset($scripts['module']['sites/all...

Drupal, a question about customizing modules

hi, I've just started to create my own modules to make my custom functions such as hook_form_alter() etc... Now I was actually wondering how can I use custom modules to make small changes to some modules. For example, consider the View module, I want to modify the file: "views-view.tpl.php" .. let's say change the name of the class of ...

How to use lightbox inline HTML function in drupal?

I have successfully installed lightbox module in drupal and now using it for 'sign in' page. It is working fine. Now i want to use it for 'Inline HTML' but i don't know how to do that. Please help me out. I'm using the following code: <p><a rel="lightmodal" href="#example">Test</a></p> <div style="display: none"> <div id="example">Hell...

Drupal email authentication forwarding to correct node

In Drupal I generate an email using the Rules module. In the email it sends a link to the node updated. http://mysite/node/20 The nose can only be seen by authenticated users. When I click on that link and I am logged in it goes to the node. If I am not logged in and click on the link you would get an accessed denied. I use Redirect ...

Adding custom field to Ubercart Invoice

Hi there, My client has an ubercart based shop which works fine. Due to some internal stuff he needs to manually add a field to each invoice. I wanted to know if or rather how i can add a custom field to orders that gets displayed on all the invoices. ...

Drupal: multilanguage.. looking for the right module to build multiple versions of the node

hi, I have a multi-language website. I want a module to add multiple version of my nodes and selecting the right one for each language of my website. In other terms, for each node, I want to have more versions, a version for each language. I don't want to create new nodes, in order to avoid confusion for my customer. I want to be abl...

View image in full size link with imagecache (Drupal)

Hello! The solution to my problem is probably quite simple, but I can't find it. I want a link under the images saying "view full size" that links to the original, full-sized picture. I've only find the $imagecache_path variable that prints the path to the node. ...

how to make content's title unique

hi I am new to drupal and i want my content title unique so is there any module available for it or if i can implement autocomplete to view my past title name. please give answer in detail Thanks in advance :) ...

Drupal's JS and CSS optimization error

I started getting errors after I turned on Drupal's performance improvements which pack all the CSS and JS files into single files. The error looks like this: The selected file /tmp/fileO4fjBF could not be uploaded, because the destination js/js_8a69e612be02242c2866a4a19223bd12.js is not properly configured. I'm not sure ho...

Drupal, conflict between Taxonomy Translation (part of i17 module) and super-select module ?

hi, I've enabled internazionalization for my Taxonomy vocabulary, and I've noticed that I've lost the changes made by Taxonomy super-select module (http://drupal.org/project/taxonomy_super_select) I was wondering if there is a conflict between the 2 modules. Update. Yes there is, and they suggest to apply this patch to change the modu...

Why does $form_state['values'] get obliterated in drupal_process_form()?

I'm trying to programmatically store CCK type nodes using drupal_execute(). Empty nodes get created; none of the CCK fields is saved. Evidently the first line in drupal_process_form() is responsible: $form_state['values'] = array(); So my question is why does 'values' get erased, and more importantly, how can I save CCK fields using ...

Where to put the jQuery messages?

I have a form on my website (based on Drupal), and I've added a JS to it, now I have some messages like Hints on input keydown. I was wondering, where should I keep those messages (since I don't want them to be stored in each individual JS file that I'll be making from now on - but in one central place) ...

Drupal 6 Layout Help

Hi there, i have recently started to learn drupal 6. I dont have any previous experience with drupal. I was asked to implement a page on existing drupal site with the following structure. a sopping page which will have an thumbail size image with lable and a quantity text box. This pattern will repeat for 10 products. At the end of th...