Osclass forums
Support forums => Plugins => Jobs attributes => Topic started by: ianhaney 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
-
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);
?>
-
Sorry I have now got the upload CV showing on the page now, sorry
-
can you share what you do to get it to work?