When designing a WordPress theme you may want to add some .first and .last css classes to your WordPress navigation menus for styling purposes. This tutorial will show you how to acheive that by placing some filter code into your themes WordPress functions.php file that will modify all your menu items through “wp_nav_menu_objects” by adding .first and .last CSS classes allowing you to style menu items easily.
Tags:

 CSS  PHP

Sami: Yet another PHP API documentation generator

Posted From DZone / May 17, 2012 /   Categorised in General  

Today is my "let open source some of my private Github repositories" day, and more specifically, I'm releasing a bunch of code related to documentation.
Tags:

 API  PHP

Set error log in php

Posted From DZone / May 16, 2012 /   Categorised in General  

Hello folks, i wasn’t active on blog so much these days, cause i was on vacation with my family and had really great time! I was thinking what will be interesting topic to write about and made a decision to go with something easy but something that is required as mandatory in every web application developed in PHP.
Tags:

 PHP

Getting Started with MongoDB and PHP

Posted From DZone / May 16, 2012 /   Categorised in General  

The first of a series of post that introduce MongoDB and PHP; this one focuses mainly on the installation of MongoDB.
Tags:

 MongoDB  PHP

PHP script to perform IP whois

Posted From DZone / May 16, 2012 /   Categorised in General  

PHP script to perform IP whois
Tags:

 PHP

remove index.php from url php

Posted From DZone / May 16, 2012 /   Categorised in General  

using .htaccess file, you can easily remove the index.php from the url, its just two line code you need to set in the .htaccess file which is as below RewriteCond $1 !^(images|system|themes|favicon\.ico|robots\.txt|index\.php) [NC] RewriteRule ^(.*)$ /index.php/$1 [L] when you use above code make sure that Rewrite Engine is On
Tags:

 PHP

[You may have heard about the Magento fork Mage+.]   Lee, just tell us: who are you and what are you doing? I'm a Magento technical architect, developer and contributor to Magento CE. I specialise in architecting and building large scale and complex installations of Magento - having built enterprise...

Tags:

 PHP

I spent the better part of this afternoon trying to figure out why a Composer installation wasn’t working and finally figured out the problem…it wasn’t mine. First, a little context – I’m currently working on a testing presentation for some folks at work and I wanted to show them how to work with the Behat...

Tags:

 PHPUnit  Framework  PHP

Choose a CMS - Blogging CMS

Posted From DZone / May 15, 2012 /   Categorised in General  

The web-logs are popularly known as Blog. Blogs are the most simple and popular among the PHP CMS. Blogs are easy to setup and maintain.
Tags:

 CMS  PHP

Users of MySQL Replication sometimes throttle client requests to give slaves time to catch up to the master. PECL/mysqlnd_ms 1.4, the current development version, features some throttling through the quality-of-service filter and global transaction identifier (GTID). Both the plugins client-side GTID...

Tags:

 Mysql  Pecl  PHP

Feedback

Send us your suggestions to improve the site.
  • This field is required.

  • We won't share this with strangers.