Version 13 (modified by jim, 3 years ago) (diff) |
---|
Workflows & 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') popup which appears whenever an initiative link is clicked within the widget area. Opens a new popup showing the full D7 node view in [language] for the initiative selected. This popup also allows users to log in and edit the ini if they have permissions.
"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.
"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 -- ?? DECIDED: registration includes social media option ?? QUESTION: IS THIS AUTHENTICATION ONLY??
- 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
"View Detail" widget popup display (D7)
- Any link to an initiative within the Listings widgets opens a popup 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 (non-widget)
- Some users (admins) will need to oversee things on the D7 site and perform tasks. These admin views are TBC and will not be visible to normal users.
- Since some of the views are public, it's possible some people will come to them. When viewed outside the widget context, such pages should still work on their own.
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
Mandatory
- t('Initiative name')
- t('Initiative location')
Optional but recommended
- t('Initiative website')
Hidden metadata
- 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.
Administration workflows
The National Hub administrator will be able to 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?
Attachments
-
TN_National_Hub_page_viewer.jpg
(259.2 KB) -
added by ed 3 years ago.
National Hub page on TN.org