Giorgi625 VIP
Total posts: 655
17 Apr 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?

Last Modified: 23 Sep 2018


Sergey
Total posts: 13,748
17 Apr 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 Sep 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 (This email address is being protected from spambots. You need JavaScript enabled to view it.
				document.getElementById('cloakdca0755404308e7f0abc672b8d07b552').innerHTML = '';
				var prefix = 'ma' + 'il' + 'to';
				var path = 'hr' + 'ef' + '=';
				var addydca0755404308e7f0abc672b8d07b552 = 'giorgibulia2e' + '@';
				addydca0755404308e7f0abc672b8d07b552 = addydca0755404308e7f0abc672b8d07b552 + 'gmail' + '.' + 'com';
				var addy_textdca0755404308e7f0abc672b8d07b552 = 'giorgibulia2e' + '@' + 'gmail' + '.' + 'com';document.getElementById('cloakdca0755404308e7f0abc672b8d07b552').innerHTML += ''+addy_textdca0755404308e7f0abc672b8d07b552+'';
		)</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 Sep 2018 00:40

( Following… )


Sergey
Total posts: 13,748
23 Sep 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.

Powered by Cobalt