Hello,
I would like to create a custom page with a custom route, accessible to all Galaxy users on my instance.
I looked into plugins (webhooks), but it seems that this is not possible.
The only ways I can think of to achieve my goal (without using a custom route) are:
• Injecting HTML into the current page with JS (triggered by a plugin button)
• Using an iframe (like in this plugin example: galaxy/config/plugins/webhooks/gtn/script.js at dev · galaxyproject/galaxy · GitHub)
• Modifying the welcome page, hiding my content inside it, and showing it when the user clicks on a plugin button
Is there a better way to do this?
Thank you very much.
Welcome, @Tenecifer
Modifying the Welcome page is the usual approach administrators use for static content, but also for links out to dynamic views linked to the server.
For examples, the UseGalaxy servers are good resources. Don’t miss the link outs to “associated” views – the EU server has the most integrated views I can think of off hand. Go into the box with the link out to server statistics for a great dynamic link out.
Or, create a Page. These are commonly used for workflow reports but you can add other custom instructions. The URL is just the browser URL and anyone can access it based on the level of sharing granted. Published would make it automatically accessible to everyone under the Pages icon in their own views.
This is an example of one that I just made from your question.
The interface is still being worked on in the current deployment. If you get stuck the best advice is to try to save, then click on the Pages icon in the far left menu to sort of “reset” the view, then go back in and add more. I had to do this a few times with the example above but it still only took me a few minutes.
And we have some guides! You don’t have to enter the Page editor from a workflow – you can also just start one up from the Pages icon in the left navigation bar in the general view.
- Hands-on: Workflow Reports / Workflow Reports / Using Galaxy and Managing your Data
- FAQ: Enhancing tabular dataset previews in reports/pages
Hopefully that helps with some options, and you can ask follow up questions!
Hello @jennaj,
Thank you very much for your reply.
I am going to look into your suggestions and come back here if I have any other question.
Have a nice day !