Jump to content


  • Content count

  • Joined

  • Last visited

  1. indre1

    All-In-One fckEditor and osCMS

    The solution was to remove nl2br functions from cms related php files (cms.php and cms_content.php in admin I believe).
  2. indre1

    All-In-One fckEditor and osCMS

    I used this, but for some reason, for every line break that can be seen in the editor a <br /> is added when previewing the text. For example, in editor's source: Hello<br /> How do you do The same thing in preview looks: Hello<br /><br /> How do you do When I save it and go back to editing, I can only see one <br /> tag, but when previewing it displays 2. This is only a problem in osCMS content, I do now have the same problem when editing product descriptions with FCKEditor. In product editing, the include is a bit more complicated: echo tep_draw_fckeditor('products_description[' . $languages[$i]['id'] . ']','600','300',(isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))); Suggestions?
  3. Thanks a lot, works now. Btw, you typoed... tep_html_entity_decode Though strangely in pdfinvoice.php I seem be having Line Feed problems (with v1.1). For example the same tep_html_entity_decode was commented for some reason into one line and so were some other functions, had to convert the file to some PC format and now works fine. Running Windows XP, tried with notepad and edit plus 2, but both were displaying Line Feeds incorrectly (but only for a few functions). Even with the strange Line Feeds under Windows, the file ran ok on the server (as it's probably an UNIX system) and it is displayed correctly under linux, but was a bit confusing for me when I searched for the function under Windows.
  4. Trying to design the pdf file to meet my store's needs, but ran into a problem. I have a character set in my currency, so that the price of the product would be displayed as 200 EUR instead of 200EUR. Now, the problem is that when e-mailing the order or creating a pdf of it, the is displayed (as it's not HTML) like this: 200 EUR. The way I got it fixed with emails was with the following code in checkout_process.php: $email_order = str_replace(" EUR"," EUR",$email_order); I guess something similar should be added to the fpdf.php file (or some other file), but I just don't seem to manage to fully understand the code... Any suggestions?
  5. I am quite sure I did all that right, I'll check it all later again. Has anyone ever run this contribution with the Register globals contribution?
  6. I tried some, but ran out of ideas... If anyone has found a fix for a similar problem, that generated thumbnails aren't shown, please let me know :)
  7. I changed the filename only to contain letters and numbers - it didn't help. I even tried setting $tn_server_cache = false; , but that didn't help also...
  8. Hi, I went through some of the thread but couldn't find a solution. I installed the contribution, but after that it won't show any thumbnails, I can only see the real images if I click on the broken image. It does generate the thumbnails in the images catalog though. This is what the source shows: <img src="product_thumb.php?img=images/MYimage.jpg&w=100&h=75" width="100" height="75" hspace="5" vspace="5" border="0".... And the thumbnail in the images catalog is MYimage.jpg.thumb_100x75.jpg I have register globals contribution installed. Any suggestions?