CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Message templates not loading - what's wrong? [SOLVED]
Pages: [1]

Author Topic: Message templates not loading - what's wrong? [SOLVED]  (Read 1407 times)

Freya von Moltke-Foundation

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 1
  • CiviCRM version: civiCRM 4.7.19
  • CMS version: Wordpress 4.8
  • MySQL version: 5.1.73
  • PHP version: 5.6.30
Message templates not loading - what's wrong? [SOLVED]
August 08, 2011, 08:13:51 am
Hey everybody, I am currently configuring the CiviMail functions for our (that is the freya von Moltke Foundation) CRM-platform. I set up a number of test message templates for Emails and for letters to be printed out, using the tokens provided by CiviCRM. The problem I have now is this:
when I want to send an email to a contact (or a number of contacts) I open the Contact -> New Email screen and then chose a certain template i created that does already include tokens and a test-message text etc. What should happen after i selected a template is that the content (that is the text content with the tokens etc) should load into the text content field. (I didnt create Emailtemlates using HTML, only text, so its normal that nothing is loaded into the html content field). However, this does not happen, meaning that i cannot use the templates i created in the way they are supposd to be used (according to the civicrm handbook page 169!) and edit the text content field.
Actually, the text content field is not even showing, its not even unfolded and even if i click on it, it doesnt unfold. Same for the attachment field.
This is a big problem for me sabotaging the whole email (and postal mail) functionality of civicrm, so I would be very very thankful if somebody could help me and give some advice.

Thanks alot,
greets from Berlin, Germany,
Anja in the name of the Freya von Moltke-foundation
« Last Edit: August 11, 2011, 03:41:47 am by Freya von Moltke-Foundation »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Message templates not loading - what's wrong?
August 08, 2011, 10:54:48 am

hey anja from berlin :)

can you please try to reproduce the same issue on our demo server: http://d7.demo.civicrm.org

That would help us figure out if its a bug or specific to your install

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Freya von Moltke-Foundation

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 1
  • CiviCRM version: civiCRM 4.7.19
  • CMS version: Wordpress 4.8
  • MySQL version: 5.1.73
  • PHP version: 5.6.30
Re: Message templates not loading - what's wrong?
August 09, 2011, 01:08:12 am
Hey Lobo,
so i just tried using a template for Emails in the demo version, which indeed worked as described in the CiviCRM manual. The template text loaded into the text field after i chose the template i defined before, i could upload attachments and the insert tokens function workes as well which it didnt in our install when writing an email (it did when creating a template somehow). Thus the problem i described here with the templates appears only to be specific for our install. I by the way noticed something else which is different in our version compared to the demo version: in the latter, when you open the HTML format field, a tool bar appears at the top where you can chose bold, italic writing, smileys etc. This bar is NOT appearing anywhere in our installed CiviCRM version.
I still dont know why all these things are not working for us here. We use a different civicrm version than the demo, Drupal 7 but CiviCRM 4.0.5. and not 4.0. which is the demo version i think. Maybe the occurence of the bug has to do something with the newer version, i dont know. Apparently I am the first one posting a problem like this, so it could be specific to our installation or other people using CiviCRM 4.0.5. having the same problem didnt bother to ask yet.
Unfortunately i dont recall if the message templates worked and loaded in the older version we used, as we only started trying out the mailing functions last week or so and i think we already used 4.0.5 then.

So does anyone have an idea now what might be the problem? Maybe its just some configuration thing, i dont have an idea so i hope somebody else does...  :-\

all the best from rainy Berlin,
Anja

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Message templates not loading - what's wrong?
August 10, 2011, 09:02:04 am

hey anja:

1. the demo is running the latest version (a bit later than 4.0.5, directly from the repository!)

2. seems like it is due to some javascript issues and files not being loaded / version issues. Can you use firebug and see what errors are being thrown (and why)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Freya von Moltke-Foundation

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 1
  • CiviCRM version: civiCRM 4.7.19
  • CMS version: Wordpress 4.8
  • MySQL version: 5.1.73
  • PHP version: 5.6.30
Re: Message templates not loading - what's wrong?
August 11, 2011, 03:16:06 am
Hi,
so this is what firebug found as mistakes on the new email page on civicrm:

$.datepicker is undefined
[Bei diesem Fehler anhalten] $.datepicker.regional['de'] = {
jquery...?lpgsej (Zeile 4)
CKEDITOR is not defined
[Bei diesem Fehler anhalten] if ( CKEDITOR.instances['html_message'] ) {
add?at...ndalone (Zeile 862)
CKEDITOR is not defined
[Bei diesem Fehler anhalten] oEditor = CKEDITOR.instances[html_message];
add?at...ndalone (Zeile 1136)

Is that helpful in any way? I never used firebug before (in fact, i didnt know about it) but i hope that's what you meant.
Thanks alot already!
Anja

Freya von Moltke-Foundation

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 1
  • CiviCRM version: civiCRM 4.7.19
  • CMS version: Wordpress 4.8
  • MySQL version: 5.1.73
  • PHP version: 5.6.30
Re: Message templates not loading - what's wrong? [SOLVED]
August 11, 2011, 03:55:41 am
I'm lifting this from user to a more admin-level  ;)

The posted Firebug-log doesn't show the "right" error. It was a problem with the Resource-URL path. One directory was missing in the path and because that some (most?, all?) javascript didn't load.

After correcting this, loading of templates works fine.

Thanks for suggesting Firebug. I've been using it on this issue already but before today I didn't recognize the wrong path of the script (despite the proud words in the beginning of this post  :-X).

Tom

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Message templates not loading - what's wrong? [SOLVED]

This forum was archived on 2017-11-26.