Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to use Markdown for Admin Help display in modules #547

Open
zyspec opened this issue Apr 20, 2017 · 0 comments
Open

Ability to use Markdown for Admin Help display in modules #547

zyspec opened this issue Apr 20, 2017 · 0 comments

Comments

@zyspec
Copy link

zyspec commented Apr 20, 2017

Enhancement

Instead of hand coding the ./language/{language}/help pages it would be preferable to have something like \Xmf\Module\Admin methods to allow module developers to create the document(s) using class methods. The thought is to wrap something like Parsedown into a Xmf (or XOOPs) class. We could then create rich documents more easily and theoretically have these translated much more easily using Transifex.

Obviously we'd want/need to maintain backward compatibility but we should be able to check for an additional file extension in the file loader to see if the markup file exists in addition to checking for the .html & .tpl files it looks for now and manipulate it accordingly.

It should be relatively easy to include a jscript Markdown editor (something like SimpleMDE in the TDMCreate module to allow developers the ability to create the help file too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant