schafferer/user-profile-options-bundle
contains language and currency change in user profile
Requires
- schafferer/geo-ip-bundle: ~1.1.0
- chameleon-system/pkgshopcurrency: ~6.1.0
README
Bundle includes custom changes for comment module.
Installation
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require "user-profile-options-bundle": "~6.0"
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation. Be sure to adjust the version information "~6.0" to the actual version you need.
Step 2: Enable the Bundle
Then, enable the bundle by adding the following line in the app/AppKernel.php
file of your project:
<?php
// app/AppKernel.php
// ...
public function registerBundles()
{
$bundles = array(
// ...
new \Schafferer\UserProfileOptionsBundle\SchaffererUserProfileOptionsBundle()
);
}
Step 3: Snippet Chain
The bundle has its own snippets. To use them add following directory to your theme snippet chain in CMS
../../../../vendor/schafferer/user-profile-options-bundle/Resources/views
Step 4: Wizard Module Configuration
To show the form use the wizard step module and use the class "TCMSWizardStepEditUserShopConfiguration" for the step. In your custom view.php use mapper "WizardStepMapperUserShopConfig" and twig template "formUserShopSettings.html.twig".