sowens Posted February 12, 2003 Share Posted February 12, 2003 Hi I need to get my catalog to display on my home page. Scenario Root listing index.html catalog ... ... I want to rename the catalog/default.php to index.php and move it up out of the catalog directory to the doc root directory. I have tried the following. <li> linking the file, doesnt work What I want to know is, can I move the catalog contents to the root area and rename the default.php file to index.php and will this solve the issue quickly. I am on a linux box so moving is easy. Regards Sean Sean Owens Link to comment Share on other sites More sharing options...
Mark Russell Posted February 13, 2003 Share Posted February 13, 2003 You also need to change a line in application_top.php from define('FILENAME_DEFAULT', 'default.php'); to this: define('FILENAME_DEFAULT', 'index.php'); Mark Link to comment Share on other sites More sharing options...
sowens Posted February 13, 2003 Author Share Posted February 13, 2003 You also need to change a line in application_top.php from define('FILENAME_DEFAULT', 'default.php'); to this: define('FILENAME_DEFAULT', 'index.php'); Mark Hi thanks for the prompt reply FYI if you do this mod you need to change all default.php files to index.php. Its easier just to link the index.php to the default.php. Now I am still looking to see if any one has moved the catalog and its parts to the doc root of their webserver. Any takers ? Regards Sean Owens Sean Owens Link to comment Share on other sites More sharing options...
Mark Russell Posted February 13, 2003 Share Posted February 13, 2003 FYI if you do this mod you need to change all default.php files to index.php. Its easier just to link the index.php to the default.php I'm not following you here. If you make that change to application_top all references in the various scripts to FILENAME_DEFAULT will call index.php By the way, I have moved my catalog to root ... Mark Link to comment Share on other sites More sharing options...
sowens Posted February 13, 2003 Author Share Posted February 13, 2003 FYI if you do this mod you need to change all default.php files to index.php. Its easier just to link the index.php to the default.php I'm not following you here. If you make that change to application_top all references in the various scripts to FILENAME_DEFAULT will call index.php By the way, I have moved my catalog to root ... Mark Hi Mark, just did the ould RTFM ;-) in the http://guide.oscdox.com site, should have done that ages ago. Sorted now, catalog showing on the root now. On the previous issue yes but there are other directories below catalog that have files called default.php. They need to be copied too. It is just easier to link the default.php to the index.php. I have a bad habit of touching code last. So that is where I am comming from. Thanks for all the help. BTW for others looking at the new guide.oscdox.com site it does not work with netscape 7. I had to be dragged kicking and screaming to some other browser. And I could view the site perfecty. Regards and thanks for the help. This is a brilliant community, such good will and helpfulness. Sean Owens Link to comment Share on other sites More sharing options...
itbejared Posted February 16, 2003 Share Posted February 16, 2003 Ok... I am trying to do the same thing. Move my catalog to root. How can I do this with reinstalling OSC? at guide.oscdox.com it says to reinstall and I don't want to do that. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.