Results 1 to 3 of 3

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 ...

      
  1. #1
    Member
    Join Date
    Jan 2005
    Location
    Holland
    Posts
    80
    Rep Power
    0


    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

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


    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

  3. #3
    Member
    Join Date
    Jan 2005
    Location
    Holland
    Posts
    80
    Rep Power
    0


    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

Similar Threads

  1. how to make the image on product page
    By johnkwok in forum osCMax v2 Features Discussion
    Replies: 0
    Last Post: 05-20-2006, 02:55 PM
  2. Make www.mydomain.co.uk the home page
    By Vick2004uk in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 01-03-2005, 04:24 PM
  3. make catalog/index.php the default homepage of my website...
    By ReginaStelling in forum osCommerce 2.2 Modification Help
    Replies: 10
    Last Post: 09-20-2004, 02:00 PM
  4. How to make categories appear in the center of page
    By hisapostle in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 01-29-2004, 06:14 AM
  5. MS2 Max 1.5 - cannot go back to index page
    By goldie in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 10-21-2003, 11:19 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
  •