-
AuthorPosts
-
conforturis Friend
conforturis
- Join date:
- April 2010
- Posts:
- 256
- Downloads:
- 0
- Uploads:
- 58
- Thanks:
- 59
- Thanked:
- 7 times in 1 posts
April 10, 2014 at 4:03 pm #196633Hi,
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
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
April 11, 2014 at 7:04 am #530504The 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.phpReplace 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]1 user says Thank You to Thanh Nguyen Viet for this useful post
AuthorPostsViewing 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
edit job permission
Viewing 2 posts - 1 through 2 (of 2 total)