Hello Roman,
Thank you for reaching out regarding your query about adding a subject to the email link in the Helix Ultimate template. Unfortunately, the functionality to set a subject directly through the template's settings is not available. However, you can achieve this by making a small modification to the template's code.
Here's how you can update the code to include a subject in the email link:
-
Navigate to the file: JRoot/templates/shaper_helixultimate/features/contact.php
-
Locate the following code snippet:
if($this->params->get('contact_email'))
{
$output .= '<li class="sp-contact-email"><span class="far fa-envelope" aria-hidden="true"></span> <a href="mailto:'. $this->params->get('contact_email') .'">' . $this->params->get('contact_email') . '</a></li>';
}
-
Replace it with:
if($this->params->get('contact_email'))
{
$output .= '<li class="sp-contact-email"><span class="far fa-envelope" aria-hidden="true"></span> <a href="mailto:'. $this->params->get('contact_email') .'?subject=Your%20Subject%20Here">' . $this->params->get('contact_email') . '</a></li>';
}
-
Replace Your%20Subject%20Here with your desired email subject. (Use %20 to represent spaces.)
Please note that if the template is updated in the future, this change will be overwritten.
If you need further assistance or clarification, feel free to reach out.
Best regards