X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Home page (https://forum.x-cart.com/showthread.php?t=2627)

Chet 05-09-2003 09:43 AM

Home page
 
Would like to use the main storefront as home page instead of the enter store page.Help files say use index.html to direct but that is the page I want to bypass
How can you navigate through the store and get back to main page without using back browser or clicking logo?

shan 05-09-2003 10:56 AM

you will see the link for getting back to the root page in the head.tpl file where the logo is.

Chet 05-09-2003 12:55 PM

Shan...little confused here new to x cart. When my url is entered I want the main storefront page to come up.I don't even want to see the ENTER STORE page. That enter store page is the index.html which should be the root already.So how do I relate the page I want to come up when the url is entered.

adpboss 05-09-2003 01:20 PM

Replace the contents of your index file with the code in the FAQ.

It's as easy as that. When your www.yoursite.com URL is entered, the index page will automatically redirect the user to your cart.

Good Luck!

:)

machnhed1 05-09-2003 01:21 PM

Shan, it looks like Chet is using 3.4.0 with that new index.html page.

Am I correct Chet? If so, point your link to www.yoursite.com/customer/home.php.

Hope that helps :!:

Chet 05-09-2003 03:00 PM

Yes ...I just had this a few days. Really confused because on a normal index page the url www.mystore.com/index.html is the first page you see.
What do I do with the current enter store index.html and where do I put the link that goes to customer/home.php.
Is this page (enter store index) like a place holder and if so wouldn't I have to replace that page with the customer/home.php and rename index.html???

machnhed1 05-09-2003 03:16 PM

Chet,

3.4.0 is just out and that index.html page is a new feature, so most people don't think of it when they are diagnosing problems. With that said, here's what I think you need to do...

The index.html page was added to help out with search engine placement. Search engines give higher priority to non-database driven pages, hence the simple index.html.

If you really don't like the page at all and aren't worried about search engine rankings, just delete the file (index.html). Your index.php page should take over and automatically forward your visitors to the store's homepage customer/home.php.

If search engines are imporatant to you, well, that's another post (which is going to be quite long) which I will write if need be.

Hope this helps :!:

Chet 05-09-2003 04:08 PM

Hey...never had much luck with engines unless I paid the price..Heres the thing I have been all through the files and nothing listed as index.html..index.php.I know it has to be ther somewhere,but where?

machnhed1 05-09-2003 06:11 PM

You can't get to them through the admin panel built into x-cart. Instead you should try to ftp into your site (using something like leapftp or wsftp) and delete them there. You might also be able ftp into your site through your hosting control panel.

Chet 05-10-2003 03:53 AM

Got it...Thanks for the help!

Rich Z 05-16-2003 10:18 AM

OK, I'm tired of looking.... where is that blasted home.tpl? I looking in home.php and it references admin/home.tpl. But I guess I have a severe case of tunnel vision, because I don't see it there via the admin page to modify templates.

I sure wish there was a search function in the admin page that would search by name or text string.

shan 05-16-2003 01:31 PM

skin1/customer/home.tpl

Rich Z 05-16-2003 01:42 PM

Argh! I was looking for this through the admin page for "Edit templates". Do you have a path through that route to it? Yeah, I know I can manually edit it, but I like to use the admin screen as my work area if at all possible.

I know it's just a learning curve thing, but darn some things are hard to find.....

Thanks for your help.

adpboss 05-16-2003 01:48 PM

When you "Edit templates" from the Admin, the root directory is skin1. Browse to the Customer directory and home.tpl should be sitting there waiting for you in all it's glory.

Good Luck!

:)

Rich Z 05-18-2003 09:22 AM

Sigh..... Thanks for your guidance, o master..... I guess I just haven't gotten the logic of the layout to sink in yet.


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

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.