Jump to content

Require assistance, please


Rafael Marquez

Recommended Posts

Hi I'm Rafael Marquez, president of an airline venezuelana.

I have a question: how I can do to make the numbers of pilots from 101 and not start from 0001?

I really want is that body which pilots are assigned automatically register your id from 101, 102.104, 105. Not since 0001, 0002

I hope to help me solve it

_________________________________________________________________________________________________________________

Hola soy Rafael Márquez, presidente de una aerolinea venezuelana.

Tengo una duda: ¿como puedo hacer para que los numeros de pilotos empiecen desde 101 y no desde 0001?

Realmente lo que quiero es que cadaves que los pilotos de registren se asigne automaticamente sus id desde 101 ,102,104 ,105. No desde 0001, 0002

Espero que me ayuden a resolverlo

Link to comment
Share on other sites

  • 2 weeks later...

Hi I'm Rafael Marquez, president of an airline venezuelana.

I have a question: how I can do to make the numbers of pilots from 101 and not start from 0001?

I really want is that body which pilots are assigned automatically register your id from 101, 102.104, 105. Not since 0001, 0002

I hope to help me solve it

_________________________________________________________________________________________________________________

Hola soy Rafael Márquez, presidente de una aerolinea venezuelana.

Tengo una duda: ¿como puedo hacer para que los numeros de pilotos empiecen desde 101 y no desde 0001?

Realmente lo que quiero es que cadaves que los pilotos de registren se asigne automaticamente sus id desde 101 ,102,104 ,105. No desde 0001, 0002

Espero que me ayuden a resolverlo

Aqui tienes la respuesta a tu solicitud de ayuda.

Ten cuidado cuando lo cambies porque todos tus ID cambiaran y se iniciaran desde el ID que le asignes, un saludo... ojala te ayude.

Sergio Korlowsky.

Globa Virtual Airlines

Link to comment
Share on other sites

  • 3 weeks later...

First off, sorry for the late response. :(

Secondly, it's all in your /public_html/core/local.config.php file

Look for this:

Config::Set('PILOTID_LENGTH', 4); # Length of the Pilot ID

and change it to:

Config::Set('PILOTID_LENGTH', 3); # Length of the Pilot ID

Now, just above that you see:

Config::Set('PILOTID_OFFSET', 0); # What # to start pilot ID's from

change that to:

Config::Set('PILOTID_OFFSET', 101); # What # to start pilot ID's from
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...