Dear Developers,
First of all, Happy new Year!
In the following line
Nextmatch gets a value for ‘query’ and ‘title’ “callback” based on the dataStorePrefix from the registry.
I have defined 'infolog.infolog_ui’ as a dataStorePrefix
The question is how I can set a value for ‘title’ and ‘query’ in setup/hooks so that egw.link_get_registry can find it not based on the app but on the above mentioned dataStorePrefix 'infolog.infolog_ui’
Thank you for your support and best regards!
Alex
Hi Alex,
you can set the registry for your app with a “search_link” hook:
An example would be eg. InfoLog:
Ralf
Hello Ralf, thank you. I have used that before. As I understand this registers i.e. ‘query’ for the app infolog. But I would like to register ‘query’ for my dataStoreprefix ’infolog.infolog_ui’ . It there a way to do this?
In projectmanager I found
So it seems that there is a way to hook additional ‘keys’ for an application to the registry.
But the dataStoreprefix ‘projectmanager_elements’ of the project elements has not the same key i.e. ‘projectelement’
So I am quite confused…
Thanks again for your support
I just commit something similar for SmallPART, our new online learning app:
It has courses, consisting out of videos/lectures/tests and for tests questions:
Hello Ralf, thank you, it worked I still an issue with the link creating from Nextmatch, but his is another issue… BR Alex