Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding html to pages using the header, columns


HighHobbies.com

Recommended Posts

<?php 

define('IN_PHPBB', true); 
$phpbb_root_path = './'; 
include($phpbb_root_path . 'extension.inc'); 
include($phpbb_root_path . 'common.'.$phpEx); 

// Start session management 
$userdata = session_pagestart($user_ip, PAGE_INDEX); 
init_userprefs($userdata); 
// 
// End session management 
// 
// 
// Start output of page 
// 
$page_title = "Forum"; 
include($phpbb_root_path . 'includes/page_header.'.$phpEx); 
?> 

HTML GOES HERE

<?php 
include('includes/page_tail.'.$phpEx); 
?>

 

 

In phpbb fourms you can use the above code and type whatever you want into html and insert the html to where it says to in the code. This way you have the page header, the right and left columns (menu bars), and the page footer that says oscommerce. And in the middle instead of products you would have your html.

 

This code wount work for oscommerce. I need one that will.

 

 

Thanks to all that care to help someone in need.

Link to comment
Share on other sites

You can just go into includes/index.php. If you look at the code for the layout, you can see that the center of the page, between the header and the footer, consists of a main table with 3 cells. the left cell holds column left, the middle cell holds the greeting, background image, new_products module, and the php code for the database commands, and the right cell holds column right. I think you can replace the stuff in that middle cell with your html.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...