Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Raboo

Pages: [1]
Knowledgeroot / Redactor WYSIWYG editor
« on: June 03, 2012, 06:06:02 PM »
Hi, surfing the net I just spotted a new open source WYSIWYG editor..

Have a look and see if it's something worth adding.

Knowledgeroot / codebox/syntaxhighlighter
« on: March 01, 2012, 02:43:49 AM »

I've added a plugin for tinymce so it has a "code" box. So the box  works and such. But now I want to add the highlighting part.

For that i need to load scripts and stylesheets.
Code: [Select]
<script type="text/javascript" src="syntaxhighlighter_3.0.83/scripts/shCore.js"></script>
<link type="text/css" rel="stylesheet" href="syntaxhighlighter_3.0.83/styles/shCoreDefault.css"/>

<script src="syntaxhighlighter_3.0.83/scripts/shAutoloader.js" type="text/javascript"></script>
<script type="text/javascript">
'applescript syntaxhighlighter_3.0.83/scripts/shBrushAppleScript.js'
'as3 syntaxhighlighter_3.0.83/scripts/shBrushAS3.js'
'bash shell syntaxhighlighter_3.0.83/scripts/shBrushBash.js'
'coldfusion syntaxhighlighter_3.0.83/scripts/shBrushColdFusion.js'
'cpp syntaxhighlighter_3.0.83/scripts/shBrushCpp.js'
'csharp syntaxhighlighter_3.0.83/scripts/shBrushCSharp.js'
'css syntaxhighlighter_3.0.83/scripts/shBrushCss.js'
'delphi syntaxhighlighter_3.0.83/scripts/shBrushDelphi.js'
'diff syntaxhighlighter_3.0.83/scripts/shBrushDiff.js'
'erlang syntaxhighlighter_3.0.83/scripts/shBrushErlang.js'
'groovy syntaxhighlighter_3.0.83/scripts/shBrushGroovy.js'
'javafx syntaxhighlighter_3.0.83/scripts/shBrushJavaFX.js'
'java syntaxhighlighter_3.0.83/scripts/shBrushJava.js'
'js jscript javascript syntaxhighlighter_3.0.83/scripts/shBrushJScript.js'
'perl syntaxhighlighter_3.0.83/scripts/shBrushPerl.js'
'php syntaxhighlighter_3.0.83/scripts/shBrushPhp.js'
'plain syntaxhighlighter_3.0.83/scripts/shBrushPlain.js'
'powershell syntaxhighlighter_3.0.83/scripts/shBrushPowerShell.js'
'python syntaxhighlighter_3.0.83/scripts/shBrushPython.js'
'ruby syntaxhighlighter_3.0.83/scripts/shBrushRuby.js'
'sass syntaxhighlighter_3.0.83/scripts/shBrushSass.js'
'scala syntaxhighlighter_3.0.83/scripts/shBrushScala.js'
'sql syntaxhighlighter_3.0.83/scripts/shBrushSql.js'
'vb vbs vbscript syntaxhighlighter_3.0.83/scripts/shBrushVb.js'
'xml syntaxhighlighter_3.0.83/scripts/shBrushXml.js'

But the problem is,  these scripts and stylesheets are not loaded inside the content/dijit.TitlePane boxes.
So basically syntax highlighting will work if only i could get "content.php?contentid=111" to also load those javascripts and stylesheets.

Code: [Select]
</div><div class="ContentItem" id="contentid_111" oncontextmenu="'mousemenu','contentcontext', 14, 111); return false;">

                                        <!-- anchor --><a name="111"></a>
                                        <div class="showMe" style="display:none;" dojoType="dijit.TitlePane" title="<b></b>" open="false" href="content.php?contentid=111">

Knowledgeroot / Cannot upload all files
« on: October 17, 2011, 09:49:49 AM »

I cannot uppload the following file: HP-UX_LAN_Administrators_guide.pdf

apache error_log:
Code: [Select]
[Mon Oct 17 10:46:06 2011] [error] [client] PHP Warning:  mysql_num_rows() expects parameter 1 to be resource, boolean given in /var/www/html/ on line 86, referer: _
[Mon Oct 17 10:46:06 2011] [error] [client] PHP Warning:  mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/html/ on line 113, referer: _
[Mon Oct 17 10:46:06 2011] [error] [client] PHP Warning:  mysql_num_rows() expects parameter 1 to be resource, boolean given in /var/www/html/ on line 86, referer: _

Knowledgeroot / tinyMCE << problem
« on: September 06, 2011, 10:07:13 AM »

I have a problem with the '<' sign on tinyMCE and the other graphical editors.
For instance i can create a content with:
Code: [Select]
cat >/etc/yum.repos.d/vmware-tools.repo<<EOF
name=VMware Tools
baseurl=`uname -p`

But after when i'm going to edit the page again parts of the original content is invisible.. I can still read the content. But i cannot edit it because all the invisible stuff will dissapear.
I've deducted that it got to do with the << or <<EOF

Is this a ckeditor, fckeditor, tinyMCE problem or a knowledegeroot problem?
Does anyone have a fix?

Knowledgeroot / does not link to latest releases
« on: September 05, 2011, 12:31:56 PM » does not link to the latest release of Knowledgeroot. which made me first install
Perhaps someone could update the page?

Knowledgeroot / Auto collapes content articles
« on: September 05, 2011, 12:29:06 PM »

I'm having troubles auto collapsing content.
I've tried setting collapsecontent to 1 and to yes. Neither did work.

How can I make Knowledgeroot colapse all content articles

Pages: [1]