Forums / Bug Reports / Changes to company name in "Edit Address Book" not saved

Changes to company name in "Edit Address Book" not saved

Locked

Started by swguy on 15 Jan 2007, 5:18 PM · Views: 2,515

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
15 Jan 2007, 5:18 PM
#1
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,746
Plugin Contributions:
56

Changes to company name in "Edit Address Book" not saved

Zen 1.3.7

Go to My Account->View or change entries in my address book. Do
an edit; you will see Company Name is not filled in.

Thanks,
Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

15 Jan 2007, 6:28 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Changes to company name in "Edit Address Book" not saved

Change line 46 in:
/includes/templates/template_default/templates/tpl_modules_address_book_details.php

To read:

<?php echo zen_draw_input_field('company', $entry->fields['entry_company'], zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_company', '40') . ' id="company"') . (zen_not_null(ENTRY_COMPANY_TEXT) ? '<span class="alert">' . ENTRY_COMPANY_TEXT . '</span>': ''); ?>

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

15 Jan 2007, 7:04 PM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,746
Plugin Contributions:
56

Re: Changes to company name in "Edit Address Book" not saved

Works like a champ! Thanks for the fast fix.

Note to others: file path is
/includes/templates/template_default/templates/tpl_modules_address_book_details.php

(delete the "/modules")

Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.