Page 1 of 1

Reservation module - email error message

Posted: Fri Mar 02, 2007 3:53 pm
by evismaniac
Hi folks.

I have recently installed the Reservation module which is very good! 

The only real issue with it is when the confirmation emails come through, the one to the person booking (my alternative email address at the mo for testing purposes) only receives the following text in the email:

string(67) "Smarty error: unable to read resource: "globalcontent:mail_answer_""

Can anyone shed any light onto this at all? 

Thanks a lot  ;D

Re: Reservation module - email error message

Posted: Sun Mar 04, 2007 8:43 pm
by newclear
Hello there,
nice to see that you are using this module

Let me explane you about this error:

At first this feature is about sending an email to the guest who is reserving.
My first release of this module supported the multilingual version. The new version is no more supporting it but i forgot about this feature.
The idea that comes from the old version was to send different email on different language but because the multilingual is no more supported and language variable is not assigned and also i forgot to fix this it gives an error.

So to resolve this you have to add global content block with name mail_answer_
and you can add the email template you want to send to the guest who is booking.

If you have any other question please feel free to ask.

Re: Reservation module - email error message

Posted: Mon Mar 12, 2007 4:13 pm
by evismaniac
Thank you for the response! :D

I will take a look at this when I get home tonight!

Regards!

Re: Reservation module - email error message

Posted: Tue Mar 13, 2007 8:16 am
by evismaniac
Could you give me a point in the right direction for this, maybe a small example of a current global content block, so that I can take a look and figure it out.  I am not too strong with php at the moment.

Thanks again, your help is much appreciated!

p.s also where can I edit the email template layout? :)

Re: Reservation module - email error message

Posted: Tue Mar 13, 2007 9:05 am
by newclear
Just add global content block from the admin panel

Pages->Global Content Block

The name of the global content block must be
mail_answer_

The content of this block will be sent to your customer's email after they make reservation through your site.
You can use it as a information, notice or whatever you want.

This has to be fixed and I will in the next release.

If you add this global content block and the error still occurs i have to make a better check of what I have done.

Re: Reservation module - email error message

Posted: Wed Mar 14, 2007 8:12 am
by evismaniac
ahhhhh so simple hehe!

That does work now! thank you!  ;D