Add an option 5% to the total in ubercart

I am using drupal 7 and ubercart 3.x. I want to add an optional accidental damage insurance charge of 5% to the total during checkout. The user will have the option to either accept or deny the coverage.

I have been trying very hard to figure out a way to do this but so far have not come up with anything. I have already posted this same request in the ubercart forum but no one there answered.

Does anyone have an idea how this might be done?

frontpage depending on domain?

I've got a Drupal 7 site with multiple domains, all using the same content and theme.
Is there any way to set the frontpage for it depending on the actual domain?

Migrate website to Drupal

Hey everyone,

I've recently discovered Drupal - it's indeed a very good and rather different and complex CMS.

However, I'm trying to migrate the website http://www.bergland.it (PHPWcms) to Drupal. Now since I've been struggling with the Drupal menu system for a while now, i was wondering if you have some advice on how to adopt the same menu-system (a multi-level, expanding menu) in Drupal.

node full view page

how to display node full view page in the current theme ( keep in the same menu level)?
I have a node under menu News. the first page is a view listing all news items, it is under:
home->news

but when I click on the node title which is linking to the node full view page, the secondary menu disappear, and the node full page is under: home.

Do I have to create a view for each node type full page so that the node full page can belong to certain menu item?

Customize menu

Hello everyone

I'm quite new with drupal and for my current project I got a problem with styling my menu. I understand that the code
"render ($page['main_menu_links']);"
makes my menu. But how can I change this output. For example I want to add some space and a dot between each menu item. I could use margin in the css to handle the space between each item. But I also need the dot. Any ideas?

Fe the menu should be

Home . Page1 . Page2

Unknown .patch format

Hi,
have been aplying quite a few patches by now, and always succeeded, just until now. I ran into this http://drupal.org/node/789920 patch, which seems to have somehow slightly different format than the others I've been used to:

Index: modules/overlay/overlay-parent.js
===================================================================
RCS file: /cvs/drupal/drupal/modules/overlay/overlay-parent.js,v
retrieving revision 1.40
diff -r1.40 overlay-parent.js
783c783,785
<           var fragmentizedDestination = $.param.fragment(self.getPath(window.location), { overlay: params.destination });
---
>           var prefix = Drupal.settings.overlay.cleanURLs?"":"%3Fq%3D";
>           var fragmentizedDestination = $.param.fragment(self.getPath(window.location), { overlay: (prefix+params.destination) });
> 
Index: modules/overlay/overlay.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/overlay/overlay.module,v
retrieving revision 1.17
diff -r1.17 overlay.module
502a503
>   drupal_add_js(array('overlay' => array('cleanURLs' => (variable_get('clean_url', FALSE) == TRUE))), 'setting');

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x