drupal-6

Drupal pathauto usage

I have a node called artists. It has a field called shortname. I want to have it so that when I add an artists with shortname = 'foo' you can navigate to http://bar.com/foo/ and it will show that artist's node. What's the magic configuration in pathauto to make this happen? ...

Drupal: Display only specific NodeReferrer field in Views

I have a content type appointment with a date field that references nodes of the content type person using the Nodereference module. In the content type person I added a Nodereferrer field that shows the reverse of this references (Person -> appointments). I now want to create a view of person nodes that shows the last appointment date...

Drupal 6 Views 2 using Node Path as an argument

Hi, Please consider helping a Drupal noob who is in danger of tearing out what hair I have remaining. I have a view that I want to add an argument to so that it only displays the details of the specified product. Since I'm using URL aliasing the argument is in the form of shop/product1, shop/product2 etc. However, when I go to add an a...

Drupal 6: listing in custom-node.tpl.php what fields are available to use for the current node?

Hi friends, I'm a drupal newbie... Is there any way to list in my custom-node.tpl.php what fields are available to use for my current node? for example, at View, when I write print var_export($data,TRUE); to php customfield, it gives me a list of available fields. is there any equality func. for using in any node.tpl.php? Appreca...

Drupal 6: View module generates div mess :/

Hi friends, I created some blocks with View Module. View Module really makes things easy! but it puts so many divs, class-names, etc... to output. and it mess up for some cases. example below: How can I get a CLEAN output from view? without any div, span... Appreciate helps! thanks a lot! ...

Drupal 6: assigning custom Display Output to views_embed_view

Hi friends, $viewName = 'my_view_name'; print views_embed_view($viewName); we have such a cool views_embed_view func. in Drupal to display a view inside another template. But It doesn't get the custom "Display Output" :/ it gets the default. How can I assign my custom Display Output (under Theme: Information) to views_embed_view? A...

drupal workflow

hi, i am using drupal workflow. I am having a user who can create the content and that content has to be gone for his supervisor for reviewing purpose and can be reviewed only by that supervisor. In this way i am having 4000 creators whos create content and that content has to be gone for reviewing for only their respective supervisors....

Changing order of fields in Drupal's content type

I am using Drigg on Drupal 6.17. Drigg has a content type called as "Scoop". I try to change the labels and order of fields. Normally, this is done in Content Management > Content Types > Manage Fields . But some fields that are shown in Create Content screen are not shown in Manage Fields screen. The screenshot of Manage Fields is her...

Drupal: importing thousands of lines from a mysql database. Easy ?

hi, I need to import a big databases into Drupal CCK nodes. Let's say I have 1 million of lines to import. Each line is a Drupal node, and each field is a CCK field. (this is the mapping I have in mind). Is this something risky to do, or do you think I can easily import the data in my new Drupal installation ? Could you suggest me to...

How to show profile field Values to one simple page in drupal 6?

Hey guys i want to get the custom profile fields which i have made in user profile part, i want to get that values and show on one simple page i have tried this one.... <?php print $profile['Personal Information']['profile_fname']['#value']; ?> but its not working.... i want to show all the fields on that page.... thanks in advanc...

Drupal: Drush module.. how to enable it ?

Hi, Is Drush supposed to be listed in Modules administration pages when I copy its folder there ? I cannot see it. Thanks ...

GoogleGroups-like Drupal Forum

I am looking for a tighter integration between forums and email. i wanted to setup my drupal instalation to: send an email to users when a new answer is posted to the topic create a new node when users answer by email (optionally, to a mailgroup) what are the best modules to do this? how would i accomplish this? ...

Drupal: add drag and drop ordering for CCK fields

hi, is there any way in Drupal to add drag and drop ordering functionality to CCK fields in a specific node ? My customer would like sometimes to change the order of the items for some nodes. Thanks ...

Drupal: Views, can the displays have different styles for the view ?

hi, I've created several displays for my View. I thought that I could assign different styles (Gallery, Table, etc) of the view for each display but I realized that only 1 Style is used for all Displays. The reason I wanted to change is because I'm using DraggableViews, and I would like to keep the same order for all displays, when th...

Drupal: automatically add menu items when new nodes are added

hi, can I automatically add a menu item when I add a node to the page in Drupal? In other words, can I associate a menu parent with a node content-type, and then automatically add the children if new nodes are added ? thanks ...

Drupal: do an unstable module introduce bugs that are still present even after the module is removed ?

hi, If I download a module which is not stable to run in Drupal (red color over download link), is this causing issues to my drupal installation even if it is not enabled ? In other words, if I enable it, and use it.. could it cause issues to other modules or drupal core that remain there even after I've disabled it ? thanks ...

calling of javascript function on button click in .module file in drupal

I have one button and onclick i want javascript function to be called which contains alert message...............in drupal i tried many things like........... 1)i created button using $form['click'] = array( '#type' => 'button', '#attributes' => array('onclick' =>_____),//dnt know what to give for onclick '#value' =...

Controlling which comments are shown based on role in Drupal

This is a strange one and not ideal, but basically we have a Drupal site that has been using the core comments module to allow authenticated users to post and view comments for a node. We are now needing to extend this so that unauthenticated users can also post comments, but not view them. Authenticated users would only have access to ...

Drupal: create hierarchical menus from taxonomy vocabulary

hi, is there any way to automatically create hierachical menus from taxonomy vocabulary in Drupal ? thanks ...

Drupal: sending 1500 emails monthly

hi, I need to enable a mailing list on a website and I was considering to use Simplenews module for it. I have to send approximately 1500 e-mails per month. I was considering if it is a huge emails amount for drupal and simplenews module and I should use another service, or not. thanks ...