How to add or generate a unique id for the body using url

As a website developer, it is very useful for me to create an id for each pages of the website that I am creating. Creating pages with unique styles from other pages will need a unique id to target a specific page. For a solution we are going to generate an id from our unique page urls of each pages on our website. This may apply to other cms using php language as we will be using php in this example.











Continue Reading »

Snippet for a simple form example

A simple snippet posted here as a note and for all those who are looking with the form submit example. A very simple example that demontrates on creating a form with a submit and action.

The snippet would get the data submitted by a user using the form and will send an email to the admin.

First let’s create a page with the form ,let’s name it as our index.html.











Continue Reading »

Titanium Appcelerator: [ERROR] Failed installing com.appcelerator.titanium: pkg: /data/local/tmp/app.apk

This is another error I encountered in running Kitchen sink on my Titanium Appcelerator : [ERROR] Failed installing com.appcelerator.titanium: pkg: /data/local/tmp/app.apk

I got this error after trying to run kitchensink and it was about to install the application on the device which is the emulator for now and i got the error [ERROR] Failed installing com.appcelerator.titanium: pkg: /data/local/tmp/app.apk .











Continue Reading »

Titanium Appcelerator: [ERROR] File "C:ProgramDataTitaniummobilesdkwin321.6.0androidbuilder.py", line 1626, in

I got this error when I tried for the first time to import and run Kitchensink on Titanium Appcelerator. Actually, I got a lot of error lines after this [ERROR] File “C:ProgramDataTitaniummobilesdkwin321.6.0androidbuilder.py”, line 1626, in . So the first line of the errors is [ERROR] File “C:ProgramDataTitaniummobilesdkwin321.6.0androidbuilder.py”, line 1626, in and followed with more than 20 lines of error after this.











Continue Reading »

Titanium Appcelerator: [ERROR] JDK version 'javac' is not recognized as an internal or external command,

Problem: [ERROR] JDK version ‘javac’ is not recognized as an internal or external command,

— It says that my JDK version ‘javac’ is not recognized as an internal or external command which only means that my Titanium was not able to find my jdk version ‘javac’ on my system.











Continue Reading »

Exponent CMS : Manage Active Modules Is not showing

I have been in less than a month with the Exponent CMS team. Exponent is an exciting cms you could love working with in a long run. It may not yet on the top with the leading cms like Drupal, WordPress and etc.. but we are moving on that direction. I am currently studying the […]






Continue Reading »

Warning: Invalid argument supplied for foreach() in…

I encountered this warning message when I am making my own plugin in wordpress. I am using for each loop in php where I have arrays of array as its parameter. It was not hard for me to found the reason for the message Warning: Invalid argument supplied for foreach() in…. I noticed it is […]






Continue Reading »

How to install multiple wordpress websites using only one database?

Ever wonder how we can install in our server multiple wordpress websites in a limited database. Let us say the hosting server gives only one database for us and we need to create multiple wordpress websites in it by using subdomains. For example, I would like to make my website http://sherkspear.com has 4 major wordpress […]






Continue Reading »
ChatClick here to chat!+