PDA

View Full Version : Problem in E-mail Templates under Admin Panel



PGGO
May 6, 2012, 04:15 AM
The {site_name} displays Home page title instead of the site name in the e-mail templates.
When users receive a confirmation emails, then this error show up.

Please refer to attachment.

Mike
May 7, 2012, 08:09 AM
Hi,

Yes we changed it to work with Home page title in current version.
If it's not acceptable for you - you can change it in code or ask our team to make this small change:

open includes/classes/rlMail.class.php

find function replaceVariables and make following change in the function



$tpl_vars = array(
'{site_name}' => $lang['pages+title+home'],


change to



$tpl_vars = array(
'{site_name}' => $lang['new_site_name'],


then login to the admin panel and through Languages manager add phrase with key 'new_site_name' and title you want to use as phrase text

PGGO
May 7, 2012, 10:09 PM
Thank you for info.
I'm not sure about the reason why you changed that to page title; from my point of view, it not user friendly.

PGGO
May 8, 2012, 08:18 AM
I notice another problem in e-mail templates, as mentioned below:

Username does not show up in some e-mail templates.

I receive a confirmation e-mail regarding my listing editing.
The problem is that username does not show up in required field.

Please refer to snapshot in attachment, where I include a copy of e-mail that I received.
The e-mail template Key is “edit_listing_pending”

John
July 25, 2012, 11:37 AM
Hello PGGO,
We changed the {name} variable to {username} in email templates and source code replacement conditions
of Flynax 4.1 version. Now it should works properly, we will test it and I share results in this thread.

John