-
AuthorPosts
-
Thanh Nguyen Viet Friend
Thanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
June 25, 2014 at 8:49 am #540131Hi,
In current version of page title and meta data function setting, it only uses meta description and meta keyword data defined in Joomla configuration. So in Jobboard setting, if you configure to use site description {SITE_DESCRIPTION} for description field, but do not define description in Joomla configuration page, then the description tag will not display.
To resolve this issue, please open the file:
components/com_jajobboard/helper/jafunctions.class.phpFind and replace function replaceContentDocument with following one:
[PHP]function replaceContentDocument($define, $jobs) {
$config = new JConfig();
$define = JText::_($define);$app = JFactory::getApplication();
$menu = $app->getMenu();
$activeMenu = $menu->getActive();
if(is_object($activeMenu)) {
$params = $activeMenu->params;
$description = $params->get(‘menu-meta_description’, $config->MetaDesc);
$keywords = $params->get(‘menu-meta_keywords’, $config->MetaKeys);
} else {
$description = $config->MetaDesc;
$keywords = $config->MetaKeys;
}$define = str_replace(“{JOB_TITLE}”, JText::_($jobs->title), $define);
$define = str_replace(“{PROFILE_TITLE}”, JText::_($jobs->title), $define);
$define = str_replace(“{RESUME_TITLE}”, JText::_($jobs->title), $define);
$define = str_replace(“{JOB_DESCRIPTION}”, substr(strip_tags($jobs->job_detail), 0, 155), $define);
$define = str_replace(“{SITE_TITLE}”, JText::_($config->sitename), $define);
$define = str_replace(“{SITE_DESCRIPTION}”, $description, $define);
$define = str_replace(“{SITE_KEYWORDS}”, $keywords, $define);return $define;
}[/PHP]This new function is updated to check and get description from setting of active menu item, before getting this data in Joomla configure.
So if you configure description field in Jobboard as {JOB_DESCRIPTION}, please ensure that you update description data in menu setting or Joomla global configuration page.
<blockquote>and the keywords are showing at content field</blockquote>
<blockquote><meta name=”keywords” content=”vakantiewerk, buitenland, bijbanen, stages, toerisme, recreatie, sport, evenementen, seizoenwerk, seizoenswerk” /></blockquote>This is correct format of meta data tag, you can check in another site for reference.
timmieboy Friendtimmieboy
- Join date:
- January 2013
- Posts:
- 344
- Downloads:
- 0
- Uploads:
- 59
- Thanks:
- 9
- Thanked:
- 5 times in 1 posts
June 25, 2014 at 2:19 pm #540166Thanks, In my global joomla configuration the description is filled in!!! But not showing with the tag {SITE_DESCRIPTION}. The keyword tag is working fine. Because I make multilanguage description in language file, I use: JA_JOBBOARD_REGISTER_DESCRIPTION tag.
I updated the code but still no description! Good to know, description is shown at the job pages and Employer Jobs page but not with job search, job list, employer profile, etc.
This is what I see in the source:
<meta http-equiv=”content-type” content=”text/html; charset=utf-8″ />
<meta name=”keywords” content=”vakantiewerk, buitenland, bijbanen, stages, toerisme, recreatie, sport, evenementen, seizoenwerk, seizoenswerk” />
<title>Overzicht: Vakantiewerk, Bijbanen en Stages</title>timmieboy Friendtimmieboy
- Join date:
- January 2013
- Posts:
- 344
- Downloads:
- 0
- Uploads:
- 59
- Thanks:
- 9
- Thanked:
- 5 times in 1 posts
July 10, 2014 at 2:39 pm #541874Any answer on this
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
July 15, 2014 at 5:04 am #542364Hello,
I’m sorry about late respone.
I have created issue on our issue tracker system and reported to dev team.
We will fix this issue and release it in upcoming versions of JA Jobboard.
You can check status of this issue here
http://pm.joomlart.com/browse/JAJBJ25-356timmieboy Friendtimmieboy
- Join date:
- January 2013
- Posts:
- 344
- Downloads:
- 0
- Uploads:
- 59
- Thanks:
- 9
- Thanked:
- 5 times in 1 posts
August 11, 2014 at 9:45 am #545437Hi,
Any luck with this, as you can understand SEO is very important for a website these days.
See also this thread for SEO problems: http://www.joomlart.com/forums/topic/meta-description-search-category-page/
Thanks
timmieboy Friendtimmieboy
- Join date:
- January 2013
- Posts:
- 344
- Downloads:
- 0
- Uploads:
- 59
- Thanks:
- 9
- Thanked:
- 5 times in 1 posts
August 21, 2014 at 9:05 pm #546889Please can I have some answers, it is not working!!!!!!
See also this thread for SEO problems: http://www.joomlart.com/forums/showt…-category-page
-
AuthorPosts
This topic contains 21 replies, has 3 voices, and was last updated by timmieboy 10 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum