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

Changing the layout..hELP Needed!!

This is a discussion on Changing the layout..hELP Needed!! within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi... How can i create the link icon on the top column ? http://www.oscommerce.com/shops/goto,2265 (A GOOD EXAMPLE OF what i ...

      
  1. #1
    Member
    Join Date
    Jun 2004
    Posts
    33
    Rep Power
    0


    Default Changing the layout..hELP Needed!!

    Hi...

    How can i create the link icon on the top column ?

    http://www.oscommerce.com/shops/goto,2265
    (A GOOD EXAMPLE OF what i have in mind)



    Is there any reference guide u can refer me to...thanks

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


    Default

    Do you mean, "how do i create links in the header?"

    If this is the case, open /catalog/templates/main_page.tpl.php and from line 25-29 you will see something similar to 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', OSC-MAX, OS Commerce taken to the MAX!) . '</a>'; ?></td>
    </tr>
    </table>


    This is the table for the header image, add a second column or more rows or whatever you want and insert your links, icons, images or whatever.


    If on the other hand you want to do exactly as the example, you create a 2 row table layout webpage, in php of course, and pull the URL of the site you want to display into an IFRAME, which is whats being done in the example.

Similar Threads

  1. Tweaking the layout?
    By moreduff in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 08-16-2006, 07:35 AM
  2. Layout problem
    By bfr in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 01-05-2005, 09:12 AM
  3. Help needed changing link color in info box header
    By 13Moons in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 03-04-2004, 01:12 AM
  4. Layout with transparent gifs vs. layout with CSS
    By Lynoure in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 01-16-2004, 01:22 AM
  5. Layout questions-help....
    By whazzy in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 10-30-2003, 11:38 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
  •