osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

How to make a index.php page with a another name in OSMAX?

This is a discussion on How to make a index.php page with a another name in OSMAX? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I do want make a 'top" page ( see headernavigation bar) and for that i need to the index.php with ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-26-2005, 02:05 AM
Member
 
Join Date: Jan 2005
Location: Holland
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
doumawis
Default How to make a index.php page with a another name in OSMAX?

I do want make a 'top" page ( see headernavigation bar) and for that i need to the index.php with a another name.
Note: i do want to chance the name "top" in the headernavigationbar in "HOME" and link this to the new homepage.

I don't know yet also how to link this homepage with the new to make headernavigation bar HOME (link)

Perhaps it possible to build up a homepage by first define a new home.php in OSMAX and copy and paste the content of the index.php on it=> i give a possible solution?

Still remains the question how to make a link to the new homepage?

doumawis
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 02-28-2005, 02:47 PM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 319
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
red_fraggle
Default RE: How to make a index.php page with a another name in OSM

actually if you look in /includes/configure.php on line 14 you will see a define statement which says:

Code:
define('HTTP_SERVER', '');
change this to the url of your home page (non-osc homepage) and the "Top" link will go there.

The "Catalog" link is actually built from the combined define statement in line 14 above and the define statement on line 21. It concantonates the two into a single URL

line 21 is as follows:
Code:
define('DIR_WS_HTTP_CATALOG', '');
So if your domain is http://www.widgets.com and your store is at http://www.widgets.com/catalog then your define statements would appear as follows:

Code:
define('HTTP_SERVER', 'http://www.widgets.com'); // eg, http://localhost - should not be empty for productive servers
  define('HTTPS_SERVER', 'https://www.widgets.com'); // eg, https://localhost - should not be empty for productive servers
  define('ENABLE_SSL', true); // secure webserver for checkout procedure?
  define('HTTP_COOKIE_DOMAIN', 'widgets.com');
  define('HTTPS_COOKIE_DOMAIN', 'widgets.com');
  define('HTTP_COOKIE_PATH', '/catalog');
  define('HTTPS_COOKIE_PATH', '/catalog');
  define('DIR_WS_HTTP_CATALOG', '/catalog');
  define('DIR_WS_HTTPS_CATALOG', '/catalog');
This setup would make the top link go to http://www.widgets.com and the catalog link go to http://www.widgets.com/catalog
__________________
Clifton Murphy CEO/CTO
Hyperactive Inc.
osCommerce hosting, OSCMAX hosting, osCommerce modification, and OSCMAX modification specialists!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-01-2005, 12:16 AM
Member
 
Join Date: Jan 2005
Location: Holland
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
doumawis
Default Re: RE: How to make a index.php page with a another name in

Quote:
Originally Posted by red_fraggle
actually if you look in /includes/configure.php on line 14 you will see a define statement which says:

Code:
define('HTTP_SERVER', '');
change this to the url of your home page (non-osc homepage) and the "Top" link will go there.

The "Catalog" link is actually built from the combined define statement in line 14 above and the define statement on line 21. It concantonates the two into a single URL

line 21 is as follows:
Code:
define('DIR_WS_HTTP_CATALOG', '');
So if your domain is http://www.widgets.com and your store is at http://www.widgets.com/catalog then your define statements would appear as follows:

Code:
define('HTTP_SERVER', 'http://www.widgets.com'); // eg, http://localhost - should not be empty for productive servers
  define('HTTPS_SERVER', 'https://www.widgets.com'); // eg, https://localhost - should not be empty for productive servers
  define('ENABLE_SSL', true); // secure webserver for checkout procedure?
  define('HTTP_COOKIE_DOMAIN', 'widgets.com');
  define('HTTPS_COOKIE_DOMAIN', 'widgets.com');
  define('HTTP_COOKIE_PATH', '/catalog');
  define('HTTPS_COOKIE_PATH', '/catalog');
  define('DIR_WS_HTTP_CATALOG', '/catalog');
  define('DIR_WS_HTTPS_CATALOG', '/catalog');
This setup would make the top link go to http://www.widgets.com and the catalog link go to http://www.widgets.com/catalog
Thanks!
i will study this and the whole idea is to use the index.php as catalog page and add a home page ( now it is the task to fill the homepage with some boxes)

I have made also a another easy solution for the "homepage/catalogpage "problem:

http://www.janzerospec.com/catalog/index.php

So i will look at it again

NOTE
At the moment i am really stuck ( dead-end)with the making of my oscommerce shop, because i cannot install a shipping or paymentmodule
( there is nothing coming on the homepage ??)
Well i you want you can make a try in the adminstration ?( please go ahead and look around there)

doumawis
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
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
how to make the image on product page johnkwok osCMax v2 Features Discussion 0 05-20-2006 01:55 PM
Make www.mydomain.co.uk the home page Vick2004uk osCommerce 2.2 Installation Help 2 01-03-2005 03:24 PM
make catalog/index.php the default homepage of my website... ReginaStelling osCommerce 2.2 Modification Help 10 09-20-2004 01:00 PM
How to make categories appear in the center of page hisapostle osCommerce 2.2 Modification Help 1 01-29-2004 05:14 AM
MS2 Max 1.5 - cannot go back to index page goldie osCMax v1.7 Discussion 2 10-21-2003 10:19 AM


All times are GMT -8. The time now is 01:15 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax