Page 1 of 1
How coluld I use html tags in language files and NMS module ?
Posted: Tue Sep 11, 2007 7:32 pm
by amin30b
I want to use some html tags like or in language file , but they don`t compile as a html construction in pages and pages print those tags beside of other words .
Also in some modules like NMS (Subscription mail) when I edit template with html tags in mail services those tags don`t compile with browsers .
How could I use those tags ?
Re: How coluld I use html tags in language files ?
Posted: Tue Sep 11, 2007 11:32 pm
by amin30b
This is an example :
$lang['prompt_replyto'] = 'Reply To';
it cause in pages I would see Reply To instead of
Reply To .
Please guide me

Re: How coluld I use html tags in language files ?
Posted: Wed Sep 12, 2007 8:53 am
by amin30b
Oh , let me know if I couldn`t

Re: How coluld I use html tags in language files ?
Posted: Wed Sep 12, 2007 1:11 pm
by Pierre M.
I don't know. Have you tried to encode : > etc ?
Pierre M.
Now I need it just in Newsletter Made Simple module
Posted: Mon Sep 17, 2007 7:30 pm
by amin30b
Using html tags in language files is not very important for me , but I need it with
Newsletter Made Simple module .
Because my native language is right to left and I should use Html tags for showing my mail content with true direction .
Of course this problem only appears with some messages that will be send to users email and I don`t have this problem with messages that appear in my website pages through
Newsletter Made Simple module .
Please learn me a trick for it

thanks
Re: How coluld I use html tags in language files and NMS module ?
Posted: Fri Sep 21, 2007 4:42 pm
by amin30b
As I found it is impossible for me to have a messages html template because nobody offers a posible solution .
Am I right ?

Re: How coluld I use html tags in language files ?
Posted: Fri Sep 21, 2007 5:14 pm
by alby
amin30b wrote:
Oh , let me know if I couldn`t
Why you don't edit templates, for example compose.tpl:
{if isset($message)}{$message}{/if}
{$startform}
{$messageid}
{$isediting}
{$prompt_from}:
{$from}
{$prompt_replyto}:
{$reply_to}
.....................
with:
{if isset($message)}{$message}{/if}
{$startform}
{$messageid}
{$isediting}
THIS IS FROM:
{$from}
THIS IS REPLY:
{$reply_to}
......................
Alby
Re: How coluld I use html tags in language files and NMS module ?
Posted: Fri Sep 21, 2007 8:37 pm
by amin30b
Thanks Alby , I`ll do that and report result .

Re: How coluld I use html tags in language files and NMS module ?
Posted: Mon Sep 24, 2007 8:41 pm
by amin30b
I`m sorry

I can`t find related content tpl file ,
For example , which tpl file is related to below message ?
Hello {$username}.
Someone, hopefully you, has subscribed your email address to the following newsletters:
{foreach from=$lists item=list}
* {$list}
{/foreach}
If this is correct, please click the following link to confirm your subscription or copy and paste the link into your web browser. Without this confirmation, you will not receive any newsletters. {$confirmurl} If you did not sign up for this newsletter you do not need to do anything, simply delete this message. Thank you!
Re: How coluld I use html tags in language files and NMS module ?
Posted: Mon Sep 24, 2007 9:14 pm
by alby
amin30b wrote:
I`m sorry

I can`t find related content tpl file ,
prompt_replyto is in template/compose.tpl
amin30b wrote:
For example , which tpl file is related to below message ?
Hello {$username}.
Someone, hopefully you, has subscribed your email address to the following newsletters:
{foreach from=$lists item=list}
* {$list}
{/foreach}
If this is correct, please click the following link to confirm your subscription or copy and paste the link into your web browser. Without this confirmation, you will not receive any newsletters. {$confirmurl} If you did not sign up for this newsletter you do not need to do anything, simply delete this message. Thank you!
NMS.module.php #33
Alby