drupal-6

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

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

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

How do i use Jquery menu in drupal

I have the jquery menu module installed, enabled and set to work on the primary links in the configuration. I put <?php echo $primary_links; ?> into my page.tpl.php file but it does not show the jquery menu functionality. I have also tried putting the primary links into a region using the blocks but that does not work either.. i have...

Showing a single node and all associated comments in Drupal 6 Views 2.

I am trying to create a view on Drupal 6 (views 2) that simply displays the latest node of a specific type and all of the associated comments from that node. I am sure that there is a simple method to do this that I just don't know. Algorithmically, I would solve it by ascertaining the latest node of the type and then recursing through...

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 Ubercart Subscribing package module

Hi im beginner in Drupal, E-learning website im doing a payment module having 3 packages with different products like package -A (maths, physics,etc) package -B (all subjects) => each subjects are page nodes and each package have quarter,half,yearly duration subscription . please anyone help me how to proceed with ubercart module ...

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

Drupal: where can I get the $content Array in my theme ?

hi, I need to modify the node content Array before it is rendered into html. For this reason I cannot use the $content variable in my node template. I'm looking for it in template.php file, but I cannot find it. thanks ...

Running a different CMS system under drupal folder.

Hi friends, I'm a drupal newbie... I completed my first drupal site. then client wanted to run their old CRM under new drupal site, they uploaded CRM folder into drupal folder, and when I try to address the CRM admin, as below, it redirects drupal 404 page (which is search page). www.blablabla.com/crm/admin Error message from dru...

Drupal: is the output of the dprint_r() only visible to administrators ?

hi, is the output of the dprint_r() function (introduced by devel module) visible only if I'm logged in drupal system (as administrator user) ? thanks ...

Override Privatemsg Module Message View Layout

The Privatemsg module is great, and the default list of messages and message-creation form are fine, but the form for viewing a message (in my opinion) is horribly unattractive and confusing for most site users - to the point of being unusable. Is there any way of using Panels or Display Suite to design an override, or is the only way to...

Theming a field in Drupal-6

I have a custom content (using cck) namely thewittyshit and it has a field namely field_thewittyshit . I want to theme field_thewittyshit field for all the views. I wrote the following code and saved it in a new file namely views-view-field--default--field-thewittyshit-value.tpl.php . But still no change is reflected in any of my views o...

Adding a JOIN statement in hook_views_query_alter()

I need to modify a query Views generates so that I can use highly custom filters. I have implemented the add_where() function with some ORs thanks to this question: http://stackoverflow.com/questions/1340423/or-operator-in-drupal-view-filters However this only solves a part of my problem. There are some fields that I cannot filter on be...

dragging the content instead of the image in "drag to share"

I have enabled the drag to share module and it is successfully working the way it is designed to be. But, instead of image, I plan to drag the content and share it. Is their any way to do that? I have one way: Drag to share uses the html tags (like img) to get the input of the object to be drag(ed). Can we use put tags by default in all...

Drupal: Return SQL string from db_query

Is it possible to return the actual SQL query as a string from the result of db_query? Or otherwise take the returned resource ID from db_query and get the SQL string? ...

Drupal 6 - How to customise form layout using theme

Hi, I have create a new content type and added new form items using CCK. I need to customise the layout of the form which I've partially managed using css and moving items around and adding custom markup in the form_alter hook. However, this still isn't enough as the weightings don't appear to be doing exactly what I want them to do. ...

donation in Drupal

Hi all, My site have a number of different persons each representing different diseases. I made a content type "person" to represent each person, and add some cck fields such as name, image, location etc...Now all I want to do is add the ability to donate to their cause. Each individual would have a donate button on her/his page. I'd al...

Drupal: displaying menus with Views ?

hi, I need to develop a kinda Sitemap on the bottom of my website, with all menu items and I was wondering if I can do it with Views. I actually need to display each main menu item on a different column and add the submenu items to each column. I realized anyway that Views has not access to Menu items, but only to nodes, or am I wrong...

Drupal 6: how to assign more than 1 imagecache to 1 cck field

Hi friends, I create few imagecache for featured slide img standard listing img details page thumb and original img I need to assign all these imagecaches to 1 image that member upload. so It will create all these images from 1 image upload, and I will use them wherever I need. At cck editing part, I can assign only 1 imagecache :/...