Giter Site home page Giter Site logo

stm-dokuwiki-template's People

Contributors

fraina avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

stm-dokuwiki-template's Issues

Turning on TOC

Is it possible to enable TOC for pages using this template ?

Unable to see sidebar

Hi there,

Firstly, this is a great looking template, which is why I'm eager to get this issue resolved. Not sure if I'm being a total n00b or not, but how do you create a sidebar? I have a sidebar already created, which has worked with the default and other templates. On using STM, the sidebar disappears, replaced only with the name of the page I'm currently on (which is 'Start'). This makes it impossible to navigate, without having to go to the sitemap and choose the page from there.

Apologies in advance if this is truly stupid.

Image Detail Page JavaScript Stuck

This is a copy of dokuwiki/dokuwiki#2764 by @a20eac1d.

I have installed the latest version of DokuWiki and created an article. I've uploaded a picture and added it to the article. The picture shows correctly within the article. When I click on the picture, I get redirected to this page:

http://wiki.domain.com/lib/exe/detail.php?id=welcome&media=2019_04_24_11_05_40_Webwood_Lurker_NPC_Classic_DB.png

The page is supposed to show the picture in a bigger format and also some additional information related to the picture.

What happens instead is, the page loads about 5% of the picture and then freezes the browser tab. The browser keeps loading in an endless loop and soon reports that "one tab is freezing your browser". The CPU usage for that core jumps to almost maximum.

As far as I can tell, this only happens with certain PNG images. I have confirmed that the attached three images cause this issue 100% of the time. I hope attaching them here does not change them in any way.

How to reproduce: Create an article, attach one of the pictures and embed it with a link to the detail page, save the article and click on the picture.

2019_04_24_11_03_58_Nightsaber_Stalker_NPC_Classic_DB

Looking into the issue, the browser is stuck when executing a match of regex.

var reg = /^([^:]+[\w]+[^<])+([<].*)/,
regresult = $sidebar_title.html().match(reg);

I am not sure what that regex is doing, and also not sure why it makes the browser stuck. A easy reproducible JavaScript is:

"56822997-019ab080-6853-11e9-9e46-2d9c1b79fc95.png".match(/^([^:]+[\w]+[^<])+([<].*)/)

Unable to edit pages

First of all let me start with how much I love this theme. Great typography and design. I just started using this and right away one of things that I cannot do is edit a page.

In your screenshots in github, you mobile page seems to have that option. I am wondering if I am not seeing the option to edit a page inline or is it intended to be like this.

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.