Not logged in. · Lost password · Register
Forum: General Help and Support Plugins RSS
MediaList plugin change file add button
Avatar
Zapo99 #1
Member for 3 months · 7 posts
Group memberships: Members
Show profile · Link to this post
Subject: MediaList plugin change file add button
Hello, can I change the medialist plugin to change the inscription in the add files button (see photo)??
https://zapodaj.net/f5e1a87b3f5b0.png.html
Avatar
Zapo99 #2
Member for 3 months · 7 posts
Group memberships: Members
Show profile · Link to this post
Still please help
Avatar
virk #3
Member since Aug 2008 · 670 posts · Location: Aachen, Germany
Group memberships: Members
Show profile · Link to this post
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?
Avatar
Zapo99 #4
Member for 3 months · 7 posts
Group memberships: Members
Show profile · Link to this post
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.
Avatar
s.sahara #5
Member since Feb 2012 · 60 posts · Location: Makuhari, Chiba, Japan
Group memberships: Members
Show profile · Link to this post
Hi, Zapo99
Just clarification, do you want to change the upper-right button text for example "upload" ?
Avatar
Zapo99 #6
Member for 3 months · 7 posts
Group memberships: Members
Show profile · Link to this post
Yes exactly. I want my own text but not namespace name
Avatar
s.sahara #7
Member since Feb 2012 · 60 posts · Location: Makuhari, Chiba, Japan
Group memberships: Members
Show profile · Link to this post
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@:}}
Avatar
Zapo99 #8
Member for 3 months · 7 posts
Group memberships: Members
Show profile · Link to this post
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
Avatar
s.sahara #9
Member since Feb 2012 · 60 posts · Location: Makuhari, Chiba, Japan
Group memberships: Members
Show profile · Link to this post
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,
Avatar
Zapo99 #10
Member for 3 months · 7 posts
Group memberships: Members
Show profile · Link to this post
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!
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-04-04, 11:48:07 (UTC +02:00)