X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Root HTML Generator (https://forum.x-cart.com/showthread.php?t=10401)

Yang Xu 11-21-2004 11:40 PM

Re: not quite root
 
Quote:

Originally Posted by rmaskell
I change the line define ('DIR_CATALOG', '/catalog'); to read ('DIR_CATALOG', ''); but it then wants to put the hmtl pages in /public_html/store rather than in the root directory /public_html ?


Hi, Robert:

As your XCart is installed in /public_html/store directory, XCart can not access any directory above the directory /store. If you want all your HTML files in /public_html (web root) directory, you either install your XCart in this directory, or use a commercial mod to move the HTML files up into /public_html (web root) directory.

rmaskell 11-22-2004 12:03 AM

Thanks for your prompt reply.

Is it OK to have your cart and the html pages in the root directory?

I mean, does it cause any conflicts?

Thanks again

Robert

BCSE 11-22-2004 05:31 AM

Quote:

Originally Posted by rmaskell
Thanks for your prompt reply.

Is it OK to have your cart and the html pages in the root directory?

I mean, does it cause any conflicts?

Thanks again

Robert


Doesn't cause any conflicts. You can also change it to:
Code:

define ('DIR_CATALOG', '/');

and see if that puts it in the xcart directory. I've not tried myself so I'm not sure if that will make it go into the xcart directory.

Carrie

Yang Xu 11-22-2004 06:29 AM

Quote:

Originally Posted by rmaskell
Is it OK to have your cart and the html pages in the root directory?

I mean, does it cause any conflicts?


Hi, Robert:

No, it doesn't cause any conflicts at all.

rmaskell 11-22-2004 06:32 AM

Hi Carrie

Tried putting in the'/' and it shows that it will write the html to:

The server directory where the HTML-catalog will be generated:
/public_html/store/

You will access your HTML-catalog via this URL:
http://www.officeline.co.uk/store//index.html

Now I'm stuck. I guess I'll just create the cart in the root directory and html to there.

Robert

Yang Xu 11-22-2004 11:37 AM

Quote:

Originally Posted by rmaskell
Tried putting in the'/' and it shows that it will write the html to:

The server directory where the HTML-catalog will be generated:
/public_html/store/

You will access your HTML-catalog via this URL:
http://www.officeline.co.uk/store//index.html

Hi, Robert:

Maybe you can use: define ('DIR_CATALOG', ''); and see if you can get rid of double // . I've not tried myself.

Quote:

Originally Posted by rmaskell
Now I'm stuck. I guess I'll just create the cart in the root directory and html to there.

There are disadvantages to put XCart in root. For example: you will not be able to put two XCart in one web root; if your site is a big one and store is only a part of your site, it will be hard to organize all files, etc.

Makaveli 11-22-2004 11:56 AM

Hello,

Is it possible to configure this mod to generate an HTML catalog to another folder as well?

For example, the html catalog can get generated into the catalog folder, as well as the "categories" folder depending on which path I type in through the admin.

Sometimes I want to generate just the categories HTML pages and be able to find all of them at once. When you have thousands of products and HTML pages get generated by category only, it would be impossible to find all the category pages.

I also don't want to delete the product html pages. If it's possible to be able to generate the HTML catalog in 2 different folders, I can generate the category pages in the "categories" folder whenever I want without having to delete everything.

Can anyone help?

Yang Xu 11-22-2004 03:06 PM

Hi, Robert:

You can generate the HTML catalog files in the catalog directory, then copy any files you like in the catalog directory to any other diretories.

a1deano 11-23-2004 03:28 PM

Hi all, as my xcart is in the root directory ive just tried this little mod
and created my catalog in public_html, i use a company called
http://optimiser.123promotion.co.uk/ before i created my catalog in the root i had a 77% ranking score, ive just re-tested and ive know got a ranking score of 82% and just by following this little mod.
Cheers Jon and all you guys.

rmaskell 11-29-2004 08:09 AM

limit on viewable files in ftp programs
 
Does anyone know why there is a limit to the number of files that you can view using FTP programs.

I'm using Ipswitch FTP and it only allows me to see the first 2000 files in any directory?

Not much good if I want to copy 16,000 files from /catalog to the root folder of my store.

Any ideas?

Thanks

Rob


All times are GMT -8. The time now is 07:37 AM.

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