Announcement

Collapse
No announcement yet.

How to format Address book

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to format Address book

    Hi

    I'd like to change the look of the Address Book to match the rest of the site I'm developing. Does anyone know how to do this?

    Timi

    #2
    I've been at this company for years now, and I never even knew this existed!

    From what I can see, all the text for this address book comes from the following prompt IDs in 'Design | Text' - use 'Go to' to go straight to them.
    271
    272
    273
    274
    275
    276
    277
    279
    280

    The code for the table and the button comes from a horrible Perl script called 'ActinicAddressBook.pm'. Open the file in notepad and search for

    $html .= $self->TABLE_(

    After this you will see the following lines

    BORDER => "1" ,
    CELLSPACING => "1" ,
    CELLPADDING => "0" ,
    BGCOLOR => $self->{NameBgColor},
    WIDTH => '100%',

    You can edit the values within the quotes to improve the look of the inner table.

    Also search for

    $buf .= $self->TABLE_(

    after that you will see

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

    Again, edit the values with the quote marks to control the outer table.

    For the button, search for:

    WIDTH => '200',

    You will see

    STYLE => 'font-weight:bold;color:white;background:' .
    $::g_sRequiredColor . ';width: 200px;',
    WIDTH => '200',

    you can change the 'STYLE' line to read:

    STYLE => 'font-weight:bold;color:black;background:white;width: 200px;',

    to improve the look of the thing.

    Comment

    Working...
    X