Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CKEditor [wyswyg] - 7112


ronrrico

Recommended Posts

Hi Guys,

I just installed the latest ckeditor http://addons.oscommerce.com/info/7112

 

Nice,,,,Smilies and all.....

 

I applied it everywhere in admin,,,blog,news,email,newsletter,ect, ect.

 

Now, Im trying to apply it to the catalog side of my site, but Im having one issue..

 

[Example] I added editor to tell_a_friend.php.

Everything works great except, the email content is not delivered in HTML .

 

[Example using a smilie]

I type:

----------------------------------------

Today is a good day (smilie)

 

, but tomorrow will be better. (smilie)

----------------------------------------

 

 

The email will show:

----------------------------------------

_p_

 

Today is a good day _img alt="" height="20" src="http://youregiftbasket.com/ckeditor/plugins/smiley/images/wink_smile.gif" title="" width="20" /__/p_

_p_

 

, but tomorrow will be better. _img alt="" height="20" src="http://youregiftbasket.com/ckeditor/plugins/smiley/images/shades_smile.gif" title="" width="20" /__/p_

----------------------------------------

 

 

ANY ADVICE ??? on how to get ckeditor to work in catalog side ???

 

Thanks in advance

 

Ronnie

Link to comment
Share on other sites

Nevermind

:blush:

Edited by germ

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

 

 

1 Are you sure there are no security issues using this on the public side of your site?

 

2. Unless they have changed their terms, you must pay a licence to use that that way.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

1 Are you sure there are no security issues using this on the public side of your site?

 

2. Unless they have changed their terms, you must pay a licence to use that that way.

 

Hi Sam, Im not sure about the security issue, I have limited the options in the editor to keep it simple where no upload options are available. :huh: . I will look into that...

 

Regarding the licence fee, yes I'm awear of it... try it before you buy it. :D

 

Ronnie

Link to comment
Share on other sites

Nevermind

:blush:

 

If I suggest that you edit any file(s) make a backup first - I'm not perfect and neither are you.

I only post what the voices in my head tell me to.

$sample_it = ( ($this->has_Flavor() ) ? $mmm->mmm('good') : $want->do_Not() );

 

Yeah, I hear thouse voices too! Now you made me hungry! :huh:

Edited by ronrrico
Link to comment
Share on other sites

The CKEditor is open source ( GPL, LGPL and MPL open source licenses) and i think it can be included in oscommerce installations without violating the terms. The CKFinder is different.

 

CKEditor is distributed under the GPL, LGPL and MPL open source licenses. This triple copyleft licensing model avoids incompatibility with other open source licenses. These Open Source licenses are specially indicated for:

 

Integrating CKEditor into Open Source software;

Personal and educational use of CKEditor;

Integrating CKEditor in commercial software, taking care of satisfying the Open Source licenses terms, while not able or interested on supporting CKEditor and its development.

 

But if i missunderstand the terms here, please correct me.

 

 

There was also created one support threadt for this contribution before.

 

http://www.oscommerce.com/forums/topic/353005-contribution-ckeditor-wyswyg/

 

If any MODS can delete, move or combind the 2 treads it will be fine. No need for 2 treads for this.

Link to comment
Share on other sites

  • 2 months later...

You have to compare the code and include the class=ckeditor to the tep_draw_textarea string fot thoose addons.

 

 

I tried that but I guess I am not doing it right

for examples in newsletter.php :

 

<?php echo TEXT_NEWSLETTER_CONTENT; ?></td>
           <td class="main"><?php echo tep_draw_textarea_field('content', 'soft', '100%', '20', $nInfo->content,'class="ckeditor"'); ?>

 

nothing changed

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

Hi I tried to use the autoinstaller this morning, and got this message on all admin pages:

 

Fatal error: Cannot redeclare tep_draw_fckeditor() (previously declared in /home/hasaudio/public_html/admin/includes/functions/html_output.php:275) in /home/hasaudio/public_html/admin/includes/functions/html_output.php on line 370

 

Can someone help?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...