Giorgi625 VIP
Total posts: 655
17 Апр 2018 10:51

I have catalogue and need to use email field for users whoo need to ask questions about item they are viewing.

For example I have item with title "Product1" which has some fields and also email field with record author email.

When Visitor sends message via that email field I need to add to send also details like title and specific field values of record from which page this email was sent, so recipient can easily understand for which record visitor has sent question.

Is it easily doable or needs custom edits of email field files?

Последние изменения: 23 Сен 2018


Sergey
Total posts: 13,748
17 Апр 2018 15:00

I think it is possible if you do not allow user to enter anything just click куйнуые button, enter email and name if logged off and send. And email body you add yourself. You can use placeholders there.


Giorgi625 VIP
Total posts: 655
17 Сен 2018 15:01

You are right it includes item full view url and page title but email looks like this

<table width="100%" cellpadding="2" cellspacing="2">
    <tr>
        <td>Page URL</td>
        <td><a target="blank" href="/ http://tarificacion.com/en/culatas/item/290-908132k ">Culata</a></td>
    </tr>
    <tr>
        <td>Page Title</td>
        <td>908132K</td>
    </tr>
    <tr>
        <td>Mail from</td>
        <td>Giorgi (Этот адрес электронной почты защищен от спам-ботов. У вас должен быть включен JavaScript для просмотра.
				document.getElementById('cloake79958de648a47efd302259fd4be9e88').innerHTML = '';
				var prefix = 'ma' + 'il' + 'to';
				var path = 'hr' + 'ef' + '=';
				var addye79958de648a47efd302259fd4be9e88 = 'giorgibulia2e' + '@';
				addye79958de648a47efd302259fd4be9e88 = addye79958de648a47efd302259fd4be9e88 + 'gmail' + '.' + 'com';
				var addy_texte79958de648a47efd302259fd4be9e88 = 'giorgibulia2e' + '@' + 'gmail' + '.' + 'com';document.getElementById('cloake79958de648a47efd302259fd4be9e88').innerHTML += ''+addy_texte79958de648a47efd302259fd4be9e88+'';
		)</td>
    </tr>
    <tr>
        <td>Message</td>
        <td>test</td>
    </tr>
    </table>

Why it displays html tags in email? and how to give it a good look?

Same problem is when people try to connect with me from mintjoomla on a depot about my custom templates.


pepperstreet VIP
Total posts: 3,837
19 Сен 2018 00:40

( Following… )


Sergey
Total posts: 13,748
23 Сен 2018 11:10

There is plugin in Joomla that convert all emails to this mьуыыюhow and why I cannot tell. I just make it the way this feature is supported.

Работает на Cobalt