Results 1 to 6 of 6

background image has dissappeared , help

This is a discussion on background image has dissappeared , help within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; Hi all, i have recently installed my oscommerce 2.2max site. i am currently setting it up and would like a ...

      
  1. #1
    New Member
    Join Date
    Jul 2004
    Posts
    12
    Rep Power
    0


    Default background image has dissappeared , help

    Hi all, i have recently installed my oscommerce 2.2max site. i am currently setting it up and would like a little help please. I am trying to add a background image to the header. I got it to work after a long time as i realised it had to be added to the css, stylesheet.php file. I added background="oscommerce1.gif" which is the name of my header pic to the appropriate area.

    It worked great for a while but then i was trying to install security login to admin section and replaced the neccessary files and updated sql database with phpmyadmin as requested in the instructions. I only now read that the login comes automatcally with ms2 max? did i just have to activate it ? if so where?

    Anyway the login did not work, so i deleted its files to try again later. i also replaced the header.php and application_top.php to their original files.

    All of a sudden no background image on my main page!!

    The entry which i originally made to stylesheet.php is still there, so i do not understand. There is no background colour set in header.php by the looks of things.

    As you can tell i am a very confused beginner and would greatly appreciate your ideas. hereh is the address so you can check it out http://www.digimarksystems.com.au/catalog/index.php

    Thanks

    Keith

  2. #2
    Active Member red_fraggle's Avatar
    Join Date
    Feb 2004
    Location
    wilmington, NC
    Posts
    343
    Rep Power
    8


    Default

    Actually the Table that holds the include statement for pulling header.php into the site is at /templates/main_page.tpl.php

    in the original file lines 25-29 are the table element for the header image. they look like this:

    <table border="0" width="100%" cellspacing="0" cellpadding="0">
    <tr class="header">
    <td width="750"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'OSCMAX_top.jpg', 'osCommerce taken to the max!') . '</a>'; ?></td>
    </tr>
    </table>


    Just give the table a background image with a background= tag and your all set.

  3. #3
    New Member
    Join Date
    Jul 2004
    Posts
    12
    Rep Power
    0


    Default

    Thank you very much for your response.

    I think i have made a mistake somewhere though.
    I deleted the install folder as i thought it was not neccessary and i can not find the /templates folder anywhere or the file you mentioned. Maybe i have set it up wrong somehow or have i misunderstood.

    Thanks again

    Keith

  4. #4
    Active Member red_fraggle's Avatar
    Join Date
    Feb 2004
    Location
    wilmington, NC
    Posts
    343
    Rep Power
    8


    Default

    Have you installed OSC-MAX or OSC MS2.2 ???

  5. #5
    New Member
    Join Date
    Jul 2004
    Posts
    12
    Rep Power
    0


    Default

    thats a very good question. I think looking at the origonal file that it must be ms2.2., which means i'm in the wrong forum anyway. I wanted ms max origonally so must have downloaded the wrong file. Can i install over the top and keep my product listings?

    This means i dont have the template folder. I migh just install ms max and start again.

    Thankyou

    Keith

  6. #6
    New Member
    Join Date
    Jul 2004
    Posts
    12
    Rep Power
    0


    Default

    Seing as i had not altered my install that much i have reinstalled ms max 1,5 over top. Problem now is loging in as admin@localhost.com with password admin won't works. i don't understand. Even tried updating the admin sql details from the contributions section again incase.

    Please help

    Keith

Similar Threads

  1. Background Image
    By Studio143 in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 01-02-2005, 05:26 PM
  2. background image outside mainpage?
    By jloyzaga in forum osCMax v1.7 General Mods Discussion
    Replies: 1
    Last Post: 01-20-2004, 02:56 AM
  3. Background Image
    By jan_mull in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 11-10-2003, 07:31 AM
  4. Column_left background image
    By rd42 in forum osCommerce 2.2 Modification Help
    Replies: 4
    Last Post: 07-14-2003, 12:24 AM
  5. Problem with background image in infoBoxHeading...
    By mac in forum osCommerce 2.2 Modification Help
    Replies: 40
    Last Post: 04-14-2003, 07:33 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •