PDA

View Full Version : Editing the address book code


jmedinger
02-Jul-2003, 03:26 PM
I'm having a problem finding the template that holds the address book code -

The code generates a 600px wide table (in the delivery address page) that blows my design out of the water

Does anyone know where to change this code?

Jos

garyhay
02-Jul-2003, 04:06 PM
Copy the file from the Hyper theme as it's created to have a smaller table.

jmedinger
02-Jul-2003, 04:11 PM
Gary,

Which file is it to copy?

Jos

garyhay
02-Jul-2003, 05:09 PM
Act_Order02.html

jmedinger
03-Jul-2003, 07:54 AM
Gary,

I am perfectly happy editing the size of the table that holds all the delivery input information...

It's the automatically generated table that pops up when you've 'saved' an address in your address book which I'm concerned with.

It seems that this is called from Act_Order02.html by the following code NETQUOTEVAR:ADDRESSBOOK

This must be generated elsewhere because that is all that is included on the Act_Order02.html page

Any ideas where I can get at this (is it in one of the perl files?)

Jos

garyhay
03-Jul-2003, 08:57 AM
what is the page called that is generated? Does it have .html or .cgi as extension

jmedinger
03-Jul-2003, 09:02 AM
Gary,

As the page is generated on line, the url is

http://www.fastbikebits.com/cgi-bin/os000001.pl

but this is the standard checkout script...

I have actually found some references to a perl generated table in ActinicAddressBook.pm which I am currently playing with (with some success) although I'm loathe to make too many changes to this in case a future upgrade of Actinic wipes them all out...

It is odd that this part of the checkout phase whould be made so relatively hard to get at!

Jos

cdicken
07-Jul-2003, 10:53 AM
Hi there

I have managed to change the width of the address book table by opening ActinicAddressBook.pm in Notepad and finding some text that looks like this:

WIDTH => "600",
BORDER => "1" ,
CELLSPACING => "0" ,
CELLPADDING => "0" ,

I found this by searching for '600'

Change the WIDTH value within the quotes to change the width of the address book table.

jmedinger
07-Jul-2003, 02:02 PM
Hi Chris

With the help from a friendly Perl programmer I managed to find this too...

I have amended the table accordingly and we also managed to insert some cell infomation too (such as css class references)

It wasn't easy to find though and it seems odd that if (nearly)everything else in Actinic is template drive that this section isn't.

Anyway, my immediate problems are solved - I'm sure I'll be back again though!

Regards

Jos