Moodle plugins directory: CPF input: Versions: Version for Moodle 2.2 onwards | Moodle.org
CPF input
CPF input Version for Moodle 2.2 onwards
CPF Profile Field
This is a CPF field to user profiles into moodle.
Para Brasileiros
Como CPF é um padrão brasileiro, a explicação será em português. Este plugin foi criado para possibilitar a inclusão do campo cpf nos formulários de criação de novos usuários e também na alteração dos dados do usuário.
Documentação de como utilizar os profilefields -> http://docs.moodle.org/26/en/User_profile_fields
Recomendo inserir um plugin de máscara para o campo CPF. Eu fiz da seguinte forma: - Adicionei o plugin Jquery masked Input -> http://digitalbush.com/projects/masked-input-plugin/ - Adicionei o seguinte código referente à mascara do campo no tema utilizado:
jQuery("#profilefield_cpf").mask("999.999.999-99");
Installation
As usual:
- Download the source code (zip or git clone)
- Uncompress to user/profile/field/cpf
- Go to Notifications
License
It is released as GPL v3.
Authors: * Willian Mano - http://willianmano.net
Copyright 2014 onwards Willian Mano (http://willianmano.net)
Version information
- Version build number
- 2014041700
- Version release name
- Version for Moodle 2.2 onwards
- Maturity
- Stable version
- MD5 Sum
- 7117ce6c00082c1a0a0941557cd98741
- Supported software
- PHP 5.3, PHP 5.4, Moodle 2.2, Moodle 2.3, Moodle 2.4, Moodle 2.5, Moodle 2.6, PHP 5.5, Moodle 2.7
- Latest release for Moodle 2.2
Version control information
- Version control system (VCS)
- GIT
- VCS repository URL
Default installation instructions for plugins of the type User profile fields
- Make sure you have all the required versions.
- Download and unpack the module.
- Place the folder (eg "myfield") in the "user/profile/field" subdirectory.
- Visit http://yoursite.com/admin to finish the installation