This is a discussion on FCK editor showing code with content within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi all, Very first post here! I am using FCKeditor for Product Descriptions in my oscommerce install. The problem I'm ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi all, Very first post here! I am using FCKeditor for Product Descriptions in my oscommerce install. The problem I'm having is that when I code to preview my description, it is mixed with code so for example: This is a test would so up as _/p_This is a test _/p_ How can I change this please? On another server, I have TinymCE installed, but am having no problems with that. Only with this server. During installation I had NO issues, NO error messages. At all. The editor still shows up fine, and when I work within the editor, no code shows. But when I want to preview what I had just written, I get HTML tags mixed up with the content. Can anyone point me in the right direction? Thanks |
|
#2
| ||||
| ||||
| FCKEditor and TinyMCE are two different product to do the same thing. If you have a plain OSC MS2/MS2a install - recheck all of your editing. If you have osCMax installed - I can not reproduce this error - please list exactly what you did to have this error. If you DON'T have osCMax installed - why not try it out. It already has the editor and many other REALLY GOOD things already in it. See below for links. Good Luck
__________________ JPF - osCMax Fourm Moderator - To contact, post on the forum or click here Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#3
| |||
| |||
| wowwy, i must admit i am very impressed! Its like a super dpper souped up version of osc. I might look into it in the near future, since I have about 2 new e-store in the making right now. btw, I solved my issue. It had something to do with the database.php file stripping (or not stripping) tags. Is it ok if I post the solution here, even though it was from osc? I'm sure it could help somone, but I'm not to sure if thats allowed. |
|
#4
| ||||
| ||||
| Yes, go ahead an post the solution. We do not disallow open discussion like other forums
__________________ Michael Sasek osCMax Developer *** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers *** Stay Up To Date with everything osCMax: Free osCMax Newsletters - Security notices, New Releases, osCMax News osCMax on Twitter - Up to the minute info as it happens. Know it first. osCMax User Manual - osCMax Templates - Advanced Template Tutorial |
|
#5
| |||
| |||
| I too also have a problem but not sure if it is FCK editor or Easy Populate. I fill in the description box with information in WYSIWYG mode as below: ![]() When I create a CSV file for export and edit it in excel or any other editor, it shows the source code in the description column like this: ![]() I do have cells in the description area on a lot of products(just not the one in the picture,I am running the latest version of OScommerce (not beta), the latest version of the FCK editor, latest version of Easy Populate. I would like to remove the code without destroying the description area when I upload the csv file after editing. I did edit EP for the 3 options for export type and had no luck. I have set it back to .csv. My store is presently offline being built. I like to get bugs out before going live. I have heard a lot of good things about OSmax and considering changing over if it will help my issue. I tried asking for help in the EP forum but only one person replied and was rather rude. If anyone has a solution or even if there is a different program(s), please let me know. Your help would be greatly appreciated. Many thanks, Cory |
|
#6
| ||||
| ||||
| If you remove the html code then re-upload it - you lost all formatting of the text that was done in the WYSIWYG editor. Typically what you download though EP is what you also what to upload. So ether setup the field NOT to export/import or download and upload the full diuscription. Other than that - I don't know what your issue is.
__________________ JPF - osCMax Fourm Moderator - To contact, post on the forum or click here Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#7
| |||
| |||
| Quote:
I appreciate the reply. |
|
#8
| ||||
| ||||
| PoolmanZZ, jpf is quite right when he says that if you remove the html flags from the field you will lose all the formatting. If you want to see this in action - go to a product in the admin section and go to FCK editor and click the Source button (top left) and you will see all the tags that the editor has put in for you to make the text come out how you want. I would have thought that on your site you would want a pretty standard layout for your product descriptions so I would suggest that you upload using the tags created when using EP. Regards, |
|
#9
| |||
| |||
| Quote:
Thanks for the reply. Sorry for the silly question but are you suggesting I would be better off without FCK editor and just use the regular OScommerce format? If you have another suggestion that may accomplish something similar to the editor without all the html code in the download for description I would be very interested in your idea. Possibly a site i can also see where your idea is used. Visual works best for me as I am very green at this but learning quick. TIA |
|
#10
| ||||
| ||||
| PoolmanZZ, If you click the source button you can see the actual <html> that will be posted into your store database - this is what you see in easypopulate. If you do require any html formatting on the text you display in your store then I suggest that you click the 'Source' button and enter the description of the product without any html markup - if you do this then when you use EP it will be just your text. However, the flip side of this is that you can only enter plain text into your descriptions. How you do this is up to you ... you could hard code some basic formatting into the product_info page ... but looking at your screen shot - not all your products have the same layout so I would try the following. Leave the html tags in and simply copy and paste in EP - it is not hard to see how to do this. You can even do it in excel using concatenate ... Eg. This is what you have in EP: Quote:
1. Copy and paste the tags before 'This is your text' to a new cell eg. <tag><tag><b><h1> to cell AA1 2. Copy and paste the tags after 'This is your text' to a new cell eg. <tag><tag><b><h1> to cell AA2 3. Type the text you want into cell AA3 4. Type into cell AA4 =concatenate(AA1,AA3,AA2) This will then create the html tags around plain text for you. So you should be able to enter plain text through EP and add the tags using excel functions - you could even write a macro to go through column C and add generic html tags to the text - same method as above. Obviously you will need to move the cells around a bit to do this in bulk but hopefully this give you the right idea of what you can do. Hope this helps, |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Proforma Content Management - Place Content Anywhere | michael_s | New osCommerce Contributions | 0 | 05-26-2008 09:22 AM |
| New customer email - coupon code not showing | chrismole | osCMax v2 Features Discussion | 4 | 01-14-2007 07:06 PM |
| Redeem Vouchers Code not showing anywhere | fuzioneer | osCMax v1.7 Installation | 2 | 06-03-2005 10:51 PM |
| wysiwyg editor not showing | techmatters | osCMax v1.7 Installation | 7 | 03-15-2005 05:49 PM |
| page content not showing up in Google | Anonymous | osCMax v1.7 Discussion | 16 | 02-11-2004 06:40 AM |