# You must use a tab-size of 4 spaces to edit this file.
---
author_name: Tribal Systems
copyright_info: © Tribal Limited
editions: ProBusiness, Enterprise
start_running_on_install: false
license_info: 'Modified BSD License'
display_name: Extranet Profile
description: |
    <p>This module allows extranet users to view and edit their own profiles.</p>
    <p>When the module is run, it automatically creates an HTML page content item, &quot;Edit your profile&quot;.</p>
    <p>You will need to create a Form to define which fields are available for the logged-in user to edit; so please go to Organizer->Forms and create one, adding fields like first name, last name and so on. Then edit the plugin and select that form.</p>
    <p>Note that this plugin does not allow a user to change their email address (only to view it). Please enable the module Extranet Change Email (zenario_extranet_change_email) to allow users to change their email address.</p>
    <p>On a single-language site the normal setup is just to have a single content item containing this plugin, but on a multi-language site you may duplicate the original one to make one content item in each enabled language.</p>
category: pluggable
keywords: address, extranet, name, personal, profile, user, form

# Reminder: you need to increment the LATEST_REVISION_NO in this module's
# latest_revision_no.inc.php file if you change any of the fields below:
vlp_class_name: zenario_extranet_profile_edit
css_class_name: zenario_extranet_profile
is_pluggable: true
plugin_must_be_on_private_page: true
nestable: true
default_framework: standard
default_instance_name: Extranet Profile Editor and User Messages
special_pages:
    special_page:
        page_type: zenario_profile
        default_alias: profile
        default_title: Profile
        only_show_to_visitors_who_are_logged_in: true
        logic: create_and_maintain_in_default_language
        allow_hide: true

# Warning: adding a new dependency to an existing module will break any existing sites
# where the dependency is not running.
# You can fix this on a per-site basis by manually running the dependency, i.e. by running
#   UPDATE zenario_modules SET status = 'module_running' WHERE class_name = 'dependency'
# in MySQL and then going to /admin/ to apply database updates.
# If this is a core module, consider using runNewModuleDependency() in a 
# database-revision in zenario/admin/db_updates/step_4_migrate_the_data/plugins.inc.php
# to fix it automatically for every site.
dependencies:
    zenario_extranet: true
    zenario_user_forms: true
inheritance:
    include_javascript_from_module: zenario_user_forms
    
