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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| 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.
__________________ Clifton Murphy CEO/CTO Hyperactive Inc. osCommerce hosting, OSCMAX hosting, osCommerce modification, and OSCMAX modification specialists! |
|
#3
| |||
| |||
| 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
| ||||
| ||||
| Have you installed OSC-MAX or OSC MS2.2 ??? |
|
#5
| |||
| |||
| 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
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Background Image | Studio143 | osCMax v1.7 Discussion | 5 | 01-02-2005 05:26 PM |
| background image outside mainpage? | jloyzaga | osCMax v1.7 General Mods Discussion | 1 | 01-20-2004 02:56 AM |
| Background Image | jan_mull | osCMax v1.7 Discussion | 3 | 11-10-2003 07:31 AM |
| Column_left background image | rd42 | osCommerce 2.2 Modification Help | 4 | 07-14-2003 12:24 AM |
| Problem with background image in infoBoxHeading... | mac | osCommerce 2.2 Modification Help | 40 | 04-14-2003 07:33 AM |