happyyo Posted December 6, 2003 Posted December 6, 2003 Hi there people :) 3 quick questions: - the default images at the right in the header (My account, cart contents and checkout), how can i delete them??? and if I do it, will this affect anything??? I just want to leave the text links that are just under the images. - about those links: My account, Cart Content and Checout: when I click on them I get nothing.. do i have to set up some php file or something else?? - probably another stupid question for most of you: i have in my cpanel: folder public_html/catalog..... How can I do for setting up the main page of oscommerce as my home page?? I mean, for getting oscommerce when I brownse www.mydomain.com?? Thanks a lot in advance :) :)
happyyo Posted December 6, 2003 Author Posted December 6, 2003 ohh, another thing related to the second question: I would like to remove this: Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account? and make two links for "Create an account" and "login" somewhere. Any ideas for doing this and which files should I touch?? At the moment when I click in "log yourself in" or " creat an account", I get a blanck page. thanks again :)
yogidegr8 Posted December 6, 2003 Posted December 6, 2003 Hello, You can find many usful information regarding changing ext at this link: http://wiki.oscommerce.com/helpHowtoTextGeneral also some information at: http://www.oscommerce.com/forums/index.php?showtopic=68311 ;) Thats all I know about PHP...
Coolmax Posted December 6, 2003 Posted December 6, 2003 I came accross this code not so long ago to redirect to a directory containing oscommerce so if someone types http://yourhost.com it will take them to http://yourhost.com/catalog/ make a new "index.php" paste this code & edit as needed and then place it in your root directory. <?php //get domain entered in browser $HOST = $_SERVER['HTTP_HOST']; if ($HOST == "yourhost.com") { header("Location : http://yourhost.com/catalog/"); exit; } else { header("Location : /catalog/"); exit; } ?> Hope This Helps coolmax
Noobish-n-stuff Posted December 6, 2003 Posted December 6, 2003 do as i am doing right now. change your includes/configure.php so it no longer points anything towards the /catalog dir. then move all of the files in the /catalog to your public_html/ dir if you want to see how to modify your configure.php, scrol back a few pages and you will see a post of mine about "change index.php to root" i suggest doing it this way, cutomers and bots don't like redirects. imagine not being able to get back to your google search by hitting the back button. (if you used a redirect, it will put the cutomer right back at the index) yuck!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.