Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • conforturis Friend
    #196633

    Hi,
    User Featured Employer account can not edit job!!
    I have 3 employer subscription types: Employer standard, Featured employer (1 manth) and Featured employer (1 year).
    Featured employer (1 month) and Featured employer (1 year) can not edit her job I don’t not why. That notification “Access denied. You don’t have permission”. but these two subscriptions have all permissions except post standard job as below


    1. sc
    Thanh Nguyen Viet Friend
    #530504

    The problem occured as JA Jobboard uses standard post job view instead of featured post job view for feature job. To resolve this issue, please follow steps below:

    Open the file:
    components/com_jajobboard/views/jajobs/tmpl/jaview.php

    Replace this code block:
    [PHP]if ($item->is_hotjob) {
    $duration_standard_post = $jbconfig [‘posts’]->get(‘posts_show_days_elapsed’, 30);
    } else {
    $duration_standard_post = $jbconfig [‘posts’]->get(‘posts_display_days’, 30);
    }[/PHP]

    With:
    [PHP]if ($item->is_hotjob) {
    $duration_standard_post = $jbconfig [‘posts’]->get(‘posts_show_days_elapsed’, 30);
    $layout = ‘japremiumform’;
    } else {
    $duration_standard_post = $jbconfig [‘posts’]->get(‘posts_display_days’, 30);
    $layout = ‘jaform’;
    }[/PHP]

    Replace this code block:
    [PHP]<a class=”button” href=”<?php echo JURI::root().’index.php?option=’. JBCOMNAME .’&view=jajobs&layout=jaform&cid[]=’.$item->id. ‘&alias=’.$alias .’&Itemid=’.$this->Itemid; ?>”><?php echo JText::_(‘MODIFY’); ?></a>[/PHP]

    With:
    [PHP]<a class=”button” href=”<?php echo JURI::root().’index.php?option=’. JBCOMNAME .’&view=jajobs&layout=’.$layout.’&cid[]=’.$item->id. ‘&alias=’.$alias .’&Itemid=’.$this->Itemid; ?>”><?php echo JText::_(‘MODIFY’); ?></a>[/PHP]

    Find and remove this line:
    [PHP]<?php $layout = ‘jaform’; ?>[/PHP]

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Thanh Nguyen Viet 10 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum