zapo99 Hello, can I change the medialist plugin to change the inscription in the add files button (see photo)?? https://zapodaj.net/f5e1a87b3f5b0.png.html
virk Your request seems not clear: - Yes, you can change. Nobody forbids this. - No, obviously you cannot :-) - Where is the "add files button"? I do not know the plugin; do you know the working of "useheading" in configuration of dokuwiki?
zapo99 on the right (semester 1) is the add files button. The name namespace is automatically there. I wonder if it can be changed to your own text. Click the right mouse button and change it in the source code of the page you can change it but until you refresh the page as you know.
s-sahara Hi, Zapo99 Just clarification, do you want to change the upper-right button text for example "upload" ?
s-sahara Do you have any idea how to give button text in the Medialist syntax? Current Supported SYntax Examples: {{medialist>wikipage}} {{medialist>ns1:ns2:*}} {{medialist>@NS@:start}} {{medialist>@ID@:}}
zapo99 I would like to use the namespace, for example school, and name the button for example "add files".Is it possible? It can change something in the files
s-sahara I could understand your "wish" to change the button text, but still not clear your "issue" why you wish so. The button is identical with site menu "Media Manager" link that is found on the page top (or elsewhere), therefore it is make sense for me if you wanted to remove the button. It is technically possible to change the button text, and you may modify the php source code as you wish. For example, please find the following line in helper.php file (at line 236) and edit "$ns:*" to "add files". $label = hsc("$ns:*"); Or, if you want to extend the syntax like: {{medialist>@ID@: | add files here}} This is also technically possible, but I do not like to do so to keep syntax simple. Anyway, it will helpful to make the plugin better for me (and somebody) if you could clarly discribe your issue or motivation,
zapo99 That's exactly what I meant! The namespace name did not look nice. I wanted my users to know where to click to add a file. That's why I wanted to change the inscription to something simple. Thank you very much for your help!