Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

osC Admin Integration with Impakt Extensions


calebic

Recommended Posts

Posted

Hello all,

 

I would like to be using the newsletter module, however I would like to beef it up with the Impakt KTML functionality to allow for more detailed newsletter formatting. KTML adds a formatting bar (much like Word) to the text field or text area. On a normal php page, I would create the text area, let's say "content" and then attach the KTML functionality via DreamWeaver. The only changes that are made to the page are:

 

1) making the text area a hidden field - i.e. <textarea name="content" ... > is changed to <input name="content" type="hidden" id="content" value=" ">

2) adding the following code to reference the KTML included function -

 

$KT_display = "Cut,Copy,Paste,Insert Image,Insert Table,Toggle Vis/Invis,Toggle WYSIWYG,Bold,Italic,Underline,Align Left,Align Center,Align Right,Align Justify,Background Color,Foreground Color,Undo,Redo,Bullet List,Numbered List,Indent,Outdent,HR,Font Type,Font Size,Insert Link,Clean Word,Heading List";

showActivex('content', 650, 350, false,$KT_display, "../ktmlliterf/", "", "../../../images/newsletters", "../../../images/newsletters",1, "", -1, "english", "yes", "no");

 

I tried adding this code to the newsletter.php include file, in the admin site, but can't seem to get it to work. Perhaps if I could make the field on the Newsletter page a hidden field, it would work perfectly? I'm not really sure how to start on that one.

 

Any thoughts on how I can modify the newsletter.php file to allow for this added functionality is GREATLY appreciated!!

 

You can see an example of KTML formating functionality by visiting http://38.99.67.80/admin/testtest.php

 

Thanks again!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...