Topic: modules for payment
there is somene who could develope modules for payment for jobberbase?
Welcome to jobberBase Developer Community!
You are not logged in. Please login or register.
We've just added a new category for forums dedicated to local communities.
If you're interested in starting a community in your country or even city, please write us at hello@jobberbase.com and we'll make it happen.
We're also looking for moderators on each local community -- so email us :).
Pages: 1
there is somene who could develope modules for payment for jobberbase?
What kind of payment gateway do you want to use? paypal? we can help if you need paypal, we've implemented paypal for jobberbase many times before, just drop us an email.
No, I?m sorry, for now I just need to know how to add checkbox obligatory to check into post page: http://www.lavorohotel.net/post/
here link with some documentation about it: http://www.jobberbase.com/forum/topic54 atory.html
Here are the changes you have to do in order to make those checkboxes mandatory:
in _templates/page_write.tpl on line 164 add this (you have the code already, but I don't know if it's quite the same):
<fieldset>
<legend>Privacy</legend>
<table border="0" cellspacing="2" cellpadding="2">
<tr>
<td class="publish-label">privacy:</td>
<td>
<input {if $errors.poster_check}class="error"{/if} type="checkbox" name="poster_check" id="poster_check" {if $smarty.post.poster_check neq '' || $job.id || $smarty.session.later_edit}checked{/if} value="1" />
<span class="validation-error">{if $errors.poster_check}<img src="{$BASE_URL}img/icon-delete.png" alt="" />{/if}
</td>
<td>inserisci il link qui</td>
</tr>
<tr>
<td class="publish-label">privacy_1:</td>
<td>
<input {if $errors.poster_check1}class="error"{/if} type="checkbox" name="poster_check1" id="poster_check1" {if $smarty.post.poster_check1 || $job.id || $smarty.session.later_edit}checked{/if} value="2" />
<span class="validation-error">{if $errors.poster_check1}<img src="{$BASE_URL}img/icon-delete.png" alt="" />{/if}
</td>
<td>inserisci il link qui_1</td>
</tr>
</table>
</fieldset>
In the same file, below this, you must have:
if (BrowserDetect.browser != "Explorer")
{
$("#publish_form").validate({
rules: {
company: { required: true },
title: { required: true },
description: { required: true },
poster_email: { required: true },
poster_check: { required: true },
poster_check1: { required: true }
},
messages: {
company: ' <img src="{/literal}{$BASE_URL}{literal}img/icon-delete.png" alt="" />',
title: ' <img src="{/literal}{$BASE_URL}{literal}img/icon-delete.png" alt="" />',
location: ' <img src="{/literal}{$BASE_URL}{literal}img/icon-delete.png" alt="" />',
description: ' <img src="{/literal}{$BASE_URL}{literal}img/icon-delete.png" alt="" />',
poster_email: ' <img src="{/literal}{$BASE_URL}{literal}img/icon-delete.png" alt="" />',
poster_check: ' <img src="{/literal}{$BASE_URL}{literal}img/icon-delete.png" alt="" />',
poster_check1: ' <img src="{/literal}{$BASE_URL}{literal}img/icon-delete.png" alt="" />'
}
});
}
After that you must open page_write.php and on lines 76 and then 145 add:
if (!isset($poster_check))
{
$errors['poster_check'] = $translations['jobs']['poster_check'];
}
if (!isset($poster_check1))
{
$errors['poster_check1'] = $translations['jobs']['poster_check1'];
}
In translations.ini, somewhere after line 31 add:
poster_check = "Error"
poster_check1 = "Error"
Good luck!
What needs to happen to add this to the job application section . . . so, when someone is applying to te job?
Thanks!
Posts [ 6 ]
Pages: 1
Powered by FluxBB
[ Generated in 0.028 seconds, 6 queries executed ]