");a.close();this.frameDoc=a;this.frameWin=$BK(this.elmFrame.contentWindow);this.frameContent=$BK(this.frameWin.document.body).setStyle(this.savedStyles);this.instanceDoc=this.frameWin.document.defaultView;this.heightUpdate();this.frameDoc.addEvent("mousedown",this.selected.closureListener(this)).addEvent("keyup",this.heightUpdate.closureListener(this)).addEvent("keydown", this.keyDown.closureListener(this)).addEvent("keyup",this.selected.closure(this));this.ne.fireEvent("add",this)},getElm:function(){return this.frameContent},setContent:function(a){this.content=a;this.ne.fireEvent("set",this);this.frameContent.innerHTML=this.content;this.heightUpdate()},getSel:function(){return this.frameWin?this.frameWin.getSelection():this.frameDoc.selection},heightUpdate:function(){this.elmFrame.style.height=Math.max(this.frameContent.offsetHeight,this.initialHeight)+"px"},nicCommand:function(a, b){this.frameDoc.execCommand(a,false,b);setTimeout(this.heightUpdate.closure(this),100)}}),nicEditorPanel=bkClass.extend({construct:function(a,b,c){this.elm=a;this.options=b;this.ne=c;this.panelButtons=[];this.buttonList=bkExtend([],this.ne.options.buttonList);this.panelContain=(new bkElement("DIV")).setStyle({overflow:"hidden",width:"100%",border:"1px solid #cccccc",backgroundColor:"#efefef"}).addClass("panelContain");this.panelElm=(new bkElement("DIV")).setStyle({margin:"2px",marginTop:"0px",zoom:1, overflow:"hidden"}).addClass("panel").appendTo(this.panelContain);this.panelContain.appendTo(a);b=this.ne.options;c=b.buttons;for(button in c)this.addButton(button,b,true);this.reorder();a.noSelect()},addButton:function(a,b){var c=b.buttons[a];c=c.type?eval("(typeof("+c.type+') == "undefined") ? null : '+c.type+";"):nicEditorButton;var d=bkLib.inArray(this.buttonList,a);if(c&&(d||this.ne.options.fullPanel)){this.panelButtons.push(new c(this.panelElm,a,b,this.ne));d||this.buttonList.push(a)}},findButton:function(a){for(var b= 0;b'+this.sel[itm]+"")}}),nicEditorFontFamilySelect=nicEditorSelect.extend({sel:{arial:"Arial","comic sans ms":"Comic Sans","courier new":"Courier New",georgia:"Georgia",helvetica:"Helvetica",impact:"Impact","times new roman":"Times","trebuchet ms":"Trebuchet",verdana:"Verdana"},init:function(){this.setDisplay("Font Family..."); for(itm in this.sel)this.add(itm,''+this.sel[itm]+"")}}),nicEditorFontFormatSelect=nicEditorSelect.extend({sel:{p:"Paragraph",pre:"Pre",h6:"Heading 6",h5:"Heading 5",h4:"Heading 4",h3:"Heading 3",h2:"Heading 2",h1:"Heading 1"},init:function(){this.setDisplay("Font Format...");for(itm in this.sel){var a=itm.toUpperCase();this.add("<"+a+">","<"+itm+' style="padding: 0px; margin: 0px;">'+this.sel[itm]+"")}}}); nicEditors.registerPlugin(nicPlugin,nicSelectOptions); var nicLinkOptions={buttons:{link:{name:"Add Link",type:"nicLinkButton",tags:["A"]},unlink:{name:"Remove Link",command:"unlink",noActive:true}}},nicLinkButton=nicEditorAdvancedButton.extend({addPane:function(){this.ln=this.ne.selectedInstance.selElm().parentTag("A");this.addForm({"":{type:"title",txt:"Add/Edit Link"},href:{type:"text",txt:"URL",value:"http://",style:{width:"150px"}},title:{type:"text",txt:"Title"},target:{type:"select",txt:"Open In",options:{"":"Current Window",_blank:"New Window"}, style:{width:"100px"}}},this.ln)},submit:function(){var a=this.inputs.href.value;if(a=="http://"||a==""){alert("You must enter a URL to Create a Link");return false}this.removePane();if(!this.ln){this.ne.nicCommand("createlink","javascript:nicTemp();");this.ln=this.findElm("A","href","javascript:nicTemp();")}this.ln&&this.ln.setAttributes({href:this.inputs.href.value,title:this.inputs.title.value,target:this.inputs.target.options[this.inputs.target.selectedIndex].value})}}); nicEditors.registerPlugin(nicPlugin,nicLinkOptions); var nicImageOptions={buttons:{image:{name:"Add Image",type:"nicImageButton",tags:["IMG"]}}},nicImageButton=nicEditorAdvancedButton.extend({addPane:function(){this.im=this.ne.selectedInstance.selElm().parentTag("IMG");this.addForm({"":{type:"title",txt:"Add/Edit Image"},src:{type:"text",txt:"URL",value:"http://",style:{width:"150px"}},alt:{type:"text",txt:"Alt Text",style:{width:"100px"}},align:{type:"select",txt:"Align",options:{none:"Default",left:"Left",right:"Right"}}},this.im)},submit:function(){var a= this.inputs.src.value;if(a==""||a=="http://"){alert("You must enter a Image URL to insert");return false}this.removePane();if(!this.im){this.ne.nicCommand("insertImage","javascript:nicImTemp();");this.im=this.findElm("IMG","src","javascript:nicImTemp();")}this.im&&this.im.setAttributes({src:this.inputs.src.value,alt:this.inputs.alt.value,align:this.inputs.align.value})}});nicEditors.registerPlugin(nicPlugin,nicImageOptions); var nicXHTML=bkClass.extend({stripAttributes:["_moz_dirty","_moz_resizing","_extended"],noShort:["style","title","script","textarea","a"],cssReplace:{"font-weight:bold;":"strong","font-style:italic;":"em"},sizes:{1:"xx-small",2:"x-small",3:"small",4:"medium",5:"large",6:"x-large"},construct:function(a){this.ne=a;this.ne.options.xhtml&&a.addEvent("get",this.cleanup.closure(this))},cleanup:function(a){var b=this.toXHTML(a.getElm());a.content=b},toXHTML:function(a,b){var c="",d="",j="",e=a.nodeType, g=a.nodeName.toLowerCase(),m=a.hasChildNodes&&a.hasChildNodes(),k=[];switch(e){case 1:var n=a.attributes;switch(g){case "b":g="strong";break;case "i":g="em";break;case "font":g="span"}if(b){for(e=0;e";if(d==""&&g=="span")b=false;if(b){c+="<"+g;if(g!="br")c+=d}}if(!m&&!bkLib.inArray(this.noShort,l)){if(b)c+=" />"}else{if(b)c+=">";for(e=0;e";for(e=0;e";break;case 3:c+=a.nodeValue}return c}}); nicEditors.registerPlugin(nicXHTML); nicEditor=nicEditor.extend({floatingPanel:function(){this.floating=(new bkElement("DIV")).setStyle({position:"absolute",top:"-1000px"}).appendTo(document.body);this.addEvent("focus",this.reposition.closure(this)).addEvent("blur",this.hide.closure(this));this.setPanel(this.floating)},reposition:function(){var a=this.selectedInstance.e;this.floating.setStyle({width:(parseInt(a.getStyle("width"))||a.clientWidth)+"px"});var b=a.offsetTop-this.floating.offsetHeight;if(b<0)b=a.offsetTop+a.offsetHeight; this.floating.setStyle({top:b+"px",left:a.offsetLeft+"px",display:"block"})},hide:function(){this.floating.setStyle({top:"-1000px"})}}); var nicCodeOptions={buttons:{xhtml:{name:"Edit HTML",type:"nicCodeButton"}}},nicCodeButton=nicEditorAdvancedButton.extend({width:"350px",addPane:function(){this.addForm({"":{type:"title",txt:"Edit HTML"},code:{type:"content",value:this.ne.selectedInstance.getContent(),style:{width:"340px",height:"200px"}}})},submit:function(){this.ne.selectedInstance.setContent(this.inputs.code.value);this.removePane()}});nicEditors.registerPlugin(nicPlugin,nicCodeOptions);

≡RapidCMS

Features

  • Completely free under the GPL2
  • Easy 5 minute setup
  • Edit content in place like a word processor (See our demo)
  • Small foot print (252kb)
  • Incredible speed
  • Easy to customize using WordPress style filters and actions!

Download

Version 0.6

Overview

RapidCMS was designed to be very simple to implement. You create your site, as you would normally in html, css, and javascript, when your site is complete, you install the framework, specify what content is editable, and hand the site over to your client.

From the clients perspective, editing the site is very simple. They log in and then surf the site like they normally would. When they reach the content they want to change, they click the 'edit' button and edit the content just like they were editing with a word processor.

The interface is extremely intuitive and easy to use.

But just because it is simple to use, and lightweight, it has the ability to do tremendous things. Integrated into the code are WordPress style hooks and actions. They allow you to create powerful modules to extend the functionality of RapidCMS.

Getting Started

Download

Download the latest version here.

Create the database

RapidCMS uses MySQL for its database. Create a new database and user making sure the user has permissions to create and edit tables. The tables will be installed automatically in the install script.

Upload the files

Extract the zip file and upload it's contents to your website. RapidCMS is very versatile and will detect the install location and automatically configure itself in the install script.

Install

In your web browser, navigate to the /rapid directory on your website.  The installation program will ask you for the database credentials you previously made.  It will then installed the database, create the configuration file and walk you through creating the administrator account. 

Change Log

Version 0.6

General improvement updates

  • updated backend to HTML5
  • created new global hooks and removed hooks property from cms global
  • add global-css module for plugins to easily add css to head.
  • updated to jQuery 1.7.1
  • added fix for back_to_referer module
  • login module now uses global-css to position logout button
  • moved all classed out of rapid.php into their own class files
  • added an argument to $cms->content($block, $tag);

Older changelogs

To Do

  1. Image upload module for nicEdit
  2. Menu widget?
  3. Insert special character pop-up module for nicEdit

© 2012 RapidCMS. All Rights Reserved.