ec_charge - table installed but no settings page in Drupal 5.7

miahawk - April 10, 2008 - 15:03
Project:e-Commerce
Version:5.x-4.0-alpha11
Component:installation
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

does anyone know where the ec_charge settings page should show up, or if there are other modules I need to have installed to get it to work?

I uninstalled it, removed the lines I could identify from variable and settings tables to try to get a clean install, but I'm still not seeing things that seem like they should have settings pages.

all I need is to add a flat shipping charge based on cart total. if anyone has something like that working, if you don't mind sharing I'd love to get your recipe.

thanks for any advice.

#1

miahawk - April 10, 2008 - 16:45
Component:new module» installation
Category:support request» bug report

ok, I found it by looking in the ec_charge.admin.inc file.

for some reason, the menu item pointing to admin/ecsettings/charges wasn't added, but I can add it myself.

I'm changing this to an installation bug. the actual issue is that the menu item and link to Charges weren't added.

#2

leafish_paul - April 28, 2008 - 00:21
Priority:normal» critical

Lines in hook_menu() -

<?php
    $items
[] = array(
     
'path'                => 'admin/ecsettings/charges',
?>

should be:

<?php
    $items
['admin/ecsettings/charges'] = array(
?>

removing the 'path' line. Sorry I've no patch (yet).

 
 

Drupal is a registered trademark of Dries Buytaert.