osCmax v2.5 User Manual
Results 1 to 4 of 4

Can I rename Index.php to Indexshop.php?

This is a discussion on Can I rename Index.php to Indexshop.php? within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; I have a website that is primarily a game site and I want to add an OSCMax shopping cart which ...

      
  1. #1
    New Member
    Join Date
    Aug 2005
    Posts
    5
    Rep Power
    0


    Default Can I rename Index.php to Indexshop.php?

    I have a website that is primarily a game site and I want to add an OSCMax shopping cart which you can get to from a link on the main site page. The problem is that the site already has its home page called index.php, I have the OSCMax index.php renamed to indexshop.php. However I cannot see where to change this parameter within OSCMax so that all the links in the catalog refer back to indexshop.php vs index.php.

    Any help appreciated.
    Craig

  2. #2
    Member
    Join Date
    Jan 2004
    Location
    Netherlands
    Posts
    71
    Rep Power
    0


    Default Re: Can I rename Index.php to Indexshop.php?

    Quote Originally Posted by elscr01
    I have the OSCMax index.php renamed to indexshop.php. However I cannot see where to change this parameter within OSCMax so that all the links in the catalog refer back to indexshop.php vs index.php
    I guess it's something like:

    find:
    Code:
    define('FILENAME_DEFAULT', 'index.php');
    change to:
    Code:
    define('FILENAME_DEFAULT', 'indexshop.php');
    In includes/filenames.php (although I do not have a copy of osCMAX, so it might be a little different).

  3. #3
    Member
    Join Date
    Aug 2004
    Posts
    49
    Rep Power
    0


    Default

    Wouldn't it just be easier to install the "catalog" folder in its entirety and link to it from the existing index.php file?

  4. #4
    New Member
    Join Date
    Aug 2005
    Posts
    5
    Rep Power
    0


    Default

    paulM, thanks - that worked nicely - all I had to do in addition to the changes you recommended was rename the other index.php located in the includes/languages/english directory to indexshop.php as well and now it works. Thank for the tip.

Similar Threads

  1. How to change <index.php>
    By ALElder in forum osCmax v2 Customization/Mods
    Replies: 4
    Last Post: 10-22-2006, 04:36 PM
  2. rename categories & change number of images
    By anntaj in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 11-16-2004, 02:40 PM
  3. how to move index.php
    By rnomis in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 02-21-2004, 04:19 PM
  4. linking to index.htm
    By Christy in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 11-21-2003, 05:06 PM
  5. undefined index
    By websight in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 11-18-2002, 05:18 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
  •