Welcome Guest, Not a member yet? Register   Sign In
URL helper - adding subject data to mailto()
#2

[eluser]Clooner[/eluser]
[quote author="aBoy" date="1213598978"]Hi.
Code:
$emailAtts = array('subject' => $this->lang->line('contacts_subject'),
        'message' => $this->lang->line('contacts_message'));

...

echo '<p><span class="formLabel">'.$this->lang->line('contacts_email').'</span>'.safe_mailto($d->contactEmail, $d->contactEmail, $emailAtts).'</p>';
[/quote]
I wouldn't use the second $d->contactEmail cause that is a title. So I would at least put something else there.

Nonetheless I think this should work. What is the html result?


Messages In This Thread
URL helper - adding subject data to mailto() - by El Forum - 06-15-2008, 07:49 PM
URL helper - adding subject data to mailto() - by El Forum - 06-16-2008, 12:53 AM
URL helper - adding subject data to mailto() - by El Forum - 06-16-2008, 01:12 AM
URL helper - adding subject data to mailto() - by El Forum - 06-16-2008, 01:23 AM
URL helper - adding subject data to mailto() - by El Forum - 06-16-2008, 02:05 AM
URL helper - adding subject data to mailto() - by El Forum - 06-16-2008, 05:12 PM
URL helper - adding subject data to mailto() - by El Forum - 10-17-2008, 09:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB