drupal

Drupal 6 CCK - Having a textbox appear when 'Other' is selected

I have a special content-type that I have created, and one of the fields is a radio button list. The last element is named 'Other' and I would like to have a textbox appear and allow the user to enter in a non-defined value. Is this sort of capability provided by any sort of module, or is this something that needs to be coded by hand? ...

Drupal using Solr externally on another machine?

I'd like to use the Drupal solr search module with the Apache Solr Search hosted on an external machine. I know that Acquia offer this as a service. But it's not an affordable option for me. I'd like to install Solr on an inexpensive VPS and have all my various Drupal sites which are on different hosts accessing the search functions. Am ...

Drupal - installed Events modules (calandar) - Views missing

I installed installed Events (calendar) module, and am able to add events and view events using event and event/list paths, however documentation talks about a default view being provided. I don't have this view and I searched through event module to find it (searched for "$view = new view" in install and elsewhere). Is this available in...

How do I deal with drupal hook_views_tables?

For the title field,I want to return node.title,but what I tried is not working: return array('og' => array('name' => 'og', 'join' => array('left' => array('table' => 'node', 'field' => 'nid' ), 'right' => array('field' => 'nid' ), ),...

Drupal: how to add menu link to password change?

Hi. Do You have any idea how to easily add a menu link "Change Your password" that would lead to Edit Profile page? I can programmatically add it, but I hoped that in the Admin Panel I could add a link, like [drupal]/user/edit that would redirect me to [drupal]/user/[id]/edit. The best solution that comes to my mind is to create a s...

Please suggest some alternative to Drupal

Drupal propose completely different approach in web development (comparing with RoR like frameworks) and it is extremely good from development speed perspective. For example, it is quite easy to clone 90% of stackoverflow functionality using Drupal. But it has several big drawbacks: it is f''cking slow (100-400 requests per page) db st...

Fundamental understanding of how Views and Pathauto work together

Hello all! I am having fundamental problems understanding when to use a pathauto rule, and when to use a views page path. I have several custom content types, and I am using blocks to display certain parts of nodes on certain paths. Then I use a views page to display the main node on a path. When I do this, I can't use pathauto, as it ...

conflict between views and pathauto

if i create a path alias to a node, say 'press' and i have a view page display on path 'press/archives', why does 'press/archive' leads my users to 'press'? see related http://stackoverflow.com/questions/2913736/fundamental-understanding-of-how-views-and-pathauto-work-together ...

How do I put a custom version of node/add form in a view using customfield in drupal 6?

Hi, I'm trying to add a pre-filled 'add reply' form to a view of nodes. Reply is a content-type (reply) with certain fields that need to be prefilled based on what is in the view. This way a user can see only the selected fields from the node/add/reply. At the moment I'm building the forms manually - copy the form from node/add, do som...

Drupal 6: moving localhost to server | clear cached data

Hi friends, I worked on localhost to build my drupal site. then, I moved to server. Steps: Clear cache tables (Site Configuration > Performance > Clear Cached Data button) on localhost Export db and then import on live server Move files/folders to live server Edit settings.php to reflect live server config everything is working gr...

Drupal view filter to show only one of a certain item

I'm fairly new to Drupal, and am using Node Import to take a TSV file and turn it into nodes. I'm hitting a problem, though, with automating updates to the nodes. Again, I'd like to take a Tab Separated Values text file, and load it into my site via Node Import (or whatever else anyone might suggest) and then only show updated Nodes. ...

How to attach a site with its thumbnail to a Drupal node?

Do you have any Drupal module (or other solution) to implement a feature similiar to Facebook's Share a Link? To be precise: you paste a link site's preview is generated title short excerpt and a thumbnail of one of the site's images ...

Why can't I see attachments to comments in the array-shift profile of Drupal?

Why can't I see attachments to comments in the array-shift profile of Drupal? When I used the Array Shift theme in the array-shift profile of Drupal, I can't view attachments in the comments, but if I switch the theme to Garland, I can magically see the attachment then. Why? How can I get the array-shift theme to display the attachments,...

Spaces in OU causing drupal ldapgroups lookup to deny login

I'm trying to configure mapping of LDAP Groups to Drupal roles. The DN for the group that I have been given contains a space in the OU: CN=CommunityUsers,OU=Distribution Groups,DC=TLD,DC=AD Drupal is authenticating if there is no space, but under no circumstances can I have the space removed. Can I change the way I specify the DN? ...

Integrating Voting api in custom module

I have a custom module for displaying all the product details from the database..How i can integrate the votting api for rating each product using fivestar rating ...

How to do conditional comments in drupal?

<!-- Additional IE/Win specific style sheet (Conditional Comments) --> <!--[if IE]> <style type="text/css" media="all">@import "files/tabs-ie.css";</style> <script type="text/javascript" src="files/DOMAssistantCompressed-2.7.4.js"></script> <script type="text/javascript" src="files/ie-css3.js"></script> <![endif]--> .. <!--[if IE 7.0]> ...

Making views accessible through URL - Drupal

Hi folks, I have configured the standard "frontpage" view in order to display a list of nodes, just by displaying a field (the banner image). Unfortunately the URL /frontapge does not return the previewed template, but the same page that would get displayed before the views module was installed. Help would be much appreciated. ...

Allowing different user types registrations in Drupal 6?

I have two types of users on my site: Normal user Supplier How do I set up Drupal so that you can choose which type of user you want to be before signing up, and then also (and this is the tricky part) give different profile fields to the different user types? ...

Disable Drupal content creation message?

Whenever a content item is created, a message is displayed like this: [Content Type] [Name] has been created. Is there any way to disable this message for specific users? Or for all users would be fine too. ...

How do I add css to be loaded last in drupal?

drupal_add_css('override/files/style.css'); This kind of statement can't ensure the css is loaded last, how can I do the trick? ...