(Drupal Recipe) How does Amazon collect a list of merchants per product?

Hi everyone,

I am trying to simulate a functionality of Amazon with Drupal. When you are viewing a product on Amazon, you'll see a link like "80 New from $20.99" (screenshots: http://imgur.com/a/3tf7s). Upon clicking this link, you'll find a list of merchants which would sell this product. How can I use Drupal to adopt this functionality?

Pls suggest a good managed hosting company for a site made in DRUPAL 6.20 which attracts high traffic

Dear all,

Please suggest a good managed hosting server for a site made in DRUPAL 6.20.

The site attracts a lot of traffic.

It could be a shared account or VPS but it should not be unmanaged hosting.

I look forward to a lot of suggestions.

Regards,

Veerendra Darakh

How do I select a specific Display from a View for a specific content-type

I have a job posting form. There is a cck field named Location of the type Node Reference.

When I "Manage Fields", under the Operations column I click "Configure".

Under "Content types that can be referenced:" I select my Euro-offices radio button.

Save and the form is good.

However, for an entirely different content type of US jobs, it has the same Location field but I choose US-offices under "Content types that can be referenced:"

But then the US offices show when editing a Euro job and vice versa. In other words, that "Location" field displays the same value no matter the content type.

I tried creating a View that showed the Euro offices and then under "Advanced - Nodes that can be referenced (View)" chose that view instead of the Euro-offices.

I did this only for the Euro-jobs content type but now the US-jobs content shows nothing but Euro locations.

So, how can I pass in the Argument field the "Euro-offices" display in a view? I have a master view that has multiple displays according to location so if I can select just the Euro-Offices display to show in the Euro-job content type, it would be nice. So far, whatever I do to one content-type affects the other. There has to be a way to keep the same "Location" field and then just filter the content the Location field offers based on which content-type is being created, right?

Ubercart - 6 vs 7

I have created a new e-commerce site in Drupal 7 using Ubercart, and have become very familiar with it. I now have been asked to add e-commerce capabilities to a Drupal 6 site. At the moment, I don't think updating to D7 is an option.

How bad would it be if I used ubercart 6? How different is it in functionality (aka- would it take me a lot of time to adjust to the changes) and are there security risks (or other negative factors) which should persuade my client to do the upgrade?

Need help with conditionals in Webform email template

I want to customize the output of Webform and am having a little trouble.

I have a template named webform-mail-1881.tpl.php in the sites/all/themes/themename folder, and I'm getting some output from it.

The problem is, this is a conditional form and once I get to the part in the form where the conditionals start, I don't get any data from it. We've done this before with a non-conditional form, but the conditionals are throwing me for a loop.

Here's my template code; any help is appreciated.


/**
* @file
* Customize the e-mails sent by Webform after successful submission.
*
* This file may be renamed "webform-mail-[nid].tpl.php" to target a
* specific webform e-mail on your site. Or you can leave it
* "webform-mail.tpl.php" to affect all webform e-mails on your site.
*
* Available variables:
* - $node: The node object for this webform.
* - $submission: The webform submission.
* - $email: The entire e-mail configuration settings.
* - $user: The current user submitting the form.
* - $ip_address: The IP employee_email of the user submitting the form.
*
* The $email['email'] variable can be used to send different e-mails to different users
* when using the "default" e-mail template.
*/

drupal_add_css(drupal_get_path('theme','ozone2') . '/mail.css');

Page refreshing while writing comment

Hi everybody;

I use an html code on my website to refresh pages automaticly. But sometimes this can be a problem for my users. While they are writing a long comment, page refreshes and all of their comment lose.

How can I prevent it? On some website while you are writinga comment, the comment is automaticly saved and you continue to writing even if page refresh.

How can I do a similar thing like this?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x