osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Questions about main_page.tpl.php

This is a discussion on Questions about main_page.tpl.php within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; I am a newbie to osCMax & php and am attempting to learn how to modify the CSS-fluid-1 template. 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 05-18-2007, 05:20 PM
New Member
 
Join Date: Feb 2007
Posts: 25
Thanks: 6
Thanked 0 Times in 0 Posts
Rep Power: 0
simplex is on a distinguished road
Default Questions about main_page.tpl.php

I am a newbie to osCMax & php and am attempting to learn how to modify the CSS-fluid-1 template. I believe I am using the newest version of the software with BTS.

At present I have printed up the main_page.tpl.php and the .css files along with printouts of both the browser visual and html view of the opening page of the shopping cart so I can try to follow along and become familar with how everything works.

At this point, I have a few questions about main_page.tpl.php that I hope someone can help with.

1) What is:
<?php
if(isset($css_page_width))
{
echo 'div#pageFrame { width: ' . $css_page_width . 'px;}';
}
?>

2) Why isn't the informationBox styles not in the main_layout.css file and could it be?

3) Why are there 2 places for the coolMenu and which one is correct?

4) Where is "navTopFrame" in the CSS files? It's made reference to in <div class="navBarFrame" id-"navTopFrame" right above the 'breadcrumb' in main_page.tpl.php.


One other general question....
Can we use a .js file on a page?
I.E. <SCRIPT LANGUAGE="JavaScript" SRC="mopics.js"></SCRIPT>
instead of having the javascript inserted into the page itself?

Maybe too many ?'s at a time and if so, I apologize but I am thankful for any help given.

Last edited by simplex; 05-19-2007 at 04:35 AM.
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
A few more questions that I believe that will help not only me these to several ... dombshai osCMax v2 Features Discussion 0 03-02-2007 04:19 AM
main_page.tpl.php where is OSCMAX_bc_right.gif battleaxe osCMax v1.7 Discussion 1 07-12-2004 04:56 AM
Just a few QUESTIONS for You kellycog osCommerce 2.2 Modification Help 3 07-03-2004 10:45 AM
Main_Page.tpl.php NOT working??? why??? JamesAnthony osCMax v1.7 Discussion 2 10-21-2003 07:17 PM
A Few Questions ckeeper osCommerce 2.2 Modification Help 0 07-01-2003 05:12 PM


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


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