modify mailto form on Joomla 3.x

27 views
Skip to first unread message

Francisco Alfaro Barrantes

unread,
Jun 9, 2016, 3:30:07 AM6/9/16
to Joomla! General Development
So I have been able to successfully modify the mail to form on Joomla 3.x a little, what I want to do is for my users to got t the mail option (in the articles) and just put their mail address and click send

I was able to hid and put some default values on the sender and from

<div class="formelm">
<!--<label for="sender_field">
<?php echo JText::_('COM_MAILTO_SENDER'); ?></label>-->
<input type="hidden" id="sender_field" name="sender" class="inputbox" value="<?php echo JText::_('COM_MAILTO_SENDER_DEFAULT'); ?>" size="25" />
<?php echo $this->escape($data->sender)?>
</div>
<div class="formelm">
<!--<label for="from_field">
<?php echo JText::_('COM_MAILTO_YOUR_EMAIL'); ?></label>-->
<input type="hidden" id="from_field" name="from" class="inputbox" value="<?php echo JText::_('COM_MAILTO_FROM_DEFAULT'); ?>" size="25" />
<?php echo $this->escape($data->from)?>

the next step is to be able to put the article title on the subject automatically

and I'm hoping someone can help me.

thanks in advanced
Reply all
Reply to author
Forward
0 new messages