Jump to content

 

widget

Member Since 22 Nov 2007
Offline Last Active Nov 23 2010 04:18 PM
-----

Topics I've Started

.htaccess Problem

22 January 2008 - 01:35 PM

I have converted my old site to Cs-Cart v1.3.5 SP2 sucessfully. However, I am having a problem with redirecting page requests.

Many pages in my old site have been indexed by the search engines. If a search was performed looking for "josef original', at some point, a link to my old site would show as nhallmark.com/browseProducts.asp?categoryID=26 . I am attempting to use mod rerwrite in my root .htaccess file to capture this link request and turn it into nhallmark.com/collectibles/josef-originals-collectibles.html. Unfortunately, what comes up is nhallmark.com/collectibles/josef-originals-collectibles.html?sef_rewrite=1&categoryID=26. I can't figure out how to eliminate the ?sef_rewrite=1&categoryID=26 at the end and this is causing problems.

Here is what my .htaccess file looks like for this category:
#Rewrite Josef Originals category references on the old site (pages with .asp?categoryID=26 as part of URL) to point to the proper category page
RewriteCond %{THE_REQUEST} ^GET\ .*\?categoryID=26.*\ HTTP
RewriteRule ^(.[^/?]*)$ nhallmark.com/collectibles/josef-originals-collectibles.html [R=301,L]

Any ideas on what I need to do to eliminate the ?sef_rewrite=1&categoryID=26 at the end?

Elements Per Page

18 January 2008 - 04:13 PM

Can anyone explain exactly what 'Elements per page' does under Customer Settings found in Setting->Appearance in V1.3.5?

How to Implement the Holly Hack?

11 January 2008 - 05:46 PM

I am using v1.3.5 SP2 and have noticed that none of the text associated with my Categories show up in IE 6. I am pretty sure that this is the Peek-a-Boo bug in IE6. It appears that I need to put in the Holly Hack to get around this problem, but I do not know where to put this in cs-cart.

Has anyone put in code to get around this IE6 display problem?

Help Needed for Design Requirement

06 January 2008 - 03:13 AM

Prior to purchasing cs-cart, I had advertising flyers created telling customers to go to a specific folder in my domain name (e.g. is says go to www.nhallmark.com/coupon). In my existing site, I have a 'coupon' folder with an 'index.asp' member, so when the customer types in the above address, it brings up the index.asp page in the coupon folder.

Since this advertising is out in the public, I will need to handle this situation once I convert over to cs-cart. My question is, how do I do this?

I have at least two major problems:

1) I can create a new row in table cscart_language_values and put in my needed HTML (similar to the text_welcome row containing the home page HTML put in while in the Site Layout page). However, the skins\basic\customer\welcome.tpl needs to be modified to include some type of conditional to retrieve my new row instead of $lang.text_welcome. I am not sure how I would do this.

2) I think that I will need an index.php located in the coupon folder, but I do not know what I need to put in this php file. I copied the existing index.php from my root directory into my coupon folder and changed line 27 from require './prepare.php'; to require '../prepare.php'; and line 41 from require './init.php'; to require '../init.php'; so that it picks up these files from the root directory. However, I think that I will have to set some type of variable here, so that the conditional in the welcome.tpl above can work properly.

Once everything is working properly, the page displayed to the customer should look identical to my home page, except that is will show my new HTML instead of the HTML found in text_welcome.

I have several situations like this, so I will be creating multiple folders under my root once I get the first case working.

Manage Pages Question

12 December 2007 - 07:26 PM

I have flyers that are being ditributed that offers a coupon by going to my web site. The flyer tells the customer to go to a site like www.xyz.com/coupon (just an example, not a real site).

Prior to starting to use cs-cart, I created a directory in my domain called coupon under the root directory. The coupon directory has a member called index.html. This method allows the customer to type in the shortened .../coupon instead of .../coupon.html since coupon is a directory and that directory has an index.html that displays by default.

In cs-cart, I see that I can create a coupon page via Manage Pages, but this would require the customer to type in .../coupon.html instead of the .../coupon that is currently printed on the flyer.

I know that I can create a generic coupon/index.html on my server, but I want the page to have the same look and feel of all of the other cs-cart pages.

Is there a way to create this type of page in cs-cart (through Manage Pages or any other procedure)?