Results 1 to 6 of 6

Product_info page won't stay at 800 width on osC template!

This is a discussion on Product_info page won't stay at 800 width on osC template! within the osCMax v1.7 Installation forums, part of the osCmax v1.7 Forums category; Page width won't stay at 800, just on the product_info page, I'm using osCMax 1.7, osC template. I updated the ...

      
  1. #1
    New Member
    Join Date
    Jan 2005
    Posts
    9
    Rep Power
    0


    Default Product_info page won't stay at 800 width on osC template!

    Page width won't stay at 800, just on the product_info page, I'm using osCMax 1.7, osC template.

    I updated the main_page.tpl.php under templates/osC.

    It looks like the body goes to 100% only on this page. I also had to change the files includes/header.php, and includes/footer.php to a width of 800. For some reason the product_info page is the only one that's not using the main_page.tpl.php

    I've been trying for 5 hours, edited almost every file trying to get this page to work. Someone please help, it's driving me crazy. :shock:


    someone else had this post months ago, but the fix someone suggested didn't work
    http://oscdox.com/index.php?name=PNp...amp;highlight=

  2. #2
    osCMax Developer

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


    Default RE: Product_info page won

    How about a url so we can see what the issue is...
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    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
    Jan 2005
    Posts
    9
    Rep Power
    0


    Default RE: Product_info page won

    Here's the link, it's an adult toys store, no pics up though.

    http://64.23.52.150/catalogg/product...roducts_id=427

    thanks

  4. #4
    osCMax Developer

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


    Default RE: Product_info page won

    The post you referenced above is exactly right. Simple html:

    Line 39 of main_page.tpl.php in the /osC template:

    <table border="0" width="100%" cellspacing="3" cellpadding="3">
    Change to:

    <table border="0" width="800" cellspacing="3" cellpadding="3">
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    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

  5. #5
    osCMax Developer

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


    Default RE: Product_info page won

    You have more issues though. It looks like you have corrupted the install somehow.

    osCMax does not use the header.php and footer.php files. I bet when you installed a few of your mods, you changed the product_info.php file and it is no longer using the BTS template system. You need to restore the original file and add your changes to the product_info.tpl.php file in the osC/content directory.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    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

  6. #6
    New Member
    Join Date
    Jan 2005
    Posts
    9
    Rep Power
    0


    Default RE: Product_info page won

    Perfect, you're a lifesaver. I reloaded the product_info.php and it's working. Thanks a lot for the help.

Similar Threads

  1. Integrate contrib into template | home page
    By damnedpig in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 07-28-2005, 06:18 AM
  2. Can't stay logged-in...
    By artloftart in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 07-21-2004, 01:17 PM
  3. Error on product_info page
    By Anonymous in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 02-13-2004, 01:53 PM
  4. How to set page width?
    By hanool in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 09-08-2003, 12:12 PM
  5. Width of Category Page - Can't seem to figure it out
    By nyc-sunflower in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 04-11-2003, 12:55 PM

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
  •