Version 17 (modified by ed, 3 years ago) (diff) |
---|
Table of Contents
Workflows, Processes, Components & IA
- See also ArchitectureOptions and the SolutionDesign.
- Note, to avoid confusions around text and language, I've used the Drupal convention of t('text'), which means the English word 'text' translated into appropriate [language] for a user's [country]. e.g. t('Search') would be 'Rechercher' in French.
Workflows: TN.org (D6)
Note that 'Normal' initiative viewers and all regular visitors will see no changes.
'National Hub' page viewer (D6)
- Will see a 'National' page at http://www.transitionnetwork.org/world/[localised_country_name] (e.g. in native language like /france, /deutschland, /brasil, but not /germany, /brazil etc).
- Page will consist of standard D6/English TN.org site structure, menus and blocks, but content area will be the language appropriate for the country.
- The top part of the content area will consist of some translated welcome/info text. The lower part of the page will hold the "Full page widget" section of "Listings IIRS Widget (D7)", below.
- Details of the widget part of the page are below.
Workflows: Widgets (D7)
"Full page listings" widget
- URL TBC but similar to http://www.transitionnetwork.org/[langcode]/[localised_country_name]/widget/initiatives/display/full -- though this not be shown to the user usually except when getting the widget code.
- The widget will have the following display tabs:
- t('Latest') - shows users to see the latest [country] initiatives listed,.
- t('Map') - shows all the [country] initiatives on a map.
- t('Search') - allows searching of initiatives within [country] by criteria.
- An t('Add your initiative') button opening the Add widget popup -- for details of this, see next section.
- An t('Initiative details') page appears within the widget in the widget theme (ie with the tabs) whenever an initiative link is clicked within the widget area. This shows the full D7 node view in [language] for the initiative selected. This also allows users to log in and edit the ini if they have an account with the permissions.
"Button-only" widget
- Like sidebar but with only the t('Add your initiative') button which opens the "Add" widget display, below.
"Add" widget popup display (D7)
- User clicks button to t('Add your initiative'), popup opens showing URL TBC but similar to http://www.transitionnetwork.org/[langcode]/[localised_country_name]/widget/user/login
- User logs in or registers: NB: to be included at 11/12: registration includes social media option for authentication
- User enters initiative details. (URL TBC but similar to http://www.transitionnetwork.org/[langcode]/[localised_country_name]/widget/initiatives/add
- User gets thanks page. URL TBC but similar to http://www.transitionnetwork.org/[langcode]/[localised_country_name]/widget/initiatives/add/ok
- User also receives standard email with link to their TI submission with minimal text (needs to be translate-able by National Hub Administrator)
"View Detail" widget display (D7)
- Any link to an initiative within the Listings widgets shows the detail in [language] showing the full node view of the initiative. URL TBC but likely http://www.transitionnetwork.org/[langcode]/[localised_country_name]/widget/initiative/view/[nid]
- There will be an option to t('Log in to make changes if the user is the owner'), or register and submit their own initiative.
- If the user is logged in, the t('Edit') tab will be available to users who have permission (editors, admins and the content author).
- The page will be fully translated into [language].
Workflows: D7 site, widget and information management
For a National Hub Administrator there are three main parts to setting up and using the IIR Service
- Installing the National Hub installation which provides the service (online with URLs) and the widgetiser
- Setting up the widget using the widgetiser
- Administering the submissions via the widget and the standalone online service
Installing the National Hub installation using the Aegir system
- Jim is going to fill this in here
- Jim is going to fill this in here
- Jim is going to fill this in here
- Jim is going to fill this in here
Translating the service pieces
ED QUESTION: is this where the NHA does the translation? He thinks so, so he's adding the translation pieces here:
- NHA needs to be able to
- know what they need to translate
- site options
- email confirmations
- about and thank you text
- other?
- have a simple process to translate these pieces
- Ed is not sure what this is for now
Configuring the widget using the widgetiser
The National Hub administrator will be able to set up a widget and then add/edit/unpublish any Initiative item in their own country. They will be able to see the 'edit' function for all these initiatives as happens on TN.org now.
Useful details from PSE workflow?
- Go to widgetiser build page
- Choose widget type
- Add 'view pane path'
- Add modal popup path'
- Add modal button text
- Preview widget
- Copy widget code
- Embed into full page of National Hub website
Administering TI submissions
- user submits a TI via the widget. They may have set up a new account (will have for the alpha). The submission is POST-moderated - i.e. it goes into the system as PUBLISHED
- Each TI submission triggers an email alert to the NHA including URL to user account and TI profile
- NHA can see the user account and TI profiles without logging into their service site
- NHA can log into their service site - when logged in, the NHA can:
- See a list of all the TI submissions in a view showing TI name, URL, PPOC link, status ((not)published)
- Edit the TI node to make it
- UNPUBLISHED
- PUBLISHED
- Edit the user account node to make it
- ACTIVE
- BLOCKED
- DELETED
Information Architecture
User
Mandatory
Standard Drupal user account fields:
- t('Email') = (built into Drupal)
- t('Username') = (built into Drupal) --> will be generated from first/middle/last name fields (below) in format "First MM Last" (where M is a single middle name initial). Numbers will be appended if the resultant name is registered in site already.
- t('Password') = (built into Drupal)
Additional fields:
- t('First name') = field_user_name_first
- t('Middle names') = field_user_name_middle
- t('Last name') = field_user_name_last
- t('Language') = Provided by core Locale module... This will need to be set automatically by the widget context, and as a fall back should be displayed on the registration form)
- t('Country') OR t'('Address') A custom field, again should be filled from widget context.
Hidden metadata
- UUID = The Universally Unique ID of the user -- system generated, globally shared.
- Uid = The local Drupal user ID -- system generated and not shared outside current site.
- Status = Drupal default 'active/blocked' flag. Allows users to be hidden rather than deleted.
Initiative
- NOTE This content type does not include the old 'Status' field (Muller vs Official) as discussions around this and statuses are ongoing.
Mandatory
- t('Initiative name')
- t('Initiative location')
Optional but recommended
- t('Initiative website')
Available in CT but not in widget (yet)
- t('Summary') - 255 character simple, punchy 'about this ini' text field
- t('Further details') - Free text HTML/WYSIWYG field to hold anything else needed: ED 11/12/13: we will not do this for now
Hidden metadata
- Language = Normally shown by Drupa, this will be hidden automatically based on the context of the widget.
- UUID = The Universally Unique ID of the initiative -- system generated, globally shared.
- Nid = The local Drupal node ID -- system generated and not shared outside current site.
- Status = Drupal default 'published' flag. Allows initiatives to be hidden rather than deleted.
- Coordinates = the 'Location' (address) field will be geocoded to provide coordinates so the ini can be placed on the map.
Archived stuff we're not doing which was in the page
"Sidebar listings" widget
- URL TBC but similar to http://www.transitionnetwork.org/[langcode]/[localised_country_name]/widget/initiatives/display/sidebar -- though this not be shown to the user usually except when getting the widget code.
- Simple listings mode only, DECIDED: based on recently posted nation-wide
- An t('Add your initiative') which opens 'Add Widget' (see below) in popup.
Attachments
-
TN_National_Hub_page_viewer.jpg
(259.2 KB) -
added by ed 3 years ago.
National Hub page on TN.org