Giter Site home page Giter Site logo

codowik's People

Contributors

alexwenzel avatar carton-of-mice avatar evnix avatar j0hannes avatar smaury avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

codowik's Issues

Sidebar in Safari 8.0.3

The side bar closes and opens with every navigation click. This doesn't happen in Firefox.

Side Bar Shortcut

Morning,

I just started using Codowik on my dokuwiki and love it. Though one thing bugs me to high heaven... is there a way to disable the Ctrl+Arrow that autohides the side bar. I use that (with shift) to highlight words when typing but this just closes and opens the sidebar, which I am happy to leave always on.

Thanks.

Fix error: Call to undefined function tpl_js()

To solve the problem, you need to add the definition of the function to the main.php file:

--- main.php.orig 2020-11-03 23:10:29.000000000 +0200
+++ main.php 2023-02-14 08:43:39.558159311 +0200
@@ -12,6 +12,17 @@

+/**

    • Returns HTML string with script tag
  • */
    +function tpl_js($filename)
    +{
  • $filepath = DOKU_TPL . 'js' . DIRECTORY_SEPARATOR . $filename;
  • return "<script type="application/javascript" src="{$filepath}"></script>";
    +}

if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */
header('X-UA-Compatible: IE=edge,chrome=1');

Mobile doesn't look too great

Any ideas on how this can be improved for mobile? The fact that the sidebar just opens up so large, and the only way to close is the tiny button on the splitter. Maybe a swipe action to open or close it? Or a hamburger menu icon?

SideBar start closed in the edit mode

First of all Nice Theme! The idea to make the sidebar close and open iall that I wanted and also try to make, but it's note a easy work for me to do a template from the scratch.

Here two things that i need will be nice

  1. SideBar start closed int he edit mode (can be a option)
  2. Sidebar interpreter the addons like (wrap) and others syntax's

Not compatible with 2018-04-22 "Greebo"

Upgraded my Dokuwiki install to 2018-04-22 "Greebo" and now the theme throws the following error:

"A fatal error occured during compliation of the CSS file. If you recently installed a new plugin or template it might be broken and you should try disabling it again. [s is undefined: failed at `` in /lib/tpl/codowiki/css/design.less at line 287]"

Codowik incompatible with DokuWiki release 2018-04-22 "Greebo"

Installing Codowik release 2017-06-20 on DokuWiki release 2018-04-22 "Greebo", I get the following errors:

A fatal error occured during compilation of th CSS files. If you recently installed a new plugin or template it might be broken and you should try disabling it agian. [s in undefined: failed at `` in /lib/tpl/codowik/css/design.less at line 287]

Sidebar and catlist

Hi.
So, I tried the template and found it good for my game's docs. However, I have a small problem with sidebar formatting. I use catlist plugin for autogeneration, and it fits nested <ul><li> format, but namespaces default render is not working correctly. The color blends with the background, so it doesn't feel good. Is there any way to make it work?
Cheers.

Layout broken on Windows

The sidebar appears under the content if this template is installed on a Windows machine.
I get a 404 for the layout.js and a JavaScript error. In bootstrap.php this line

$filepath = DOKU_TPL . 'js' . DIRECTORY_SEPARATOR . $filename;

should not contain a DIRECTORY_SEPARATOR as it's a URL for a web resource and should therefore always be using a / instead.

Blank page (empty)

Using Weathermax (last stable version).
I downloaded codowik, extract it, rename folder as "codowik" not "codowik-master".

Put it in lib/tpl/

And change settings to use this template.

I got a blank page.

I also tried to clear DW's cache (by deleting all folders in data/cache/) and FF's one too, nothing change.

Note : My wiki is not available from internet, only intranet.

Editing toolbar incomplete with this template

Thanks for this template, I really like it. However, on the last release candidate (Release rc2013-11-18 "Binky RC2") version of DokuWiki (at least) the editing toolbar appears incomplete, due to javascript error that stop generating the editing bar before the end.
Reading the dokuwiki documentation, I realized that JQuery is now embeded in dokuwiki, therefore there is no need to incorporate it into the template. You should also have to follow the compatibility mode. There is no $() method2). Use the jQuery() method instead.

After reading that, I modified the file main.php , delete the line linking to the jquery library and replaced all "$(" by "jQuery(" and the problem is now fixed!

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.