Advertisement:

Author Topic: jobs attributes plugin upload cv issue  (Read 1902 times)

ianhaney

  • Full Member
  • ***
  • Posts: 197
jobs attributes plugin upload cv issue
« on: April 09, 2016, 05:34:49 pm »
Hi

I am just installed the jobs attributes plugin into my osclass website and added a job from my listing but can't see anywhere users to upload their CV to apply for the job and also is it possible to create a link on the website so users can browse all jobs and search for jobs

I am using OsclassWizards 2.0.4 by OsclassWizards theme

Thank you in advance

In the mean time I am going to email the developer who made the theme and ask them about it

ianhaney

  • Full Member
  • ***
  • Posts: 197
Re: jobs attributes plugin upload cv issue
« Reply #1 on: April 09, 2016, 05:41:34 pm »
I tried adding the following to the osclass wizards theme functions.php but did not work

<?php
function cust_move_jobs_attributes() { ?>

    <script type="text/javascript">
        $("#plugin-hook").change(function(){
   
            var divJobAttributes = $("div.jobs-attributes");
   
            $("<div></div>").attr('id', 'moved_jobs_attributes').css('padding', '10px 0 20px').insertBefore("div.location");
            $("#moved_jobs_attributes").append(divJobAttributes.prev("h2")).append(divJobAttributes);
        });
    </script>

<?php }

$section = Rewrite::newInstance()->get_section();
if ($section == 'item_add' || $section == 'item_edit') osc_add_hook('footer', 'cust_move_jobs_attributes');

function cust_trigger_plugin_hook_jobs_attributes() { ?>

<script type="text/javascript">
    $("#moved_jobs_attributes").remove();
    $("#plugin-hook").change();
</script>

<?php }

osc_add_hook('item_form', 'cust_trigger_plugin_hook_jobs_attributes', 1);
osc_add_hook('item_edit', 'cust_trigger_plugin_hook_jobs_attributes', 1);
?>

ianhaney

  • Full Member
  • ***
  • Posts: 197
Re: jobs attributes plugin upload cv issue
« Reply #2 on: April 13, 2016, 03:09:32 pm »
Sorry I have now got the upload CV showing on the page now, sorry

ysalim

  • Newbie
  • *
  • Posts: 7
Re: jobs attributes plugin upload cv issue
« Reply #3 on: June 28, 2016, 01:40:58 pm »
can you share what you do to get it to work?