Jump to content

ikerstges

Members
  • Content count

    13
  • Joined

  • Last visited

Profile Information

  • Real Name
    Igor Kerstges
  1. Got it working now.. Don't know what fixed my setup, but after a couple of changes it was working well. I have now a step-by-step manual to integrate TinyMCE in my osCommerce, so I will be able to implement this in my live webshop now.
  2. Got it working now.. Don't know what fixed my setup, but after a couple of changes it was working well. I have now a step-by-step manual, so I will be able to implement this in my live webshop now.
  3. I love this TinyMCE solution! I have installed TinyMCE editor only for my newsletters module in osCommerce (I use osCommerce 2.2 MS2). I'm able to create newsletters and send them in HTML formatted emails. Really cool! Unfortunately, there is a problem when I try to edit an existing newsletter. When I click the 'edit'-button in the newsletter manager, TinyMCE opens with an empty page. The URL looks like: http//my.site.com/admin/newsletters.php?page=1&nID=3&action=new Looking at admin\newsletters.php at codepart: <?php if ($action == 'new') { $form_action = 'insert'; $parameters = array('title' => '', 'content' => '', 'module' => ''); $nInfo = new objectInfo($parameters); if (isset($HTTP_GET_VARS['nID'])) { [b]$form_action = 'update';[/b] $nID = tep_db_prepare_input($HTTP_GET_VARS['nID']); $newsletter_query = tep_db_query("select title, content, module from " . TABLE_NEWSLETTERS . " where newsletters_id = '" . (int)$nID . "'"); I thought the parameter in the url should be: '&action=update', but when I enter URL: http//my.site.com/admin/newsletters.php?page=1&nID=3&action=update osCommerce responds with: Unfortunately, my php-skills are poor and I cannot find if (or how) I should make a correct update-URL, so the existing newsletter gets opened in the TinyMCE editor. Maybe somebody can help??
  4. Hi all, I have installed TinyMCE (I use osCommerce 2.2 MS2) according the directions in addon: 'HTML MAILS by Jordi' (http://addons.oscommerce.com/info/5506). This works well and now I have: There is a problem when I try to edit an existing newsletter. When I click the 'edit'-button in the newsletter manager, TinyMCE opens with an empty page. The URL looks like: http//my.site.com/admin/newsletters.php?page=1&nID=3&action=new Looking at admin\newsletters.php at codepart: <?php if ($action == 'new') { $form_action = 'insert'; $parameters = array('title' => '', 'content' => '', 'module' => ''); $nInfo = new objectInfo($parameters); if (isset($HTTP_GET_VARS['nID'])) { [b]$form_action = 'update';[/b] $nID = tep_db_prepare_input($HTTP_GET_VARS['nID']); $newsletter_query = tep_db_query("select title, content, module from " . TABLE_NEWSLETTERS . " where newsletters_id = '" . (int)$nID . "'"); I thought the parameter in the url should be: '&action=update', but when I enter URL: http//my.site.com/admin/newsletters.php?page=1&nID=3&action=update osCommerce responds with: Unfortunately, my php-skills are poor and I cannot find if (or how) I should make a correct update-URL, so the existing newsletter gets opened in the TinyMCE editor. Maybe somebody can help??
×