Forums

Email Template - Show title of page submitted on

cconant 24 Jul, 2013
Hi all,

I'm sure this is simple and I am just overlooking the function -

I am creating a site where people can apply for specific jobs. The form will be the same for each. However, I need to know which Joomla Article the user is submitting the form from. Any help?

Thank you,
Chris
cconant 24 Jul, 2013
Figured it out, sorry.

<?php
$doc =& JFactory::getDocument();
?>
<input type='hidden' name='title' id='title' value='<?php echo $doc->getTitle(); ?>' />
This topic is locked and no more replies can be posted.