By installing this module, you will have completed solution for the membership search and select functionality for you Open Y website. It includes landing pages and application for memberships builder.
PHP 7.4+ with ini_set function enabled,
Open Y 2.5+
You can install this module with help of composer. Please, use this command:
composer config minimum-stability dev
composer require openy/openy_memberships
We strongly recomment to use composer, because OpenY Membership project requires a lot of dependencies.
You need to build styles using this commands
cd modules/openy_memberships_front/app
npm install
cd ../../..
npm install
npm run scss-build
Release 2.3 (https://github.com/ymcatwincities/openy_memberships/releases/tag/2.3) is needed as an intermediate state for the upgrade path. In order to uninstall swiftmailer - upgrade to the 2.3 release and uninstall the module from your Drupal. Once uninstalled - proceed with upgrading to the 2.4 version of Open Y Memberships
To install the demo content, please do next steps:
- Enable an additional module:
drush en openy_memberships_demo_content -y
- Run demo content migrations from the module description
Steps for installation - CI sources https://github.com/ymcatwincities/openy-cibox-build/blob/master/devops/reinstall/vars/environments/membership_framework_env.yml
-
Install Open Y standard without demo content
-
run
drush en openy_carnation -y
-
run
drush en openy_memberships_demo_content -y
-
run
drush mim --group=openy_demo_fblock
-
run
drush mim --group=openy_demo_term
-
run
drush mim --group=openy_demo_nbranch
-
run
drush mim --group=openy_memberships_demo_content
-
Visit /membership-builder page to check how it works. Step 6 installs demo branches. You can skip it if you are adding Membership Framework to currently installed Open Y.
In the initial build of the Memberships framework we had a robust Addons/Discounts functionality. Application had a separate step for that feature. Since that step was very complex for many organisations, dev team hided it from the application.
To have Discount Finder step included in Membership builder, please revert code from this pr #60 And add DiscountFinder step here /admin/openy/memberships/settings (after "Results" step)
For site admins and content managers to configure and update their online membership experience.