Getting Started with ZfcRbac

Categories:

This is much needed tutorial for anyone trying to implement RBAC in their system. This tutorial will be divided into several part.

  1. Lets get started
  2. Installing and configuring ZfcUser
  3. Installaing and configuring Doctrine
  4. Installing and configuring ZfcRbac
  5. First User, First role, & First Permission
  6. Conclusions

DataTables TableTools not working for jQuery 1.7 +

Categories:

Are you having troubles getting TableTools extension of DataTables for latest jQuery versions? Like row selection are not working and etc. Here is an updated version that works. Download from below.The problem was that the old version uses .live() method to bind to the row selection, but since jQuery 1.7 and above this method has been deprecated and has been removed on further versions, it no longer works. Giving an error something like this:

PHP - Checking if a website is active or not?

Categories:

Have you ever wondered how to check if some site you are following or were interested on is down or still active?

We are going to use the CURL library to check the status of the website. Then later we are going to plugin to a function so that it become usable.

Lets start by initialzing the CURL Library

$curlInit = curl_init($domain);

Set the required options

Simple & Extremly fast Syntax Highlighter

Categories:

There are many syntax highlighters available on the internet. Almost all of them are packed with very rich features. Sometimes it over does the need to simply display a code in readable format. Here is a little tutorial how to create your own basic and code highlighter.

Add "Move to Trash" & "Delete Permanently" in Wordpress Front End Admin Menu

Categories:

Every once in a while while navigating your wordpress, you might find post that you will to move to trash or even delete permanently. But all that is available from the admin bar is "Edit" Option Only.Its a tidious and boring process when you have delete a post/article. You have move the article/post to trash first and then go to Trash and then delete it.

Subscribe to nGeneric RSS