Skip to content
This repository has been archived by the owner on Dec 24, 2021. It is now read-only.

help system fallback #192

Open
syntithenai opened this issue Mar 5, 2016 · 1 comment
Open

help system fallback #192

syntithenai opened this issue Mar 5, 2016 · 1 comment

Comments

@syntithenai
Copy link
Contributor

The help system is currently tied to modules/actions/subactions.
Help is only available on pages where there is a help file matching the current request.
Where it is desired to show the same content for multiple actions, the help content must be replicated.

It would be useful to a fallback mechanism so that a module could implement help in a single file and the help delivery system could seek more general help files for the module.

For example the request /tasks/taskgroup-edit/1 would seek help files

  • tasks.taskgroup.edit.help
  • tasks.taskgroup.help
  • tasks.help
  • index.help

until one was found.


Even nicer would be some config mapping to link actions to anchors within a document.

Good time to consider internationalisation too.

@careck
Copy link
Member

careck commented Mar 5, 2016

great idea ... this would work just like the templating mechanism when searching for layout templates.

Internationalisation is a huge topic and not one we have yet dared to approach .. however with help files it may actually be easiest ... just make one file per language.

@careck careck added this to the Version 1.0.0 milestone Mar 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants