Jump to content

markscarts

Member
  • Posts

    2,486
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by markscarts

  1. free mod by member Estelle, can't say more, find it at cubecart.org or at her website somehow
  2. Gary, The Latest Products is determined by three things, as I have written in your other post. You have control over what goes there. If something is there and you do not want it ther, go to that product page in admin and choose "no" for showing in latest products. In General settings, you can set the number of products to show there, example, you could set 12. Then, make sure all products in your store are set "no" for latest products, except for the 12 you want to show. Popular products = of course you do not control this. This is controlled by number of page views. The more people look at a product, the higher its popularity. That is the meaning of popular products and that is how it works. If you want it to do something different, you need to modify the background code for popular products. The so-called "featured product" box is a random product image that changes each time page is refreshed.
  3. markscarts

    New Items

    If you have a database manager, it will be in the web control panel that your webhost provides for your use. Messing with the database can ruin the store installation if you are not careful, so be careful. Ask your web host for help. Also, read the pinned post here about backing up the database.
  4. For the best results with your webstore, make your product images of a consistent size - make your thumbs of a consistent size - make your category images of a consistent size. Having all different sizes and shapes of images for the same elements generally looks bad. Having some with images, others with none, generally looks bad. If you want a store with purely custom features like changing the size of that area automatically depending on which category you are in, or whether images exist, that store can cost a great deal of money in custom mod development. Best practice is be consistent throughout the store with imaging. Oh, you are welcome on the help :w00t:
  5. It is difficult to say without seeing the code. Post a url, or post the code which lies behind each
  6. I agree with and am all for anything that makes it easier on the moderators to do their jobs, as well as for the members to find what they seek. I would just note here, that I was the first besides Al to add a link to that directory while it was in test mode, but also since that time I have not been able to log in there, and this after repeatedly working with Al regarding my account and also working on hardware, firmware and software on my end. The problem seems to be at this end, but it is a problem nevertheless, and so I am unable to add things to the directory that I would like to add. I am considering hiring someone else to add things there for me in order to make things easier for all of us, as you state. Also, it may bear remembering that many of us have posted plenty of free help at .com downloads, then at .org when .com downloads was brought down, then at our own servers through .org when .org downloads were never repaired, and still would be happy to find some time to do so again if able to at the new .org directory. However, suggesting a google, msn or yahoo search on particular terms seems fair and reasonable, as it gives thousands of results to a member from which to choose, while hopefully listing the most relevant near top of search results. It would be good to hear your opinion on this publicly as well :w00t:
  7. First, I am assuming you understand that there is a difference between product code and productId? You can specify any product code you wish when you add a product, you may use an ISBN there if it's what you want. The productId has to do with db management. This number is a sequential number that is automaticlly given to each new db entry in the inventory table. It is how CubeCart database keeps up with db entries. The only way to change this number is to go into db and change it.
  8. I think you've made a good choice, Dianna. I am using CC as a php learning tool as well. My past experience has been in HTML and CSS coding. I really like the way CubeCart developershave striven for clean coding, and a separation of php and XHTML. Looking forward to hearing the results. If you could get Dreamweaver to load CubeCart like that you will make alot of people happy :(
  9. markscarts

    New Items

    This is controlled by three things: 1. Depends on whether yes or no is chosen on add/edit product page for "include in latest products" 2. Depends on the number of latest products to display as set in store General settings 3. Depends on the auto-generated productId stored in database Here is an example of how to do what you wish done. Your product, widget, was added weeks ago and does not show in latest prods. It was set to show on product page when it was added. You have set 10 products to show in latest prods in the store settings. the prouctId for widget is '10', and the productId for last product added to db is 112. Go to your database manager, usually phpMyAdmin, and navigate to the database for this store. Then, to the CubeCart_inventory table, then use "Browse" to find widget at productId 10. Now, click to edit this entry (usually there is a pencil icon in phpMyAdmin to signify edit, click the pencil. Change the number 10 for productId to the number 113. Save. Now, your widget will be shown as last item added. Always backup your database before messing with it, only yopu are respobnsible for any damage caused by your poking around in the database. This tip is not given with any warranty whatsoever. :(
  10. scour through all your personal settings and board settings, I believe members have the option of allowing/disallowing the code in their own forum experience. Could be wrong, but it might be worth a few minutes to check this out.
  11. Hi Al and everybody I have a question about this part: It seems far too restrictive if it means that we cannot suggest a google search. It is written in such a way that the only searching place would be cubecart.org, while I think that web search engines like google, yahoo, msn are actually better places to search if one knows the best terms to search. I have in the past suggested that a member search google for a specific term, will this be allowed?
  12. There is a commercial mod for this. Try a google search: CubeCart Mods Latest Products on Own Page
  13. Yes. You need to add height to the .subCat class in your skin's styleSheets/layout.css file. You need to se a height for those divisions which is greater than the height of the tallest image, pluse room for the text beneath the image.
  14. Yes there is. If you are unable to find it in the cubecart.org directory, then look up member "Estelle" in these forums. The mod lives at her website.
  15. Hi Dianna, I doubt that the dreamweaver problem resides in reading php files. Instead, I believe the problem is that it does no know how to read the XTemplate files, with the .tpl extension, because this system is less common on the web. It is cutting edge codework. The front-end CubeCart html is contained in the .tpl files found in skins directory files. The html is separated from php by means of XTemplate system in CC frontend. I am one of those who has always coded html and css by hand rather than with a wysiwyg editor, so I can't really give advice on dreamweaver itself, but I believe you would have to tell the software to treat the .tpl extension as XHTML document. This may or may not solve you problem, depending on whether the software will then follow the php XTemplate assignations to the correct .tpl files in skins folder.
  16. Using a good text editor, open the file includes/content/viewProd.inc.php and find this code around line 146: $view_prod->assign("TXT_OUTOFSTOCK",$lang['front']['viewProd']['out_of_stock']); Change the code, like this: $view_prod->assign("TXT_OUTOFSTOCK","<img src='path-to-image.gif' alt='Out of Stock' title='Out of Stock' border='0' />"); Copy the code just like it is, do not change any single or double quotes, change ONLY the part in red - put the correct path and image name there.
  17. Look for the member named Sir William, view his profile, find his website, the mod is there and it is free.
  18. Yes, I know about a mod wherein you can change stylesheets for each top level category. Hence, you could easily have a different top header image, or banner, for each top level cqategory. I think that is what you are looking for? If not, and all you want is a banner in place of the category title in main content area, that can be done with a simple hack. I have explained how to do these kinds of things many times, and get tired of the repetition. There is a thread in skins section about changing category buttons, or somme such, where the principle is discussed about how to name the images with cat id and use them in place of the text. As for the mod for changing styles, can't tell you about it here because it is a commercial mod and against the rules, but you can probably find it by typing this into google search: change styles upon changing category
  19. OK, playing the devil's advocate here Q. Mark, what made you think it is an image path problem? A. Because the alt text is showing (what you are calling the link) which indicates the script is WORKING and that it CANNOT FIND THE IMAGE. Q. I don't understand how that could be, do you have any idea. A. Yes, I think I'll actually visit your site this time to see for myself. Q. What did you find? A. When I right click the file and choose "Show Image" I get this error: 404 Not Found The requested URL /img/p_m6_white_8GB_390.jpg?6241210314619c9480a53d does not exist. Q. What does this mean? A. It means that you have a relative path for the image in your script. Try changing image paths to an absolute path like http://www.houseofdap.com/ADV/img/p_m6_white_8GB_390.jpg instead of /img/p_m6_white_8GB_390.jpg Understandably, this may require some modding of the script.
  20. adding the prefix does not allow the sharing of data between stores, instead it creates an entirely new cubecart installation using the one MySQL database. IOW, same database, totally different tables. This feature is only useful if your host will only allow one MySQL database on your account.
  21. mythbuster => Using a db prefix to differentiate the two stores WILL NOT accomplish what you want, flyerguy. Here's how that works. If you have a hosting account that allows only one MySQL database, you can run more than one spearate stores with the one MySQL database by using a different prefix for one of the stores. This will create a whole separate CubeCart installation, so there will be two sets of CC tables in the one db. One set without a prefix, the other with a prefix. This is the same, in effect, as having two stores on totally separate databases. If your hosting account allows you to have more than one db, you may as well just have separate dbs on these two stores. It is the same effect. NOW. As to having two stores on one database, sharing the same exact tables . . . Of course this can be done. I do it quite regularly, in fact, when upgrading stores for folk I will often have a brief period when mystore.com and mystore.com/newStore will share the live db ~ but in those cases, I don't leave them both on there for very long. This is the scenario that flyerguy refers to. As to having a completely different look to these stores, that can be accomplished very easily by having a skin at store A and a totally different skin at store B both with the exact same name From there it gets much more difficult, though. Running two separate stores from the one db will run into other problems, and will require some modding to make it work. Everything you set on the store's General Settings page goes into an array saved to db - so the stores will have the same store names, along with all other settings. They will have the same admin accounts, etc. etc. etc. So basically, there is no easy answer or solution for this. If you have to ask, you probably can't do it for yourself. There may be other solutions you could explore for what you want to accomplish, other than using two stores from same data.
  22. */* ------------------------------------------------- So many people? based on what, a few forum posts? Half a million people are using CubeCart stores, so let's be fair, shall we? Only a few people are having frustrating troubles with this, and those are mostly people who use IE exclusively and who do not bother to maintain the browser by deleting cookies and files occasionally. There is one developer (though he is now hiring more) and has been only one, who has created and constantly improved CubeCart. All the help you get in these forums is from volunteer effort And now a few questions for you . . . Have you submitted a bug report on this? Have you opened a support request on this? Hmmmmm . . . Well, in the forums you receive volunteer help only. No one here is obligated to answer your questions. We are here answering questions because we want to help, we are glad to help, we wish we could help everyone who asks at all times. But the reality is that we cannot, and some questions do get overlooked. I sincerely hope my answer above works for you and solves your problem. :D
  23. Steps to Aid in Resolving This Issue Well, I have experienced this before as well, only a few times. This usually has to do with Internet Explorer (go figure, heh heh) and cookies - so it does not surprise me that one person found that logging out helps him to log back in. Here are some suggested steps to prevent this from occuring often, and to resolve it when and if it occurs again. 1. Check your storeURL setting . . . Using a text editor (Windows Notepad will usually do in a pinch), OPEN the file includes/global.inc.php, you will see this type of code: <?php $glob['dbdatabase'] = 'mydbname'; $glob['dbhost'] = 'localhost'; $glob['dbpassword'] = 'mypwd'; $glob['dbprefix'] = ''; $glob['dbusername'] = 'mydbusername'; $glob['installed'] = '1'; $glob['rootDir'] = 'my root path for web server'; $glob['rootRel'] = '/; $glob['storeURL'] = 'http://www.mycubecartstore.com'; ?> My suggestion here is to use www in the store URL, that is, www.mycubecartstore.com rather than simply mycubecartstore.com 2. When you go to admin, also use the www if you have it in your global.inc.php file, so use www.mycubecartstore.com/admin rather than just mycubecartstore.com/admin 3. This is the most important thing: Delete cookies and browser cache!!! and try again. In IE, click Tools > Internet Options > General then press the Delete Cookie button and then the Delete Files button. If you do not do this on a regular basis, it may take a few minutes to clear the browser cache. The hourglass cursor may be the only indicator you have that the task is not yet completed. Once the cookies and the cache (temporary internet files) are cleared, close the dialog box then close your browser. Wait a moment, and re-open the browser, go to your admin page and log in. This should solve your login problem If it does, you'll know what to do if it ever happens again. Delete cookies and empty cache (delete temporary files).
  24. Yes, this concerns php settings on the webserver. It is out of your control, normally, and certainly something we can't help with. The answer lies with your webhost. Make a service request to your webhost, copy and paste the error message when communicating with them and give them the url to the page where you get the error.
  25. In the first case, you had opened the file with your browser or perhaps a wysiwyg program, which does no good. In the second case, you got it right. You opened the file with a text editor. Since you got an error message afterward ([XTemplate] parse: blockname [body] does not exist), this indicates that either the file was renamed by notepad (the name must be index.tpl and it must remain in global folder) or you removed the parsing code <!-- BEGIN: body --> To edit these files as instructed in forum posts, mod instructions, etc. you need to open the appropriate files with a text editor. You may use virtually any text editor, like notepad or even a text mode in a wysiwyg editor. Sometimes, notepad will add spaces to a file in inappropriate places. Also, sometimes it will not save a file with correct extension, to force notepad to save a file without .txt extension you can always put quotes around the name when saving, like "index.tpl" For best results editing source files I would recommend using a better text editor. I like to use Notepad++ from sourceforge, it is a great free editor, There are tons of other great free editors out there as well.
×
×
  • Create New...