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

[FEATURE REQUEST] Have txt shorts names #1713

Open
rpo opened this issue Feb 22, 2024 · 2 comments
Open

[FEATURE REQUEST] Have txt shorts names #1713

rpo opened this issue Feb 22, 2024 · 2 comments

Comments

@rpo
Copy link

rpo commented Feb 22, 2024

There are specials short names for txt pages, such as CAl for calendar.txt, ANM for annivmenu.txt page etc and we can call thoses pages with, for example, href="%prefix;m=ANM"> and have the macros interpretated.

Would it be possible to create those short names, as we need it, for exemple in the gwf configuration page ?

Thanks

@rpo rpo changed the title [FEATURE REQUEST] Have txt name [FEATURE REQUEST] Have txt shorts names Feb 22, 2024
@hgouraud
Copy link
Collaborator

hgouraud commented Feb 22, 2024

There is a general purpose command (m=H) which takes as parameter v=file which will interpret the template file.txt.
there is an example in etc/welcome.txt
Note that this requires wizard privilege.

@rpo
Copy link
Author

rpo commented Feb 22, 2024

<a role="button" class="btn btn-outline-primary mr-1 mb-1"
            href="%prefix;m=H&v=art">
            <i class="fa fa-search-plus fa-fw mr-1" aria-hidden="true"></i>Art</a>

Yes ---- Thank you merci.

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

2 participants