Automóvel

Este plugin oferece gestão de veículos para clubes automóveis, permitindo-lhe gerir :

  • veículos (proprietário, várias informações, foto, etc.),

  • vehicle history modification (owner, color, …),

  • brands,

  • models,

  • transmission types,

  • body types,

  • colors,

  • finitions,

  • states.

This plugin has been initially developed in collaboration with Anatole from Club 404, and François from club Fiat 500. A big thanks to them for their precious help during plugin development :)

Instalação

Primeiro, transfira o “”plug-in””:

Get latest Auto plugin! Get Auto plugin nightly build!

Extraia o ficheiro transferido na diretoria plugins do Galette. Por exemplo, no Linux (substituindo {url} e {version} pelos valores corretos):

$ cd /var/www/html/galette/plugins
$ wget {url}
$ tar xjvf galette-plugin-auto-{version}.tar.bz2

Database initialisation

In order to work, this plugin requires several tables in the database. See Galette plugins management interface.

And this is finished; Auto plugin is installed :)

There is no particular setup required, you can just enter data in the database.

Configure required fields

When adding a new vehicle in database, there are several fields that are required, but that may not fit your needs. In such case, you can define your own required fields: just create a local_auto_required.inc.php file in your Galette config directory and declare an array of the fields you want to require. As example, if you just want to require name and model for a car, you will need:

<?php
return array(
     'name'  => 1,
     'model' => 1
);