The earlier implementation of the modification that results in moving home.asp to the root of your web site had a limitation in that it did not support the AJAX product preview. This limitation no longer exists.
The entire process is documented here: http://wiki.earlyimpact.com/how_to/move_home_page_retain_ajax - http://wiki.earlyimpact.com/how_to/move_home_page_retain_aja x
The short version of what changed is as follows:
· If it does not already exist, create a folder in the root called images.
· Copy from the “/productcart/pc/”images folder all of the .png files related to the AJAX popup and place them in the images folder in the root of your web site:
o topcap.png
o titlemiddle.png
o contentmiddle.png
o bottomcap.png
o pngfix.png
o up-right-combo.png
o up-left-combo.png
o lower-right-combo.png
o lower-left-combo.png
· Copy the following files from the “/productcart/pc” folder to the root of your web site:
o inc_PrdCatTip.asp
o xml_getPrdInfo.asp
· Edit inc_PrdCatTip.asp
o change the tag that points to ei-tooltip.css so that it points to “productcart/store/pc/ei-tooltip.css”
o change the tag that points to ei-tooltip.js so that it points to “productcart/store/pc/ ei-tooltip.js”
o change the tag that points to XHConn.js so that it points to “productcart/store/pc/XHConn.js”
o locate myConn.connect("xml_srcListPrds.asp", "POST", GetAllValues(document.ajaxSearch), fnWhenDone); Change the statement as follows: myConn.connect("productcart/pc/xml_srcListPrds.asp", "POST", GetAllValues(document.ajaxSearch), fnWhenDone);
· Edit xml_getPrdInfo.asp
o Around line 64 there are 11 “include” tags and 2 more further down the code. Change all of these to point to your “productcart/includes” or “productcart/pc” folders, respectively.
o Locate: tmpList=tmpList & "<img src=""catalog/" & pSmimageURL & """ >" & vbcrlf
o Edit the above statement as follows: tmpList=tmpList & "<img src=""/productcart /pc/catalog/" & pSmimageURL & """ >" & vbcrlf
I implemented this on two sites this morning and believe I have covered all of the necessary changes. If you locate any oversights, please post them so that others can benefit and I'll update the WIKI.
------------- GreyBeard Design Group
Certified ProductCart Developer
Web Design/Development/Hosting
http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |
|