HavaLite CMS - Tutorials

HavaLite CMS

A new liteweight Content Management System (CMS)

Localhost main folder sort

Comments 26.Jun.2015  |  Posted by admin  |  Filed under Tutorials

The more files and folders we have in the localhost main folder the worse it is to find anything easly. That's why i decided to make this php script to sort all items the way i like it.

See how it looks like now:

The script contains the most used formats for images which also included as Bas64. If you need another image for your folder, just save a *.png image in the Read more

Remove html tags from a string

Comments 01.Jun.2015  |  Posted by admin  |  Filed under Tutorials

The php function strip_tags() is a very usefull function, in case you wanna remove html tags from a string or just leave one or few needed tags. But what about if you wanna leave all html tags and only remove one or few tags?

For that reason i made this simple function:

function strip_html($tags, $string){ foreach($tags as $tag) $string = preg_replace(array('/(<'.$t Read more

Many Subdomains with single Havalite CMS

Comments 30.Aug.2014  |  Posted by admin  |  Filed under Tutorials

In Version 1.4.1 and above of Havalite CMS the user can run and manage many subdomains with only a single installation of Havalite system. All we need is a new SQLite database beside our main database in folder "data" and to edit the line in "config.php" file which defines your new added subdomains. To do such, please follow next steps:

1. Create Subdomains

Mostly a Read more

Dynamic CSS via PHP

Comments 06.Nov.2012  |  Posted by admin  |  Filed under Tutorials

With php you can do more than handling informations from databases or manipulating them but also you can let php act as another type of files such as xml, image or css file etc. by adding a header information at the begin of your code. (See header Manual) Again: beware, the header informations must be performed before any other code or you'll get the error message: Cannot modify header i Read more

Creating a simple Tooltip in jQuery

Comments 27.Oct.2012  |  Posted by admin  |  Filed under Tutorials

I was searching in the internet for a very simple jQuery plugin to view a tooltip over some map area with the description which written in the alt attribute. I also found plenty of nice plugins but not the one that fits the simplicity which i need. Thats why i thought i would better try doing it on my own, cause jQuery has all requirements a programmer needs (thats why i love this frame work Read more

RegExp in SqLite using Php

Comments 19.Oct.2012  |  Posted by admin  |  Filed under Tutorials

One of the important thing that i kept messing as i chnaged from MySql to SqLite is the direct usage of regular expressions in sql statments. After searching many times in the internet for a solution, i only found out that SqLite doesn't support RegExp by default except by changing the functionality of the database engine which depends on your running system.

The REGEXP op Read more

Adding Sidebar widgets

Comments 10.Aug.2012  |  Posted by admin  |  Filed under Tutorials

In Havalite CMS v. 1.1.3 we can implement 4 different Sidebars which can be filled with plenty of Widgets. There are 2 kinds of them:

Standard Widgets Text1  // add Text or HTML Text2  // add Text or HTML Search  // Search form Links  // the list of your saved favorite links RSS  // a link to your po Read more

Video Tutorials

Comments 10.Aug.2012  |  Posted by admin  |  Filed under Tutorials

Installing Havalite

A tutorial showing how easy it is to install havalite CMS on your own site


Save images to your sqlite database

In this video tutorial we'll show you how to:

upload many images via drag and drop and save them to sqlite database of Havalite CMS, handle the image categories, Read more


Comments 25.Jul.2012  |  Posted by admin  |  Filed under Tutorials

TimeSpam - a spam detecting solution without captcha image based on Php and JQuery

I did this idea and im realy not sure if it works 100% against Spam bots. I just wanted to give it a try and see the reaction, if visitors have better ideas by detecting whether data are sent from a bot or human.

How it works:

Subscriber must have Javascript enabled on there browser, cause t Read more

Error Pages

Comments 19.Nov.2011  |  Posted by admin  |  Filed under Tutorials

Havalite version 1.0.8

Up to this version Havalite can handle error pages which are assigned from server as 403 (forbidden) or 404 (Not found). There are surely much more HTTP error codes than these two (see here) but we left this part up to you which code need to be handled.

To customize your HTTP error codes, create a file, copy following code and save as .htacccess t Read more

How to add background image instead of text

Comments 20.Oct.2011  |  Posted by admin  |  Filed under Tutorials

I was trying to find a good solution on how to chnage the Banner text of my theme with a background image. I found many solutions which are not always compatible to all browsers. Thus i decided to try it by my self and came with this solution.

I noticed that most people want to change the banner Text, which mostly assigned with a ID or CLASS in there html file:

Suppose Read more

Mobile Detection

Comments 07.Oct.2011  |  Posted by admin  |  Filed under Tutorials

There’s no question that mobile devices have become a part of the modern life comunication. Now more than ever it’s important that websites be optimized for mobile devices. Mobile optimization can also increase traffic to the own Blog. For this purpose we integrated a mobile detector in havalite that switches to a second design template from the same Theme folder "mobile.php Read more

The Dashboard

Comments 06.Oct.2011  |  Posted by admin  |  Filed under Tutorials

The Dashboard is the index of all logged in users. Here we can get informations about:

current version of HavaLite or if a new update exists The Amount of Posts, Drafts, Comments and Images saved in the database Backup Database (a Link to download database to your harddrive) Safe Folder Find and Replace Interface language Creator Users Board Read more

Members Privileges

Comments 06.Oct.2011  |  Posted by admin  |  Filed under Tutorials

The structure of the Users Privileges is built like a game with 5 different Levels

The first one is the Admin: He/She has all privileges as the owner of the Blog

Level 1: has all privileges like the admin but no authority to delete the Admin Level 2: Same as Level1, minus (-Settings, -Plugins) Level 3: Same as Level2, minus (-Categories, -Pages, -New Users) Read more

Safe Folder

Comments 05.Oct.2011  |  Posted by admin  |  Filed under Tutorials

The safe folder is the place where the database configurations are saved but there are also some useful  files such as

to get informations about your server and php configurations htaccess Creator
By the first installation a password is set to the safe folder, but you can also change the password to be different than the admin login) C Read more

RSS Feeds of Havalite

Comments 04.Oct.2011  |  Posted by admin  |  Filed under Tutorials

For now we keep our RSS as simple as possible by using RSS2 definitions.

Havalite prevents 3 different Feed Results:

Blog Feed (Latest Posts), URL: ?feed=rss Cat Feed (Latest Posts from a specified Category), URL: ?feed=rss&cat=Plugins Comments Feed (Latest comments), URL: ?feed=rss&comments=true

Thats it

Read more

SWF Files

Comments 04.Oct.2011  |  Posted by admin  |  Filed under Tutorials

Flash swf files can be also saved as raw data in Havalite. In the Menu "Media" click on Media-Upload to get to the tool:

In CKEditor we can easlly get our file by clicking on the Flash button and than view the Image Browser to pick up the file, define width and height of the animation and save:

Hint: Php SWF-Extenssion must be istalled Read more

CKEditor in Havalite

Comments 03.Oct.2011  |  Posted by admin  |  Filed under Tutorials

For Havalite CMS we choosed the CKEditor to be the default Text Editor. We reduced the Toolbar to fit the desires of the most people but with the power to create good looking content. We also implemented 2 small textareas to the Settings of havalite, in case users like to configure there own Editor:

Textarea for adding more or deleting Toolbars Textarea for Adding more or l Read more

Installing Havalite

Comments 02.Oct.2011  |  Posted by admin  |  Filed under Tutorials

The installation of Havalite is a very simple procedure that takes only few seconds.

After uploading havalite to your server, go to login (normally http://www.yourUrlAdresse.com/havalite/ ). If the password is not set yet, the Install Wizard will start automatically:

Type Password, repeat Password, your Blog Url (http://www.yourUrlAdresse.com), your Email an Read more

Sticky Notes are usefull

Comments 18.Sep.2011  |  Posted by admin  |  Filed under Tutorials

After searching the web for a jQuery Sticky note plugin, i decided to write the function my self, which fits the idea im up to.

A sticky note is a usefull tool in a Blog system with many plugins or Tags, which i like to use from time to time. And cause i almost forget these keywords i decided to attach a sticky note to the menu (like the notes on my table) to view them any time, a Read more

How To - Documentation

Comments 26.Aug.2011  |  Posted by admin  |  Filed under Tutorials

Read more

Contact Info

Phone: +49 941 26175

Address: Ayman Teryaki,
Prüfeninger Str. 48,
93047 Regensburg, Germany

Want more info - go to our contact page or visit Google+


Stay up to date. Subscribe via RSS, Facebook, Twitter or Email

Recent Comments