This is a tutorial showing how to integrate user-defined flags with the views provided by TMGMT. For this example, we are showing the use case of flagging as "ready for translation". This could be useful if your workflow requires a review process of the source content before submitting for translation.

  1. Create your custom flag. Important options: Global flag: checked (ensures a node is globally flagged, not dependent on the user viewing), Flag translations of content as a group: selected (ensures that translated nodes are linked to the source node).
  2. Set Flaggable content to Article and/or your content types.
  3. Clone or directly edit the existing view named "Node Source Overview". If cloning: click edit for that view under Operations. On the next page, click the drop down arrow next to "edit view name/description" and select "clone view". Name it and save it.
  4. Under "Page settings", set a new path if you cloned the view. Optionally change the title and tab structure by clicking "Tab:Node source..."
  5. Add a relationship linking the flag data to this view. In the edit screen for your new view (or using the existing), show the Advanced section and add a new Relationship. Should be type "Flags:Node flag". On the configure screen, deselect "Include only flagged content", select your custom flag, and select "Any user".
  6. Add a Flagged filter. Next to "Filter criteria" click add, and select type "Flags: Flagged". Options: Expose this filter...: checked, Required: unchecked, and Status: All. Aggregation settings should be "Group".
  7. Optionally you can add a column that will show the appropriate flag action as a link, as well as the date it was flagged. Next to "Fields" click add, selecting types "Flags:Flag link" or "Flags:Flagged time". The default options are good, but you can customize the messaging.

Example finished view:

example result view