Home Support Documentation
Compatibility issues Print E-mail

 

Joomla Messaging System

AcyMailing uses the core Joomla messaging system to display messages on your website so if you don't see any message when you subscribe a user, that's probably because your Joomla template does not contain the tag to display Joomla messages: <jdoc:include type="message" />

Please edit the index.php file from your template and make sure the tag <jdoc:include type="message" /> is added to it.
If not, please add it just before the tag <jdoc:include type="component" />

This tag should already be present in all templates.

 

JCE

Since AcyMailing 1.5.0, the stylesheet you created on your Newsletter template will be loaded inside your editor so you will have the same result on your editor, on the preview and on the e-mail.

This system works natively in TinyMCE, FCK and JoomlaCKEditor but we could not make this system working without modifying JCE.

You can select an other editor than JCE on the AcyMailing configuration page but you can also apply this patch:

JCE 1.5.7.x

  • Edit the file "plugins/editors/jce.php".
  • Around line 213 you should see:
  • jce code

  • Then add this code just after the previous code:
    if(!empty($this->params)){
    $customtemplate = $this->params->get('custom_css_file');
    if(!empty($customtemplate)){
    $customtemplate = JURI::root(true).'/'.$customtemplate;
    $vars['content_css'] = $customtemplate;
    }
    }

Jce hack acy

  • You're done! Now the AcyMailing Newsletter CSS template will be automatically loaded in JCE when you edit your template or Newsletter.
    Of course, it won't interfere with your standard template file when you write Joomla content.

 

JCE 1.5.6.x

  • Edit the file "plugins/editors/jce.php".
  • Around line 165 you should see:

jce code

  • Then add this code just after the previous code:
    if(!empty($this->params)){
    $customtemplate = $this->params->get('custom_css_file');
    if(!empty($customtemplate)){
    $customtemplate = JURI::root(true).'/'.$customtemplate;
    $vars['content_css'] = $customtemplate;
    }
    }
  • Jce hack acy

  • You're done! Now the AcyMailing Newsletter CSS template will be automatically loaded in JCE when you edit your template or Newsletter.
    Of course, it won't interfere with your standard template file when you write Joomla content.

 

TinyMCE 3.2.4

With an old version of TinyMCE, the editor may not be loaded when you edit your Newsletter.

You can either change the editor you use via the AcyMailing configuration page (tab "interface") or update TinyMCE to the latest version (by updating Joomla for example).

 

Old compatibility issues (solved if you update to the latest version of AcyMailing)

Switch the template on the fly using the editor JCE

The default template loads properly but when you create a new Newsletter and click on the button Template, nothing changes if you select a template.

This bug might occur using the JCE Editor. The bug has already been reported to the JCE team, we hope they will fix it in the next version but you can fix it immediately on your own website :

Please edit the file Joomla/plugins/editors/jce.php.
Around line 307 you should see the code :


function onSetContent($editor, $html)
{
return "JContentEditor.setContent('".$editor."','".$html."');";
}



That you have to replace by :


function onSetContent($editor, $html)
{
return "JContentEditor.setContent('".$editor."',".$html.");";
}



(I removed the single quotes around $html)
And you're done, now the template can be changed on the fly.

 

Switch the template on the fly using the editor JoomlaFCK

The default template loads properly but when you create a new Newsletter and click on the button Template, nothing changes if you select a template.

This bug might occur using the JoomlaFCK Editor. The bug has already been reported to the JoomlaFCK team, we hope they will fix it in the next version but you can fix it immediately on your own website :

In the file Joomla/plugins/editors/fckeditor.class.php, on line 74 you should find the function :


function onSetContent( $editor, $html ) { 
return " oFCKeditor.InsertHtml = '" .  htmlentities($html) . "'; 
alert('".$html."');"; 
}



which should be replaced by :


function onSetContent( $editor, $html) { 
return " FCKeditorAPI.GetInstance('$editor').SetHTML( $html ); "; 
}


 

Add a tag in your Newsletter using the editor JCE

When clicking on the tag, nothing happens and the tag is not inserted in your JCE editor.

Please follow this fix from the JCE team and that will solve the problem:
http://www.joomlacontenteditor.net/support/known-issues/71-editor-plugin--mambot/238-154

Last Updated on Thursday, 19 August 2010 14:58