Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • Thanh Nguyen Viet Friend
    #540131

    Hi,

    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.php

    Find 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 Friend
    #540166

    Thanks, 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 Friend
    #541874

    Any answer on this

    Thanh Nguyen Viet Friend
    #542364

    Hello,

    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-356

    timmieboy Friend
    #545437

    Hi,

    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 Friend
    #546889

    Please can I have some answers, it is not working!!!!!!

    See also this thread for SEO problems: http://www.joomlart.com/forums/showt…-category-page

Viewing 6 posts - 16 through 21 (of 21 total)

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