Nuggetz : Simple Content Management without any Database

Jul 3, 2010

Looking for a simple, no database Content Management System (CMS)? Try Nuggetz, a simple CMS application for websites without any database resources or for web pages without any database interaction. With this simple CMS sections of web pages can be made editable. Written in PHP, Nuggetz stores it’s data in files rather than a database. So, it can be easily integrated with any web site design.


Embedding an editable section (called nugget) in your web page is easy. All you need to do is insert a single line of PHP code. Similarly editor login functionality can be added with another single line of code. For logged in editors, the editable sections are displayed in a blue border with an "Edit Nugget" link. Clicking the editable section brings up a nice WYSIWYG editor. Edited content is saved in the file itself. So, no database is required.

Nuggetz is distributed under the BSD licence. Current version of Nuggetz (version 1.0.3) has been tested in IE 7, Firefox 3.5.5, Opera 10.10 and Google Chrome 3.0. You can download it using the link below.

Nuggetz Download Link:

6 Responses to “Nuggetz : Simple Content Management without any Database”

  1. Alex on 25th May, 12 06:05pm #

    > Embedding an editable section (called nugget) in your web page is easy.
    > All you need to do is insert a single line of PHP code

    If it’s so “easy” then why doesn’t anyone, anywhere say WHERE to put that code to make a div or something editable on a page? I’m beginning to feel like this is a bait and switch operation where they say it’s easy, but withhold vital information to implement it unless you PAY them.

    It’s easy? Then where do you put the $mynugget = new nuggetz(“name”); code at so it can reference a specific div on your webpage to make it editable?

    I’ve emailed the “developers” of this “simple” CMS and they refuse to even just respond to my attempts to contact them.

    Tell me? Do YOU know where to put that code to make this actually WORK? If so, please share that info. Otherwise, I think it’s folly to call this “simple”.

  2. Alex on 26th May, 12 12:05am #

    One of the developers finally got back with me and refused to answer even the simplest question of where to put the code. Not how to code, not how customize it or anything.

    What a scam.

    • Sandy Official Reply on 26th May, 12 06:05pm #

      Alex, I tried the script once again just to answer your question. I can see that there is hardly any detailed info on usage. But it worked without any problem on my local server. I’m not the developer of this script. So, I can’t answer all questions. If you want this script to work, try the quick steps below (written by me):

      1. First make sure that you are going to edit files on your server root and they have .php extension. For example: index.php, about.php under
      2. Now upload nuggetz folder to your server root. Open config.php inside nuggetz folder and edit values for domain name, user and password. Save the file.
      3. Now go to your root directory. Pick the page(s) you want to edit using this script. Example: index.php
      4. Open one page (example: index.php) and enter the following <?php require_once(“nuggetz/init.php”);?> inside <head> and </head> tags of that page.
      5. Then  decide where you want to make your page(s) editable. For example your home page description area. Paste the following code there: <?php new nuggetz(‘description’);?>
      6. Then you need to make that area editable my admin. Enter <?php new nuggetzControl();?> where you want to see your admin login link. Header or footer is ideal place.
      7. Now open your index.php file on a browser. For example, type:
      8. Click the login link and login by entering your credentials (default: admin/password).
      9. After login is successful you’ll see the editable description area. If no editable area appears, reload the webpage.
      10. Now edit the area (nuggets) and save. Repeat same with other pages.

      Note that you need an Internet connection to try this script on your local server.

      Don’t forget to reply.

  3. Paul on 25th Aug, 12 11:08am #


    I was so glad to find this post as it sounded like someone had cracked this……but sadly, no matter what I try I can’t repeat your success. But I am unclear as to what ‘description’ in relates to – is this a div id? I have tried using a div id but no luck. Maybe I have the code in the wrong area of the page?

    Also the has been positioned in all possible areas, even those I know it shouldn’t be in but again, no change.

    Maybe it’s my config.php as I am testing using XAMPP, so I have set that file up using $domainName=’localhost/test/’;

    Who knows…but after a couple of days experimenting I am about to un-install and move on….

    Fingers crossed you can expand your answer for us dummies. ;)

    • Sandy Official Reply on 29th Aug, 12 04:08pm #

      Hi Paul,

      Sorry for the delay in reply. I’m including a test file for your reference. Download and open it. Look for the commented lines. You’ll understand what I tried to mean. Hope this helps. Did it helped? Do reply.

      Download the test file from here:

      The following screenshot shows the editing interface of test file.

      Nuggetz Demo

  4. Paul on 1st Sep, 12 11:09am #


    Thanks for the mail – I had missed your response.

    And thanks for the test file……….I’ll take a long look later today and report back if I hit a brick wall.


Leave a Reply

Note: The sign * means required field. Comments are subject to moderation.