HTML Tags in .ini files
Moderator: wendhausen
-
- I've been banned!
- Posts: 24
- Joined: Tue Jan 15, 2013 7:05 am
Re: HTML Tags in .ini files
thank you very much infograf768
now i undrestand your meaning.
now i undrestand your meaning.
-
- Joomla! Apprentice
- Posts: 18
- Joined: Mon Jul 21, 2008 4:50 pm
Re: HTML Tags in .ini files
have you ever got html tags working as I just ungraded to 2.5 and all my link embedded messages don't work any more. example of one is below.
Code: Select all
COM_KUNENA_LOGIN_FORUM="Only community members can participate in forum threads. You must be logged in to contribute. to get a FREE account just click on <a href="_QQ_"index.php?option=com_acctexp&task=subscribe"_QQ_"> Registration and Upgrades.</a>
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: HTML Tags in .ini files
Missing a double quote at the end of string:Richardkl wrote:have you ever got html tags working as I just ungraded to 2.5 and all my link embedded messages don't work any more. example of one is below.
Code: Select all
COM_KUNENA_LOGIN_FORUM="Only community members can participate in forum threads. You must be logged in to contribute. to get a FREE account just click on <a href="_QQ_"index.php?option=com_acctexp&task=subscribe"_QQ_"> Registration and Upgrades.</a>
Code: Select all
COM_KUNENA_LOGIN_FORUM="Only community members can participate in forum threads. You must be logged in to contribute. to get a FREE account just click on <a href="_QQ_"index.php?option=com_acctexp&task=subscribe"_QQ_"> Registration and Upgrades.</a>"
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 18
- Joined: Mon Jul 21, 2008 4:50 pm
Re: HTML Tags in .ini files
Thanks for your replay
The double quote was there, I missed it on the cut and paste.
Any other ideas.?
So you are saying that HTML tags are suppose to work in 2.5 ?
The double quote was there, I missed it on the cut and paste.
Any other ideas.?
So you are saying that HTML tags are suppose to work in 2.5 ?
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: HTML Tags in .ini files
They do.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 15
- Joined: Mon Sep 28, 2009 3:30 pm
Re: HTML Tags in .ini files
not work:
in email get:
Text,
Text "Site name" Text. TextTextText.
TextTextTextTextTextText:
<a href="http://www.domain.lt/index.php?option=c ... c">TEXT</a>
Text Text Text http://www.domain.com/ Text Text Text:
Text Text: Text
Code: Select all
COM_USERS_EMAIL_REGISTERED_WITH_ACTIVATION_BODY="Text %s,\n\nText Text Text %s. Text.\nText Text:\n <a href="_QQ_"%s"_QQ_">TEXT</a> \n\nText %s Text Text:\n\nText: %s\nText: %s"
Text,
Text "Site name" Text. TextTextText.
TextTextTextTextTextText:
<a href="http://www.domain.lt/index.php?option=c ... c">TEXT</a>
Text Text Text http://www.domain.com/ Text Text Text:
Text Text: Text
Last edited by Repepioras on Fri May 03, 2013 1:58 pm, edited 1 time in total.
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: HTML Tags in .ini files
Please write in English in the English forums
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 15
- Joined: Mon Sep 28, 2009 3:30 pm
Re: HTML Tags in .ini files
Text this is not matter english or not because question in english. In email i get all html code.
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: HTML Tags in .ini files
Now I understand your question.
Here is the original English string:
Which version of Joomla do you use? Which language pack?
Where did you get this pack?
Here is the original English string:
and the Latvian one (if you use Latvian):COM_USERS_EMAIL_REGISTERED_WITH_ACTIVATION_BODY="Hello %s,\n\nThank you for registering at %s. Your account is created and must be activated before you can use it.\nTo activate the account click on the following link or copy-paste it in your browser:\n%s \n\nAfter activation you may login to %s using the following username and password:\n\nUsername: %s\nPassword: %s"
It looks like the string you use is wrong.COM_USERS_EMAIL_REGISTERED_WITH_ACTIVATION_BODY="Labdien %s,\n\nPaldies, ka esat reģistrējies(usies) vietnē %s. Jūsu lietotāja konts ir izveidots, bet tas ir jāaktivizē pirms izmantošanas.\nLai veiktu šo darbību, aktivizējiet zemāk redzamo saiti, vai iekopējiet to pārlūkprogrammas adreses laukā:\n%s \n\nPēc aktivizācijas varēs pieslēgties vietnei %s ar sekojoša lietotāja vārda un paroles palīdzību:\n\nLietotāja vārds: %s\nParole: %s"
Which version of Joomla do you use? Which language pack?
Where did you get this pack?
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 15
- Joined: Mon Sep 28, 2009 3:30 pm
Re: HTML Tags in .ini files
I`m not from Latvia. I`m from Lithuania.
%s this string is long url i want use simple word link like <a href="_QQ_"%s"_QQ_">TEXT</a> but in email i get all html code with text not link
%s this string is long url i want use simple word link like <a href="_QQ_"%s"_QQ_">TEXT</a> but in email i get all html code with text not link
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: HTML Tags in .ini files
A mail like this does not use html tags. You can't add them in the string.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 15
- Joined: Mon Sep 28, 2009 3:30 pm
Re: HTML Tags in .ini files
Solution:
http://www.joomla123.lt/forumas/Joomla- ... ja-emailas
Sorry, but in lithuanian.
use google translate.
http://www.joomla123.lt/forumas/Joomla- ... ja-emailas
Sorry, but in lithuanian.
use google translate.
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: HTML Tags in .ini files
I can understand the code, although simply add true in registration.php should work without changing the library.
This is a hack though that will be overriden by next update, so beware!
Also, not sure this is safe.
This is a hack though that will be overriden by next update, so beware!
Also, not sure this is safe.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 34
- Joined: Tue Jul 08, 2014 12:54 pm
Re: HTML Tags in .ini files
Hi There,
I am also trying to have html tags to my in file but no luck.
The html code is displayed instead any ideas? I am posting the code i used.
COM_USERS_EMAIL_REGISTERED_WITH_ADMIN_ACTIVATION_BODY="Hello %s,\n\nThank you for registering at %s. Your account is created and must be verified before you can use it.\nTo verify the account click on the following link or copy-paste it in your browser:\n %s \n\nAfter verification an administrator will be notified to activate your account. You'll receive a confirmation when it's done.\nOnce that account has been activated you may login to %s using the following username and password:\n\nUsername: %s\nPassword: %s \n\nAll the best \n\nThe Business Gateway Team\n\n<br><img src="_QQ_"http://testsite.com/images/bottom_banner.jpg"_QQ_">"
I am also trying to have html tags to my in file but no luck.
The html code is displayed instead any ideas? I am posting the code i used.
COM_USERS_EMAIL_REGISTERED_WITH_ADMIN_ACTIVATION_BODY="Hello %s,\n\nThank you for registering at %s. Your account is created and must be verified before you can use it.\nTo verify the account click on the following link or copy-paste it in your browser:\n %s \n\nAfter verification an administrator will be notified to activate your account. You'll receive a confirmation when it's done.\nOnce that account has been activated you may login to %s using the following username and password:\n\nUsername: %s\nPassword: %s \n\nAll the best \n\nThe Business Gateway Team\n\n<br><img src="_QQ_"http://testsite.com/images/bottom_banner.jpg"_QQ_">"
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: HTML Tags in .ini files
This string is a mail message, not an ordinary joomla message or text. Using <br> and other html tags may not work
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 34
- Joined: Tue Jul 08, 2014 12:54 pm
Re: HTML Tags in .ini files
It is from the:
../language/en-GB/en-GB.com_user.ini
I can change the text that is send to the users but I can't find a way to add an image to the email
Does any one know a way that I can add an image to the emails that are send to the users?
../language/en-GB/en-GB.com_user.ini
I can change the text that is send to the users but I can't find a way to add an image to the email
Does any one know a way that I can add an image to the emails that are send to the users?
-
- Joomla! Apprentice
- Posts: 30
- Joined: Mon Jul 29, 2013 5:46 am
Re: HTML Tags in .ini files
@pcknights22
If you want to change the standard email users receive after registering themselves instead of the Administrator registering them, then edit the en-GB.com_user.ini file at:
language/en-GB/en-GB.com_user.ini
Look for the ini value for SEND_MSG and use your own.
If you want to change the standard email users receive after registering themselves instead of the Administrator registering them, then edit the en-GB.com_user.ini file at:
language/en-GB/en-GB.com_user.ini
Look for the ini value for SEND_MSG and use your own.
SEND_MSG=Hello %s,\n\nThank you for registering at %s.\n\nYou may now log in to %s using the
username and password you registered with.
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: HTML Tags in .ini files
@dorsa
please, if you do not understand a question, do not post.
Looks like you just want your signature url to display as much as possible...
please, if you do not understand a question, do not post.
Looks like you just want your signature url to display as much as possible...
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 34
- Joined: Tue Jul 08, 2014 12:54 pm
Re: HTML Tags in .ini files
I want below that specific message to display an image.
Is this possible?
Is this possible?
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: HTML Tags in .ini files
I do not think so, as I said above. Even If I change sendmail to permit html mail, it does not work.
From an extension it is different, but, as you see, it requires a specific code:
http://docs.joomla.org/Sending_email_from_extensions
From an extension it is different, but, as you see, it requires a specific code:
http://docs.joomla.org/Sending_email_from_extensions
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group