Code Monkey home page Code Monkey logo

dokuwiki-template-sprintdoc's Introduction

sprintdoc template for DokuWiki

modern, responsive template that integrates multiple plugins

All documentation for this template can be found at
https://www.dokuwiki.org/template:sprintdoc

If you install this template manually, make sure it is installed in
lib/tpl/sprintdoc/ - if the folder is called different it
will not work!

Please refer to http://www.dokuwiki.org/extensions for additional info
on how to install extensions in DokuWiki.

----
Copyright (C) Jana Deutschlaender <[email protected]>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

See the LICENSING file for details

dokuwiki-template-sprintdoc's People

Contributors

alexgearbox avatar annda avatar bellingeri avatar fiwswe avatar fschrempf avatar gjrobert avatar iskanderrekik avatar kossmac avatar mhepp63 avatar micgro42 avatar pisulla avatar schplurtz avatar splitbrain avatar tolive avatar zweihorn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dokuwiki-template-sprintdoc's Issues

Local svg icons for sidebar

Hi, I've got some issues with using local SVG icons. I have no problem for using icons from the MDI set, but when I want to switch to my own SVG files - then default icon appears.
As an an example:

====== Head1 @test.svg ======
{{test.svg}}
====== Head2 @alert-octagram.svg ======

And icon located inside wiki ({{test.svg}}) renders correctly.
alert-octagram.svg renders correctly as Head2 icon, but Head1 gets a default one.
Perhaps my svg files should be located in some special directory or perhaps I'm missing something obvious.
Regards

Incompatibility with the AuthRemoteUser Plugin: Uncaught RuntimeException: logout disabled

See title; without any configuration, this error is thrown:

PHP Fatal error:  Uncaught RuntimeException: logout disabled in /var/www/wikifarm/dokuwiki/inc/Menu/Item/Login.php:21
Stack trace:
#0 /var/www/wikifarm/dokuwiki/lib/tpl/sprintdoc/tpl/nav-usertools-buttons.php(14): dokuwiki\\Menu\\Item\\Login->__construct()
#1 /var/www/wikifarm/dokuwiki/lib/tpl/sprintdoc/main.php(264): include('/var/www/wikifa...')
#2 /var/www/wikifarm/dokuwiki/inc/actions.php(27): include('/var/www/wikifa...')
#3 /var/www/wikifarm/dokuwiki/doku.php(122): act_dispatch()
#4 {main}\n  thrown in /var/www/wikifarm/dokuwiki/inc/Menu/Item/Login.php on line 21

After re-enabling the logout option, the error disappears.

footnotes popup appear below page tools

Hi,
When I hover a footnote number, the popup may pop below the page tools, under certain circumstances.

image

This happent with up to date sprintdoc using master branch, DW greebo, retina macbook, firefox, ~1120px wide window, and the following code

====== Lorem ipsum ======


Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque posuere imperdiet ante nec tristique. Ut condimentum tincidunt orci, vel viverra velit lobortis vel. Maecenas cursus volutpat pretium. Suspendisse((potenti, maecenas pellentesque hendrerit sem vitae venenatis. Donec tempus eros ex, a posuere urna fringilla nec. Maecenas nulla lacus, maximus sit amet ultrices non, consequat eget lectus.)) Nam tempus, felis eu pulvinar venenatis, orci neque sodales diam, at tempor elit massa id felis. Fusce varius ante ut risus tristique auctor. Ut lacinia laoreet lorem, at venenatis ligula condimentum ut. Nam vehicula bibendum diam ac ornare. Praesent ac facilisis felis, id volutpat leo. Curabitur sit amet risus nisi. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse iaculis purus nec libero auctor semper. Duis ac libero quam. Suspendisse potenti. Aenean lacus sapien, tempor non lorem eu, hendrerit bibendum metus.

Nunc gravida pharetra tortor eget ultricies. Nunc tincidunt tincidunt dignissim. Vestibulum eu iaculis sapien. ((Pellentesque vulputate, nulla ut interdum dictum, leo turpis elementum nisi, eu tempus nibh erat vitae urna.)) Etiam condimentum eu ipsum ut congue. Morbi sodales, odio in congue finibus, ante mauris volutpat enim, non interdum odio leo eget turpis. Cras quis odio neque. Vestibulum congue at nisi in convallis.

Unable to get logo working

Hi there - I am new to dokuWiki and love this theme, but also struggling. I see in the documentation that I need to put my logo files into my namespace, but to be honest the phrasing isn't helping me. I know it's due to being new.

I'm trying to find out what my namespace would be - my presumption is it would be the file structure behind my wiki, and my hunch my namespace is "RetroWiki" from the path below...
dokuWiki > RetroWiki

I've tried putting logo.png (150x150px) into both dokuWiki and the RetroWiki folders, but neither has any effect. I even tried the Images directory I found buried...

Please help. No doubt it's just me not knowing the definition of what 'namespace' means, and is, and I've exhausted all I can myself to figure it out. I even went to Configuration and looked at each thing that said "namespace" to get a hint... nothing.

Thanks in advance!

Problems with sprintdoc templates

Hello,

we use the sprintdoc template and we have this error message: "The sqlite helper plugin could not be found."
How can we solve this problem?

logo.png error on log-in-screen in a a closed wiki

I would use the dokuwiki in closed mode (access to the content only for logged in users).
When you already logged in the logo.png at the left in the top is visible. But on the log-in-page there is only a "?" instead of the logo.png, which means that the file couldn't be loaded correctly. What to do?

SVG image processing doesn't work with ADFS and proxy

I'm using the template with DokuWiki behind a nginx reverse proxy and with the ADFS plugin to authenticate users via SAML. When a user is not logged in everything works as expected. When a user is logged though, the processing of SVGs via svg.php fails. Instead of returning the image, svg.php redirects with status 302 to the auth endpoint of the SAML IdP. So far I have no idea why this happens.

Configurable responsive breakpoints?

The standard dokuwiki template allows configuring @ini_tablet_width and @ini_phone_width to establish responsive design breakpoints. I rely on this feature because I have several users who insist on using browser windows aligned to precisely one-half of a 1080p screen.

This winds up 960px wide, and falls below the configured medium breakpoint where SprintDoc turns the sidebar into a hamburger button — despite the wiki still being perfectly usable in "normal" mode at that width, particularly with the collapsible sidebar.

Would it be possible to offer a style override for the selected responsive breakpoints?

Fußnoten

Ein tolles Template, sehr schön gemacht und ansprechend!

Aber, und das soll meine Hochachtung nicht schmälern, die Fußnoten sehen nicht hübsch aus (Hochstellungs- bzw. Zeilenabstand).

Beispiel:

beispiel_fusznote

changing header colors sprintdoc + ckgedit plugin

I managed to change through .css the default color of the headers (h1->h6) from black to red by adapting the lib/tpl/sprintdoc/css/base_design.less file and by adding a new variable @ini_header_color in lib/tpl/sprintdoc/style.ini file.

The style.inihas now the following line:
__header_color = red ; @init_header_color
and the base_design.less:
h1,h2,h3,h4,h5,h6{ .... color: @init_header_color .... }

I am also using the ckgedit plugin whose default headers are black (/lib/plugins/ckgedit/ckeditor/contents.css.unc). How could I also warranty that while editing the page content in ckgedit, the headers also use the @ini_header_color variable? I noticed, for instance, that the sprintdoc has a directory named css/plugins, where apparently the plugins are configured. I therefore created a new file named ckgedit.less and included it into the lib/tpl/sprintdoc/style.ini file. So far, I was not able to succeed. Is this the correct way? or what other options do there exist?

Cannot show logo

Hi, I just discovered this beautiful theme, but I fail to get a logo in my upper left corner. I found the documentation on this and it says:

The template supports various logos, favicons etc. They have to be provided in PNG format and need to be uploaded to the wiki namespace.

I uploaded a file "logo-wide.png" to my wiki namespace, but I don't see it on the wiki itself. Am I doing something wrong or is this a bug?

Suggestion location page TOC (to the left)

Page TOC link on the left instead of far right (desktop)?
I think this could be more intuitive next to the sidebar (navigation always on the left) and easier to find for new users.

Uncaught RuntimeException: action disabled: login in /opt/app/dokuwiki/inc/Menu/Item/AbstractItem

Hi,

I have Dokuwiki (Version 2020-07-29~2020-08-31 Hogfather) installed on Sandstorm (sandstorm.io). So this might be Sandstorm related but I thought I would ask here first.

After installing your template and activating it I get an error and the wiki is no longer usable (no big deal since it's new and empty though). Clicking the "Admin" Link for example doesn't do anything.

grafik

2020/12/21 09:21:09 [error] 844#844: *258 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught RuntimeException: action disabled: login in /opt/app/dokuwiki/inc/Menu/Item/AbstractItem.php:67
Stack trace:
#0 /opt/app/dokuwiki/inc/Menu/Item/Login.php(15): dokuwiki\Menu\Item\AbstractItem->__construct()
#1 /var/lib/dokuwiki/lib/tpl/sprintdoc/tpl/nav-usertools-buttons.php(14): dokuwiki\Menu\Item\Login->__construct()
#2 /var/lib/dokuwiki/lib/tpl/sprintdoc/main.php(264): include('/var/lib/dokuwi...')
#3 /opt/app/dokuwiki/inc/actions.php(27): include('/var/lib/dokuwi...')
#4 /opt/app/dokuwiki/doku.php(122): act_dispatch()
#5 {main}
  thrown in /opt/app/dokuwiki/inc/Menu/Item/AbstractItem.php on line 67" while reading upstream, client: 127.0.0.1, server: localhost, request: "GET /start?do=admin&page=config HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm7.0.sock:", host: "ui-77b9a80560e1de99e07df048479e1bc0.linux1:6080"

Any idea why error is happening or should I ask the Sandstorm people first?

Cheers

Missing support for plugin diagrams

Hallo,

I cannot find the links/buttons to create or edit a diagram.
Due to documentation of the plugin diagrams there suppose to be a link inside the media manager to create a diagram after selecting a namespace.

Using a different template things are working fine.

Is it a bug or am I doing something wrong?

Regard
Schmal22

Custom sidebar problem

Hi,

Here is the problem : the custom sidebar menu doesn't appear in my dokuwiki.
I created a page named sidebar and put in this page the following text :

====== A Section ======

  • [[start|About DokuWiki]]
  • [[start|DokuWiki Syntax]]

I tried to add a ~~NOCACHE~~ macro and gave a read autorization to my user acount in ACL. I also desactivate other greffons one by one to see if it was greffon conflict.
For information I'm working on a dokuwiki in a test environment.

Do you have an idea to solve this problem ?
Thank you,

Remove unneeded JS dependencies

We currently load a bunch of JS files where it is not entirely clear that we need them.

  • html5shiv - we only support IE11+, do we really need this?
  • velocity - I don't know what we use this for, but I think jQueryUI should provide enough animation stuff to use?
  • spc.js - what does this do?
  • rem.min.js - what does this do?
  • respond.min.js - what does this do?
  • plugins/* - there seem to be some scripts suppressing errors in plugins here? why exactly is that necessary? shouldn't rather the plugin being fixed?

suggestion: example of catlist plugin on demo.sprintdoc.de

An example of catlist plugin on the demo site woud be good, imho

  • dynamic menu entries, helpfull for beginners
  • you are forced to have a stringent structure of your namespace/pages
  • dynamic menu entries, no hard coded menus (e.g. references outside a given namespace, btw. an -include option for catlist would solve this)
  • no self refered icons

It works like a charm and doesn't cause problems as indexmenu does

<catlist : 
  -h1  
  -sortAscending 
  -excluns:"playground" 
  -excluns:"wiki" 
  -maxDepth:2 
  -noAddPageButton>

In your case:

<catlist forms: 
  -h1  
  -sortAscending 
  -excluns:"playground" 
  -excluns:"wiki" 
  -maxDepth:2 
  -noAddPageButton>

<catlist methode: 
  -h1  
  -sortAscending 
  -maxDepth:2 
  -noAddPageButton>

<catlist pattern: 
  -h1  
  -sortAscending 
  -maxDepth:2 
  -noAddPageButton>

regards,
thomas

positioning of search tool

I was wondering whether it's possible to easily change the position of "search-tool" and place it just below the "user tool buttons" on the top right corner?

Multi-language switcher support?

Many themes for Dokuwiki support the really nice official translations plugin, but this one doesn't seem to have an option to switch languages if they are added in the settings.

Would be nice to have that :) Thanks for considering it.

struct / structstatus plugin integration in page attributes

I'd like to be able to display struct values in the page attributes zone (at least page status according to structStatus plugin)

Ideally, this would display the status only in attributes (and not in page footer).

Is this something that could be achieved?
If this can be achieved, and you do not want to develop it for now, would you accept a merge request for this?
and if you're open to a merge request, do you have some advice on where to start, and on some things I should be aware of before starting (I've never contributed on dokuwiki, but I'm familiar with php)?

I'm not sure I would have enough time to progress on this, but I'd like to try if it is okay for you.

invisible edit buttons

Paragraph edit buttons seem to be invisible on our dokuwiki wiki instance (greebo).The paragraph edit buttons show up and can be clicked on mouse-over. The edit button in page tools is not affected. Is this the intended behaviour?
Is there a straight forward way to make the paragraph edit buttons visible?

IE 11 does not encode fontello characters as expected.

When using sprintdoc template with IE 11 where collapsible side bar, admin, login search characters are showing Chinese letters instead meant characters. It seems IE11 is interpreting differently character encodings for fontello icons.
Related?
#36

IE11 Compact Mode: too much spacing

When using IE11 on sprintdoc set to compact mode, the template uses much more spacing between the header and the content area than other browsers:

2019-04-09-103342_1647x1000_scrot

This should be adjusted to match the output in other browsers.

Integrate indexmenu

Integrate the indexmenu. There are some people who likes a automatically generated menu, managed with ACL.
One problem with the indexmenu is, a seperately inserted link does not look good in a sidebar integrated with indexmenu.
When the indexmenu would be integrated itself nicely so it blends good in with external links (set as list? Marked as h1?)

Manually created is nice, ofc, but its not good when some pages are not accessible via ACL.

"Table of Contents" don't show anymore

Hello!

I have an issue with the "Table of contents" - "TOC" on the right side.
The options are set to "toptoclevel" to 1, the "tocminheads" to 1 and the "maxtoclevel" to 5.

There is nothing shown in there:
image

If I open the configuration manager or when i save the configurations, they show up for a second:
image

I've already tried to deactivate all plugins, but it didnt work. When I change the template to dokuwiki, arctic or anything else the TOC works normally. All plugins, the dokuwiki itself and the template are completely updated.

Best regards,
derNachtigall

Add support for pagetitle

Hello,

This is a great template, a modern version of DokuWiki original theme, I love it.

Could you add support for PageTitle

The plugin let the user setup a title for the base without having to sacrifice the H1 for it.

More configuration/customization.

I think this template looks great, but has some usability/configuration things that stop me from using it. Key things:

Need to be able to configure it similar to Bootstrap3 - be able to hide last modified, path to file, last user who edited.

I would also like to disable OR set a default state of the collapsible sidebar.

Would also be interesting to see better integration with the Indexmenu. I prefer autogenerated menus like that...if there's an alternative that already works well, please let me know.

I might also look into doing some of these things myself.

invisible paragraph edit buttons

Paragraph edit buttons seem to be invisible on our dokuwiki instance (greebo).The paragraph edit buttons show up and can be clicked on mouse-over. The global edit button in page tools is not affected. Is this the intended behaviour?
Is there a straight forward way to make the paragraph edit buttons visible?

Smaller issues from the internal bug tracker

These are low-priority improvements that came up during the initial development:

  • highlighting in headlines broken: https://demo.sprintdoc.de/?s[]=Data
  • for the ajax quick-search results the whole line should be clickable
  • it would be nice if there were feedback for saving tags (e.g. updating the number)
  • user-tools should be completely hidden if ACL are deactivated

No MDI-Icon is shown

I tried to set a custom icon for the sidebar with the following text:
`====== Rules @lock-open-check.svg ======

  • [[home|Home]]`

I just get that:
image

I used a for the Icon an MDI-Icon

Darstellungsprobleme beim Internet Explorer

Hallo zusammen,

ich habe Ihr Template bei DokuWiki gefunden und bin begeistert. Leider habe ich eine Unschärfe festgestellt. Wenn ich das Template auf meinem Notebook mit dem Internet Explorer öffne, dann werden bestimmte Icons nicht richtig dargestellt:

1

Meine Internet Explorer Version ist:

2

Mein OS ist:

3

Können Sie mir weiterhelfen? Bei allen anderen Browsern funktioniert das Template sehr gut. Leider bin ich gezwungen, den Internet Explorer hierfür zu benutzen.

Mit freundlichen Grüßen / Best Regards

Jens Wehage

Differences in Font-Rendering

It seems IE11 is rendering fonts noticably different from Chrome and other Browsers:

2019-04-11-160233_1500x950_scrot

Left: IE 11, Right Chrome 73, both on the same Win7 System

I wonder if there is anything we can do about it? Shouldn't the same font in the same weight and size be the same? Especially the bold part in the table at the bottom is very different.

Feature Request: "Standing Table" of Contents (always expanded/visible)

Always presenting the users a table of content helps me making them aware of the benefits of structured text and can ease navigation if the context is well-known.

An option to always (according to the rules in the configuration) display the table of content would be awesome. I guess its a non-trivial css-wizardry, though, as the TOC in this template is text-wrap ignoring (it "hovers" the content).

If you think its an pretty low hanging fruit maybe you can give me some pointers where to start looking to make adjustments (unfortunately no real time to work on this, but basic skills are present).

Dutch language

Last Visited Pages is in Dutch: Laatst bezochte pagina's
If help is needed for translation into Dutch contact me

Regards,
Henk

The wiki logo can only be shown after "Log in"

Hi all,
I have my dokuwiki working with the sprintdoc template but the wiki logo only be shown after login.
My wiki is private but I will like to show the logo in the login page. I don’t can put the wiki namespace (My logo is there) open or in read mode because I have some important wikis in the wiki namespace.
I made tests and if I open the wiki namespace, yes, the logo appears in the login page. But if I don’t open the namespace, showed a broken link where the logo was supposed to appear on the login screen.
Any of you have the knowledge of another method to put only the logo of the wiki in open?
Many thanks,
Albert

Missing checkboxes in Media Revisions

In the Media-Manager, usually revisions can be selected by checkboxes:

screenshot-www dokuwiki org-2019 04 15-16-03-12

Those checkboxes are not visible in the sprintdoc template for some reason:

screenshot-cosmocode wiki-2019 04 15-16-02-51

Option to hide header

I would like to hide the header so less space at the top is wasted (just my opinion :D ) - an option would be nice, otherwise i would have to hide via some fileediting directly - an option would be preferred.

Warning: Cannot modify header information error in Greebo

On a clean install of Greebo, when I choose the sprintdoc template, I get the following error:
Warning: Cannot modify header information - headers already sent by (/path/to/tpl/sprintdoc/main.php:1) in /path/to/tpl/sprintdoc/main.php on line 15

Function injection in Array.prototype clashes with Refnotes plugin

Summary

The config page of RefNotes plugin crashes when using the sprintdoc template.

Details

See RefNotes Issue 59 for more details.

Briefly, the config page crashes when reaching object shuffle injected by lib/tpl/sprintdoc/js/base/spc.js (lines 200-211) into Array.prototype.

Aparently, the approach of modifying Array.prototype is likely to cause problems with third-party code.

Desired Behavior

Use sprintdoc template with RefNotes.

Nicer mobile view (page tools and logo)?

Really nice looking theme on the desktop, however judging by the demo.sprintdoc.de the mobile view is a bit broken:

  1. The sidebar hamburger button occupies a lot of space at the top with no content besides it (I guess this is where the site logo should go?
  2. The site logo is not fully shown (see also 1.).
  3. The page tools menu is showing up as a full sized drop-down box and becomes a huge popup with radio-buttons. It is also not intuitive that the first empty row with radio-button can be used to exit the menu.

Thanks a lot in advance for fixing these issues :)

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.