Not signed in (Sign In)
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorblackshtef
    • CommentTimeFeb 26th 2008
     
    Hi y'all!

    This is the situation - I want to use JobberBase for one of my projects, but the thing is that I really don't need the location list.
    Is there a way of removing it completley from the system? Or should I just remove/hide it from the job form?
    And also - which files should I edit to remove it?

    The same question goes for fulltime/part-time/freelance part - how to edit these or even better - remove it?

    Thank you very much!
    • CommentAuthorblackshtef
    • CommentTimeFeb 29th 2008
     
    I got no answer in a few days, so I'm bumping the topic, if it's okay...
    Sorry if it's not ;)
    • CommentAuthorfilip
    • CommentTimeMar 1st 2008
     

    Hola :),

    You can do that, no problem:
    1. _templates/publish_write.tpl — hide the fields or remove them, as well as the javascript validation in the bottom.
    2 page_write.php, find where you capture the POST request (search for “escape($_POST)”), take out the location & job type validation and simply initialize those variables with 0 or something. Or, if you want to take them out completely, then you need to mess around in _includes/class.Job.php, edit and create methods (remove the $city_id and $type_id params from the function param list and from the queries).