-
AuthorPosts
-
stellacadente Friend
stellacadente
- Join date:
- March 2012
- Posts:
- 115
- Downloads:
- 0
- Uploads:
- 6
- Thanked:
- 2 times in 1 posts
September 29, 2015 at 1:59 pm #693678Hi,
As you can see in the screenshot:
http://i.imgur.com/aOR1fOg.pngThere is a variable in the 1st line that does not fit, in fact there is the name of the web site’s owner.
Is there a way to put another variable instead, like the Job Seeker’s user name?
Tx in advance
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
October 1, 2015 at 4:52 am #694108Hi,
The first line is the subject of the application, it was save to DB so we can’t change for old appliaction.
This subject was created when the JobSeeker applied to the Job, and this subject could be changed by the JobSeeker before apply.The subject in the application you show is the default text added.
<blockquote>Is there a way to put another variable instead, like the Job Seeker’s user name?</blockquote>
In order to change the subject, go to file:componentscom_jajobboardviewsjajobstmplapplytojob.php
line 130
if ($this->application->subject=='') {
$this->application->subject = JText::_('APPLICATION_FOR').' '. $item->title. ' '. JText::_('VIA').' '. $jbconfig['emails']->get('sitname');
}Change above code to this.
if ($this->application->subject=='') {
$this->application->subject = JText::_('APPLICATION_FOR').' '. $item->title. ' '. JText::_('VIA').' '. $user->name;
}Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
October 1, 2015 at 4:52 am #750279Hi,
The first line is the subject of the application, it was save to DB so we can’t change for old appliaction.
This subject was created when the JobSeeker applied to the Job, and this subject could be changed by the JobSeeker before apply.The subject in the application you show is the default text added.
<blockquote>Is there a way to put another variable instead, like the Job Seeker’s user name?</blockquote>
In order to change the subject, go to file:componentscom_jajobboardviewsjajobstmplapplytojob.php
line 130
if ($this->application->subject=='') {
$this->application->subject = JText::_('APPLICATION_FOR').' '. $item->title. ' '. JText::_('VIA').' '. $jbconfig['emails']->get('sitname');
}Change above code to this.
if ($this->application->subject=='') {
$this->application->subject = JText::_('APPLICATION_FOR').' '. $item->title. ' '. JText::_('VIA').' '. $user->name;
} -
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by Luna Garden 8 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum