Giter VIP home page Giter VIP logo

dokuwiki-plugin-pagebuttons's People

Contributors

dregad avatar eduardomozart avatar jimmyjanisson avatar mschlenstedt avatar soarinferret avatar vkristian avatar

Watchers

 avatar  avatar

dokuwiki-plugin-pagebuttons's Issues

Add newpagetemplate support

It should be possible to configure other wiki pages as templates which then can be selected in a drop-down when creating a new page or folder/ namespace.

Similar to addnewpage plugin:
image

Get the plugin to work with Adoradark template

Hello,

This might not be the right place to ask but can you help please?

  • I've got the plugin working with the defalt dokuwiki template.
  • But when I revert to my preferred Adoradark template my newpage/newfolder/deletepage buttons disappear.
  • I know the Adoradark profile allow (some) plugins to add icons to the menu because the Dw2Pdf plugin does show up.
  1. Is there some tweak or configuration I can try to force the pagebuttons to appear in adoradark please?
  2. If not then is there some code I can use on a page (eg at the top of my sidebar, or in my floating topbar) to execute the and functions please?

TIA

Language Settings do not aplly after changing regarding file

When changing the entries contained within the file /var/www/html/wiki/lib/plugins/pagebuttons/lang/en/lang.php, the dialogue boxes still show the default text (in Englisch). The text seems to be nowhere else on the server (search via grep -r did not show anything). I have no clue where this text comes from. The buttons had to be renamed via the regarding .php-file and that works fine, buttons are now labeled with my custom text (my language). But the dialogue boxes still are in Englisch (heading and text).

Other Plugins use the wiki/lib/plugins/%plugin_name%/lang/en/lang.php file too. When i change values inside of this file of other plugins, it works in an instant.

Using DokuWiki Hogfather on Ubuntu 20.04 LTS, all other Plugins and DokuWiki itself working normally.

Where is the Englisch text located / stored? How can i change it?

Please help. Thank you.

Character set compatibility error: when "new page" and "new folder"

The error code is in lines 77, 78, 79, 133, 134 and 135 of the script. js file

The source code is:
var pre_url = useSlash ? window.location.href.substring(0, window.location.href.indexOf(JSINFO['id'].replace(/:/g, '/'))) + JSINFO['namespace'].replace(/:/g, '/') : window.location.href.substring(0, window.location.href.indexOf(JSINFO['id'])) + JSINFO['namespace'];

The revised code is:
var pre_url = useSlash ? window.location.href.substring(0, window.location.href.indexOf(encodeURI(JSINFO['id']).replace(/:/g, '/'))) + JSINFO['namespace'].replace(/:/g, '/') : window.location.href.substring(0, window.location.href.indexOf(encodeURI(JSINFO['id']))) + JSINFO['namespace'];

Note: Change JSINFO['id'] to encodeURI(JSINFO['id'])

Hide pagebuttons

Hello
is it possible to show the pagebuttons only for the admin and hide for all others?
Thx for the feedback.

plugin doesn't work with bootstap3 template

Hi,
I use the very nice Bootstrap3 template and I was interested in "Page Buttons". I just wanted to point out that the plugin doesn't work at all with this template.
Adding page and folder are broken, and deleting works but without the confirmation window.
But maybe it's not up to you to fix this, and the author of the template has to make it compatible ?
Regards

Add "_do_edit" at the end of created page

Hi,

When I create a new page with "New page button", it add the suffix "_do_edit" to the given page name.

image

I am on Windows 10. I test it on firefox and Edge. I use bootstap3 template.

Thanks for your work

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.