Add mkdocs and change menu names to avoid margin collisions (#468)
This commit is contained in:
@ -8,8 +8,8 @@ provide sensible defaults where it's possible, we encourage and keep in mind use
|
||||
Very often you have to override and add your own domain (or application specific code) to your user model. With this
|
||||
extension this is very easy and can be done in a few minutes!
|
||||
|
||||
For the case if you're using [Sidekit Application Template](../installation/sidekit-application-template.md) or
|
||||
[Advanced Application Template](../installation/advanced-application-template.md) create the following class file
|
||||
For the case if you're using [Sidekit Application Template](../install/sidekit-application-template.md) or
|
||||
[Advanced Application Template](../install/advanced-application-template.md) create the following class file
|
||||
at the `%PROJECT_DIR%/common/models/User.php` path:
|
||||
|
||||
```php
|
||||
@ -42,7 +42,7 @@ Event::on(
|
||||
```
|
||||
|
||||
> For further information about how to authenticate via social networks and the available clients, please visit the
|
||||
> [guide](../helpful-guides/social-network-authentication.md)
|
||||
> [guide](../guides/social-network-authentication.md)
|
||||
|
||||
|
||||
© [2amigos](http://www.2amigos.us/) 2013-2019
|
||||
|
||||
@ -13,7 +13,7 @@ After installing the extension and having configured everything, you need setup
|
||||
There are several ways to do that:
|
||||
|
||||
* using migrations
|
||||
* using the Command line [Console Commands](../installation/console-commands.md)
|
||||
* using the Command line [Console Commands](../install/console-commands.md)
|
||||
|
||||
### Creating the first Administrator during a migration
|
||||
|
||||
@ -55,7 +55,7 @@ if(Yii::$app->session->has($module->switchIdentitySessionKey)) {
|
||||
```
|
||||
|
||||
|
||||
Check the [switchIdentitySessionKey](../installation/configuration-options.md#switchidentitysessionkey) documentation
|
||||
Check the [switchIdentitySessionKey](../install/configuration-options.md#switchidentitysessionkey) documentation
|
||||
for further information regarding this configuration option.
|
||||
|
||||
© [2amigos](http://www.2amigos.us/) 2013-2019
|
||||
|
Before Width: | Height: | Size: 145 KiB After Width: | Height: | Size: 145 KiB |
|
Before Width: | Height: | Size: 137 KiB After Width: | Height: | Size: 137 KiB |
@ -135,29 +135,29 @@ This will ensure the proper functionality of login/guest user detection etc.
|
||||
Configuration may differ from template to template, the following are some guidelines for sidekit app template and
|
||||
the official Yii2 advanced application template:
|
||||
|
||||
- [2amigos Application Template](installation/yii2-application-template.md)
|
||||
- [Advanced Application Template](installation/advanced-application-template.md)
|
||||
- [2amigos Application Template](install/yii2-application-template.md)
|
||||
- [Advanced Application Template](install/advanced-application-template.md)
|
||||
|
||||
See also all the possible configuration options available:
|
||||
|
||||
- [Configuration Options](installation/configuration-options.md)
|
||||
- [RBAC](installation/rbac.md)
|
||||
- [Console Commands](installation/console-commands.md)
|
||||
- [Mailer](installation/mailer.md)
|
||||
- [Available Actions](installation/available-actions.md)
|
||||
- [Migration guide from Dektrium tools](installation/migration-guide-from-dektrium-tools.md)
|
||||
- [Configuration Options](install/configuration-options.md)
|
||||
- [RBAC](install/rbac.md)
|
||||
- [Console Commands](install/console-commands.md)
|
||||
- [Mailer](install/mailer.md)
|
||||
- [Available Actions](install/available-actions.md)
|
||||
- [Migration guide from Dektrium tools](install/migration-guide-from-dektrium-tools.md)
|
||||
|
||||
#### Step 4 - First steps to use Yii2-usuario
|
||||
|
||||
Proceed with [First steps to use Yii2-usuario](helpful-guides/first-steps.md)
|
||||
Proceed with [First steps to use Yii2-usuario](guides/first-steps.md)
|
||||
|
||||
|
||||
Enhancing and Overriding
|
||||
------------------------
|
||||
|
||||
- [How to Enhance a User Model](enhancing-and-overriding/how-to-enhance-a-user-model.md)
|
||||
- [Overriding Classes](enhancing-and-overriding/overriding-classes.md)
|
||||
- [Overriding Views](enhancing-and-overriding/overriding-views.md)
|
||||
- [How to Enhance a User Model](customizing/how-to-enhance-a-user-model.md)
|
||||
- [Overriding Classes](customizing/overriding-classes.md)
|
||||
- [Overriding Views](customizing/overriding-views.md)
|
||||
|
||||
Events
|
||||
------
|
||||
@ -182,13 +182,13 @@ there all your events and then include that file on your
|
||||
Helpful Guides
|
||||
--------------
|
||||
|
||||
- [How to Add Captcha Widget](helpful-guides/how-to-add-captcha-widget.md)
|
||||
- [How to Add Google reCaptcha Widget](helpful-guides/how-to-use-recaptcha-widget.md)
|
||||
- [How to Implement Two-Factor Authentication](helpful-guides/how-to-implement-two-factor-auth.md)
|
||||
- [How to Switch Identities](helpful-guides/how-to-switch-identities.md)
|
||||
- [Separate Frontend and Backend Sessions](helpful-guides/separate-frontend-and-backend-sessions.md)
|
||||
- [Social Network Authentication](helpful-guides/social-network-authentication.md)
|
||||
- [How to Enable session history](helpful-guides/how-to-use-session-history.md)
|
||||
- [How to Add Captcha Widget](guides/how-to-add-captcha-widget.md)
|
||||
- [How to Add Google reCaptcha Widget](guides/how-to-use-recaptcha-widget.md)
|
||||
- [How to Implement Two-Factor Authentication](guides/how-to-implement-two-factor-auth.md)
|
||||
- [How to Switch Identities](guides/how-to-switch-identities.md)
|
||||
- [Separate Frontend and Backend Sessions](guides/separate-frontend-and-backend-sessions.md)
|
||||
- [Social Network Authentication](guides/social-network-authentication.md)
|
||||
- [How to Enable session history](guides/how-to-use-session-history.md)
|
||||
|
||||
Contributing
|
||||
------------
|
||||
|
||||
@ -5,7 +5,7 @@ The module comes with a set of attributes to configure. The following is the lis
|
||||
|
||||
#### enableSessionHistory (Type: `boolean, integer`, Default value: `false`)
|
||||
|
||||
If this option is to `true`, session history will be kept, [more](../helpful-guides/how-to-use-session-history.md).
|
||||
If this option is to `true`, session history will be kept, [more](../guides/how-to-use-session-history.md).
|
||||
|
||||
#### numberSessionHistory (Type: `boolean, integer`, Default value: `false`)
|
||||
|
||||
@ -255,7 +255,7 @@ Allows customization of the web application controller namespace for the module.
|
||||
#### classMap (type: `array`, default: `[]`)
|
||||
|
||||
Configures the definitions of the classes as they have to be override. For more information see
|
||||
[Overriding Classes](../enhancing-and-overriding/overriding-classes.md).
|
||||
[Overriding Classes](../customizing/overriding-classes.md).
|
||||
|
||||
#### routes (type: `array`, default: `[]` )
|
||||
|
||||
@ -275,7 +275,7 @@ The routes (url rules) of the module for the URL management. The default values
|
||||
|
||||
#### viewPath (type: `string`, default: `@Da/User/resources/views`)
|
||||
|
||||
Configures the root directory of the view files. See [overriding views](../enhancing-and-overriding/overriding-views.md).
|
||||
Configures the root directory of the view files. See [overriding views](../customizing/overriding-views.md).
|
||||
|
||||
#### switchIdentitySessionKey (type: `string`, default: `yuik_usuario`)
|
||||
|
||||
Reference in New Issue
Block a user