Page 1 of 1

Wiki <html> Not Working

Posted: 15 Aug 2013 16:47
by tatewise
The Embedding HTML Code feature appears to be disabled (which is the default setting).

It is used heavily in my Plugin Help & Advice pages to colour the text to match Plugin GUI.

BTW: The Embedding PHP Code feature also appears to be disabled, although I don't use it.

ID:7040

Wiki <html> Not Working

Posted: 15 Aug 2013 17:11
by Jane
I really wanted to keep it turned off as it's a security risk, but I can turn it on if it's unavoidable.

Is it just colour you need? If so I can add a plugin to allow colours.

Wiki <html> Not Working

Posted: 15 Aug 2013 17:50
by tatewise
I think it is just colours that I need.

Wiki <html> Not Working

Posted: 15 Aug 2013 17:56
by tatewise
What I am actually also getting is the following error when the oleControl.com:Navigate(URL) is used by the Plugin.

The KB Wiki does not raise any errors.

Image

Wiki <html> Not Working

Posted: 15 Aug 2013 18:14
by Jane
I have added the color plugin.

I am not seeing the error, using the site directly either using IE or Chrome.

So it might be something in the OLE control.

Wiki <html> Not Working

Posted: 15 Aug 2013 19:10
by tatewise
Well the Script Error affects every Plugin Help & Advice page of all my Plugins using oleControl, so it makes all the Help unhelpful.

Try any of my larger Plugins to see.

Wiki <html> Not Working

Posted: 15 Aug 2013 19:35
by Jane
It's in the core DokuWiki javascript, I'll try and raise a quesion on the DokuWiki forum

Wiki <html> Not Working

Posted: 15 Aug 2013 19:51
by tatewise
Yes, it had to be something unusual in the new DokuWiki because oleControl.com:Navigation works OK on other URL like http://www.google.co.uk.

Wiki <html> Not Working

Posted: 15 Aug 2013 20:22
by Jane
I managed to find the error, digging around in the js file and managed to track it down via the Chrome console.

One of the plugins had some depreciated code (preservefilenames), but as we are now using pushfile I have turned it off.

Wiki <html> Not Working

Posted: 15 Aug 2013 20:42
by tatewise
Brilliant! That fixes the Script Error and the Color Plugin works fine too. Just got to change all the Help pages...

BTW: The link on the Color Plugin is faulty, and should be https://www.dokuwiki.org/plugin:color.

Wiki <html> Not Working

Posted: 16 Aug 2013 12:17
by tatewise
All now seems OK.

The link on the Color Plugin is correct - Thanks.

All HTML colours changed to use Color Plugin.
Thank you for fixing a few that I missed.