Jump to content

cutecube

Member
  • Posts

    70
  • Joined

  • Last visited

Everything posted by cutecube

  1. I already have a normal Paypal gateway installed on my shop. I want to create a Paypal recurring payments button (on Paypal site) and put it on certain items in my shop. Once I create the button on the Paypal site, I will have the html code snippet and was wondering if anyone had any suggestions on the best way to place the code (which includes the button icon) on certain items?
  2. "And, FWIW, HTML markup does not constitute the presentation layer. The HTML tags informs the rendering application what something could be, but it is entirely the purvue of the rendering application to display that content in a style based on its own needs or from that of style sheets." Technically correct. :-) I just did a quick Google search for CKEditor alternative and produced at least 15 other applications. I didn't do any research beyond that. In Cubecart, what is the purpose of having a WYSIWYG editor in the first place. Aren't you just typing a description of the product? Why would you need to embellish it? Couldn't you do that in CSS, where it's supposed to be done?
  3. As any good programmer will tell you, you should always keep the data and structure separate. This way, you can format the data any way you want to using HTML, C++, etc. You should never store structure (HTML or any other code) with the data. The presentation of the data should be under complete control of the presentation of the data, no formatting information should ever be stored in the data. The HTML should be in the webpage to display the data in whatever manner you want. The data (in the database) should have no presentation code stored with it. That's just normal and proper program design.
  4. I'm sorry. I didn't realize that you meant to comment out those lines. I'm so used to looking at code that I copied the second set of lines and removed the double slashes, thinking that somehow they related to how you pasted the code. I feel really stupid now. Thanks for your insight. Although I would think that they would store the data as clean as possible so it could be used in many different ways, I guess they had their reasons, which escape my logic reasoning. I'll probably write a simple SQL statement to extract the data, clean it, and put it into a csv file. Thanks again and keep up the great work! p.s. How to I mark this as solved?
  5. Thanks a lot, bsmither. I appreciate you taking the time to create those changes. I've noticed that you really put a lot of effort into helping people here. I may be wrong, but those two code snippets look identical to me. Saved each and did a 'diff' on them. Nothing showed different. Before I go off half-cocked, and do something to mess things up, can you explain why the 'export' code was designed that way? I have not looked at the actual database field nor have I used a Hex Editor to look at the resulting csv export file to determine exactly what characters are there that prevent the file from loading into a normal spreadsheet program. Removing those extra characters by hand, allows the file to load in any spreadsheet program, so I can't figure out why it was designed the way it is. What did the designers expect the resultant export csv file to be used for?
  6. Not to sound belligerent, but I've been using CSV files for over 35 years and fully understand the structure of them. Yes, I'm that old. What I don't understand is why those characters are in there in the first place? It looks like it was meant to be shown on a web page. With those added characters in the raw csv file, it make it almost useless for almost anything you want to do with it. Why is it just associated with the 'Description' field? I use OpenOffice/LibreOffice Calc and I've tried every combination of import parameters to try to get it to work, but after 24 tries with different combinations, I still couldn't make it import properly, so it has nothing to do with quotes, tabs, comas, periods, spaces, etc. In my opinion, the operation that creates the csv export file is incorrectly designed. I've never seen a csv file contain those characters in my life. I can write a quick Bash script to correct the problems. However, I'd like to see the problems corrected at the source. I don't know who might be in charge of that particular code, but if they can tell me where it's located, I'd be happy to look at it to see what is wrong with the code and maybe correct it.
  7. Running 6.06. When I export a catalog as csv, the resulting file has html paragraph markup code in it. I right click on the '1' in the export screen and click 'save as'. It saves the file as a csv file. Spreadsheets don't seem to like this by not displaying the description field. Why are they there? Am I doing something wrong? "Fairy's Hanging Heart Key Necklace","1","1","SPI016TX82","0.000","<p> Silver birthstone key necklace. Customize with your choice of birthstones.</p> I have to remove the <p> and </p>, remove what looks like a tab after the first <p>, and delete the character after the period in the description field, in order for it to show up in a spreadsheet properly.
  8. So, let me see if I understand this. I CAN upload multiple images in the admin/file manager, and if I don't click "Update File List", everything will work properly? i.e. After uploading bulk images, I can go to the 'image' section of the product and select which images I want for that product? If that's correct, the "Update File List" sounds dangerous! What would that be used for normally?
  9. I understood what you meant. I wasn't about to use the file manager to upload bulk images due to having to redo all the image/product associations. Sorry if I implied otherwise. Thanks again.
  10. I can understand why you should upgrade if there is a security patch. That's why it would be nice to know what changed version to version. It's not hard to to a diff on all the files, but what is difficult is to determine if they relate to a security issue. The red bar doesn't really bother me (yet), but it's good to know that there is a hack to remove it. Thanks bsmither.
  11. Thanks, bsmither. Yeah, I did some pretty extensive changes to the php code and the skin template files. Is there any 'diff' available from one version to the next, to allow us to know exactly what's been changed and decide how to merge the new version into the old, without putting the burden on the user to figure out what's been changed? Any way to get rid of the red bar at the top, telling me to upgrade? p.s. I'm impressed at the speed and level of help you and others provide here in the forum.
  12. Thanks, bsmither. I didn't know about the drag-n-drop feature. Still looks like just one file at a time though. Ideally, it should allow you to select all the files to upload and have the code upload one at a time. Not that I have time right now, but if I write code to do things like this, how do I submit it for review to be included in future versions?
  13. Is there any way to upload more than one image at a time through the product section in admin? If I upload them through ftp, will they show up in the image listings in the product section, where I just select which ones I want? Thanks
  14. I installed the latest cubecart a few months ago. I made changes to many pages manually coding each change since none of the changes were able to be made from the GUI. Not sure why that is. Anyway, I recently see a red banner on my admin panel saying that I need to upgrade to the latest version. Since I have so many pages that have been modified by me, whats the best way to upgrade my site? I've looked through the forum and didn't find a definitive answer on this. Thanks
×
×
  • Create New...