Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Root HTML Generator

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 11-21-2004, 11:40 PM
 
Yang Xu Yang Xu is offline
 

Senior Member
  
Join Date: May 2004
Location: Portland, Oregon
Posts: 175
 

Default 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.
__________________
Carts n Tools.com
- New Root HTML Generator
- Templates | Add-Ons | Services
- XCart 4.0.x
Reply With Quote
  #12  
Old 11-22-2004, 12:03 AM
 
rmaskell rmaskell is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: UK
Posts: 69
 

Default

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
__________________
www.officeline.co.uk
X-Cart v4.0.17
Reply With Quote
  #13  
Old 11-22-2004, 05:31 AM
  BCSE's Avatar 
BCSE BCSE is online now
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,068
 

Default

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
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #14  
Old 11-22-2004, 06:29 AM
 
Yang Xu Yang Xu is offline
 

Senior Member
  
Join Date: May 2004
Location: Portland, Oregon
Posts: 175
 

Default

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.
__________________
Carts n Tools.com
- New Root HTML Generator
- Templates | Add-Ons | Services
- XCart 4.0.x
Reply With Quote
  #15  
Old 11-22-2004, 06:32 AM
 
rmaskell rmaskell is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: UK
Posts: 69
 

Default

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
__________________
www.officeline.co.uk
X-Cart v4.0.17
Reply With Quote
  #16  
Old 11-22-2004, 11:37 AM
 
Yang Xu Yang Xu is offline
 

Senior Member
  
Join Date: May 2004
Location: Portland, Oregon
Posts: 175
 

Default

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.
__________________
Carts n Tools.com
- New Root HTML Generator
- Templates | Add-Ons | Services
- XCart 4.0.x
Reply With Quote
  #17  
Old 11-22-2004, 11:56 AM
 
Makaveli Makaveli is offline
 

Advanced Member
  
Join Date: Oct 2004
Posts: 52
 

Default

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?
__________________
X-cart Gold Version 4.0.4 on Unix
Reply With Quote
  #18  
Old 11-22-2004, 03:06 PM
 
Yang Xu Yang Xu is offline
 

Senior Member
  
Join Date: May 2004
Location: Portland, Oregon
Posts: 175
 

Default

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.
__________________
Carts n Tools.com
- New Root HTML Generator
- Templates | Add-Ons | Services
- XCart 4.0.x
Reply With Quote
  #19  
Old 11-23-2004, 03:28 PM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default

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.
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #20  
Old 11-29-2004, 08:09 AM
 
rmaskell rmaskell is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: UK
Posts: 69
 

Default 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
__________________
www.officeline.co.uk
X-Cart v4.0.17
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:46 AM.

   

 
X-Cart forums © 2001-2020