Is it possible to get site URL on HTML Editor in joomla 2.5. I need to give an image URL for email body.
Code
<img src="<?php JURI::base()?>/templates/dayo/images/sign.png" width="200" />
Thanks in advance
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think you can use the string replace function in email body.
Inside the editor you have to place a code
[image].On Getting the Post values you have to replace the string[image]to the image url.Example code for string replace: