osCmax v2.5 User Manual
Results 1 to 5 of 5

Banner, centering

This is a discussion on Banner, centering within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; When I am done I have the oscmax gif on the left and three buttons on the right. How do ...

      
  1. #1
    New Member
    Join Date
    Mar 2009
    Posts
    26
    Rep Power
    0


    Default Banner, centering

    When I am done I have the oscmax gif on the left and three buttons on the right. How do I go about editing some content to center of the area between the gif and buttons, or for that matter replace them with more customized info

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Banner, centering

    Edit the main_page.tpl.php file in the templates/fallback directory and change the html to whatever you require. If you are not using the fallback template, edit the main_page.tpl.php file in whatever template directory you are using.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Mar 2009
    Posts
    26
    Rep Power
    0


    Default Re: Banner, centering

    What am I actually editing out, when I copy the code paste it into my editor and trash the row the gif is in, the entire page blows up.

    I am not sure how to edit the gif header out

  4. #4
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default Re: Banner, centering

    Your trashing more than a image link.

    You need to edit:
    PHP Code:
    <!-- header //-->
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
      <tr class="header">
        <td valign="middle"><?php echo '<a href="' tep_href_link(FILENAME_DEFAULT) . '">' tep_image(DIR_WS_IMAGES 'store_logo.gif'STORE_NAME) . '</a>'?></td>
        <td align="right" valign="bottom"><?php echo '<a href="' tep_href_link(FILENAME_ACCOUNT'''SSL') . '">' tep_image(DIR_WS_IMAGES 'header_account.gif'HEADER_TITLE_MY_ACCOUNT) . '</a>&nbsp;&nbsp;<a href="' tep_href_link(FILENAME_SHOPPING_CART) . '">' tep_image(DIR_WS_IMAGES 'header_cart.gif'HEADER_TITLE_CART_CONTENTS) . '</a>&nbsp;&nbsp;<a href="' tep_href_link(FILENAME_CHECKOUT_SHIPPING'''SSL') . '">' tep_image(DIR_WS_IMAGES 'header_checkout.gif'HEADER_TITLE_CHECKOUT) . '</a>'?>&nbsp;&nbsp;</td>
      </tr>
    </table>
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  5. #5
    New Member
    Join Date
    Mar 2009
    Posts
    26
    Rep Power
    0


    Default Re: Banner, centering

    Thanks for your help

Similar Threads

  1. Centering the "Catagory heading Title"
    By flutterby in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 03-06-2008, 06:29 PM
  2. cannot get Banner ads to run
    By jonnyl1978 in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 02-19-2008, 11:11 AM
  3. Banner Picture Hack in Banner Manager
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 10-29-2007, 10:20 AM
  4. mainpage content not centering between L&R columns in IE
    By cawheelz in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 07-27-2005, 12:17 AM
  5. Centering Site. I need some help
    By harborsales1 in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 05-13-2004, 09:07 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
  •