Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Second address line module


  • You cannot reply to this topic
4 replies to this topic

#1 egweimai

  • Community Member
  • 66 posts
  • Real Name:Pip

Posted 21 March 2010, 23:45

Hello I have installed the above module (http://addons.oscommerce.com/info/1855) on a fresh install of a sts rc2.2a

It works like a charm on create_account.php in admin and in address_book.php (it displays correctly)
However, on address_book_process.php, desite having followed install instructions to the word, it does not display the second line field. This happens when a user tries to edit their current address (which has a 2nd street line) but also when adding a new address to their address book.

I have noticed that it only displays those fields which are mandatory (street line 2, isnt)... i dont know if thats got anything to do with it....

Anyway, any help would be good!

Thanks

#2 web-project

  • Community Member
  • 4,266 posts
  • Real Name:Alex
  • Gender:Male
  • Location:Hertfordshire, UK

Posted 22 March 2010, 10:08

Quote

on address_book_process.php, desite having followed install instructions to the word, it does not display the second line field.
some modules are incomplete in contribution database, you will need to complete yourself.

Edited by web-project, 22 March 2010, 10:08.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!
8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.
Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.
Any issues with oscommerce, I am here to help you.

#3 egweimai

  • Community Member
  • 66 posts
  • Real Name:Pip

Posted 22 March 2010, 10:17

do you know where address_book_process gets the fields from?

In an attempt to discover this, I have removed the name, first line address field which are before the code I added from the contrib in the address_book_process.php file BUT they did not remove these fields from the page.....

this makes me believe that address_book_process must draw the fields from another place/file....

#4 spooks

  • Community Member
  • 6,668 posts
  • Real Name:Sam
  • Gender:Male
  • Location:UK

Posted 22 March 2010, 11:51

View Postegweimai, on 22 March 2010, 10:17, said:

do you know where address_book_process gets the fields from?

In an attempt to discover this, I have removed the name, first line address field which are before the code I added from the contrib in the address_book_process.php file BUT they did not remove these fields from the page.....

this makes me believe that address_book_process must draw the fields from another place/file....


There are files in modules that some account pages use.
Sam

Remember, What you think I ment may not be what I thought I ment when I said it.

Post osC questions don't PM them. Vampire?

Contributions:

Multi Images with Fancy Popups, Easy way

Products in columns with multi buy etc etc

Disable any Category or Product, Easy way

Secure & Improve your account pages et al.

#5 multimixer

  • Community Sponsor
  • 3,437 posts
  • Real Name:George Zarkadas
  • Gender:Male
  • Location:Greece

Posted 22 March 2010, 12:24

In file address_book_process.php there is following line
<?php include(DIR_WS_MODULES . 'address_book_details.php'); ?>

This is telling you that the file includes/modules/address_bok_details.php is getting included (in the case of add or edit address.) Going to this file you'll see all input fields listed

Edited by multimixer, 22 March 2010, 12:25.