drupal

<br > element automatically added by input formatting

hi, when I add a tag in a input text area in drupal back-end, a element is automatically added after the tag . Could you explain me how can I disable this ? thanks ...

Drupal views 2 Feed display adds surrounding html to items

I have a view that has a Default display and a Feed display. When I go to the url of the page, it displays the info ok, but I have a JwPlayer flash file that's trying to read that xml. The problem is Drupal is surrounding each element with a bunch of divs and classes that I don't want. I just want to have the path to some audio files and...

Drupal and the latest jQuery

hi, I need to use the latest version of jQuery in my Drupal. jQuery update module is not enough because it doesn't update jquery to its latest version. Is there anyway to use the latest version of jquery in the front-end, and the drupal included version for the back-end ? Should I work on the theme templates files ? Is this going to ...

Search hook for filtering results?

Hi all, I have been going through the docs and source code looking for something without luck. Is there a Drupal 6 hook that gets called after hook_search(), but before the $results gets handed off to the template system? I need to do a fairly custom pruning and reordering of results that get returned. I could just reimplement hook_s...

Any luck with Drupal 6 and Quickbooks inventory export

Looking at the Quickbooks API I only see options to sync users. I may just need to export the fields I need directly from the database? Just hoping someone had some scripts/templates to work with this already. I am not too worried about sync as long as the client could manually import web transactions at the beginning of the day ...

Training registration in PHP

I would like to do a site in PHP/MySQL using either Drupal/Joomla/Wordpress that allows me to have class list with description/date and students can sign up to pay for it. I prefer Wordpress if there is some package already. The idea is to have students to pay via Paypal. For backend, Admin should be able to manage class, check students ...

Drupal and Multi-sites?

I just want some opinions on what's the best way to go about meeting the following requirements. I have One main Drupal Installation It is a typical "listings" site where users can list items One user can have how many ever "listings" that are linked to his account I want to be able to create sub-accounts, that use the same base sit...

How to redirect user to a specific page after they login if they belong to a certain role?

We have certain users in our member list that have a role "vendor" attached to them. All such members are to be redirected to a certain page upon login. How can this be accomplished? ...

Adding fields to shopping cart items

hi, I'm using Ubercart with Drupal and I was wondering if I can add more details in order / shopping cart views In particular I need to add additional fields (beside title, price, etc) to each item in the shopping cart. These fields would be CCK fields from the products content type. Thanks ...

Shopping cart summary on all website pages

hi, I want to add a block with a shopping cart summary in my website. T So I basically need to retrieve the shopping cart informations and display a brief summary of it. See picture: http://dl.dropbox.com/u/72686/cartSummary.png How can I implement this ? Of course, I still have a complete static page with the shopping cart items and...

adding a node to a nodeQueue on creation

How can I automatically add a node to a specific nodeQueue when this is created (I'm using nodeQueue module: http://drupal.org/project/nodequeue). The reason is that I want an sortable (by dragging the nodes) list of the nodes and I want them to be automatically added to it.. thanks ...

Restrict node with CAPTCHA

Hi. is there any quick solution to restrict access to one node (page) with a captcha module (or some other, similar way)? ...

ubercart + paypal payments... 2 questions

hi, I'm planning to use paypal payment method together with ubercart, in order to not have to take care about security issues. 1) I need to store the customers addresses in order to know where to ship the products. I was wondering if I can let customer insert the addresses in paypal, and then somehow get them, or I should ask the custo...

Removing item from Activities block

I have an OG content type called "Task", and the OG activities block correctly shows a link to "Create Task". But I want that link to not appear and cannot figure out how to do it. I've tried using the og_links_alter hook which is firing, but not removing the link. I'm thinking that it might be one of two problems. First, I may be using...

How do I save custom node types in Drupal 7

I've created a custom node type in Drupal 7, using the hook_node_info method in the install file: // declare the new node type function foo_node_info ( ) { return array( 'foo' => array( 'name' => t('Foo entry'), 'base' => 'node_content', 'description' => t('For use to store foo entries.'), )); } // END function...

Lightbox + Views: can I create a sequence with Next and Prev buttons ?

hi, I've a view in Drupal and each item has a title and an image in its teaser. Now.. I want to add a lightbox with next / prev buttons to display all the images in big resolution. I was wondering if "Next and Prev" functionalities work for the images of each node. So far I've only used a lightbox to display galleries in multiple CCK...

I'd like to use a drupal-like taxonomy system on external script

For my site, i would add a category system to organize content just like the drupal taxonomy. Do something like this already exist? ...

Do I need SSL Layer for my website if I use Paypal Standard Payment ?

If I use the completely free service Paypal Standard Payment together with Drupal Ubercart module, do I need to enable SSL Secure Layer for my website ? I guess I don't need it because the credit cards numbers are inserted in Paypal. ps. Can I embed paypal into mywebsite instead of forwarding my customers ? Thanks ...

How to call drupal cron multipe times until done

I'm working on a wamp development environment and testing how long it takes to get the site indexed. I'm doing this by running cron manually. The problem is that if there's 700 jobs in the job_queue, each run of cron does only some of them, so I need to run cron several times. How could I keep calling cron in a loop until there are no ...

Drupal - Make a validate function for cck form

I have created different node forms for different content types, by using this function in my template: function mytheme_theme($existing, $type, $theme, $path) { return array( 'type1_form' => array( 'arguments' => array('form' => NULL), 'template' => 'type1_form' ), 'type2_form' => array( 'argument...