osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

PHP in body of mainpage.php

This is a discussion on PHP in body of mainpage.php within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; I have searched everywhere and can't find an answer.. I like the NEW ITEMS on the main page but I ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 08-09-2007, 12:22 PM
wkdwich's Avatar
Active Member
 
Join Date: Jul 2007
Posts: 177
Thanks: 9
Thanked 4 Times in 3 Posts
Rep Power: 4
wkdwich is on a distinguished road
Default PHP in body of mainpage.php

I have searched everywhere and can't find an answer.. I like the NEW ITEMS on the main page but I want it up further..

I'm using CSS-fluid-1

I want to add:
Code:
<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>
up further on the page and remove it from the bottom

Doing some research here it looks like I should be looking at
templates/CSS-fluid-1/main_page.tpl.php

in this area:
Code:
 <div id="middleFrame">
    <div id="middleContent"><?php
        require (bts_select ('content')); // BTSv1.5
  ?></div>
But then I am lost as to where to go..

If I use the Define main page option inside the admin, the editor changes the php code to an HTML comment.

Anyone do this that can guide me?

thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
javascript scroller on mainpage.php (Define mainpage) zuqaili osCMax v2 Customization/Mods 7 04-30-2007 09:51 PM
How to run php code inside the body groggory osCMax v2 Customization/Mods 1 10-08-2006 10:08 PM
body of order email confirmation message chrismole osCMax v1.7 Discussion 3 06-08-2005 09:10 PM
Main body text size/size of search box/adding img to footer thecandypam osCommerce 2.2 Modification Help 1 07-10-2004 10:58 AM
question about creating an auto body parts online shop jacven osCommerce 2.2 Modification Help 1 05-13-2004 10:45 AM


All times are GMT -8. The time now is 07:07 PM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2010 osCmax
Inactive Reminders By Icora Web Design