Quantcast
Channel: codefx.biz » example
Browsing all 13 articles
Browse latest View live

Search engine friendly URL with Zend

As an alternative to mod_rewrite – URL rewriting can be done by PHP as well. This example translates search engine friendly URLs back into controller actions: This are the last two lines of index.php...

View Article



Google Maps API V3 – Multiple InfoWindows

How-to handle multiple InfoWindows with the Google Maps V3 API in a more efficient way.

View Article

JSON with Internet Explorer (resolved)

A cross-browser example for XHR & JSON with jQuery - Issues with Internet Explorer resolved.

View Article

Editable HTML content with jqGrid

How to create editable HTML fields with the jQuery jqGrid formatter - and how to post them properly.

View Article

Nuts & Bolts WordPress Example: wp_list_pages()

WordPress Example: A custom wp_list_pages() function - which gives full control of the HTML code generation.

View Article


Google reCAPTCHA API with Smarty PHP

Recently I implemented the reCATPCHA API into a Smarty PHP contact form and thought this might be something useful to share. The example provided by Google Code has one certain flaw: It doesn’t...

View Article

jQuery on Chrome – Crossbrowser CSS/JS

When running on Chrome jQuery returns certain CSS properties differently ...

View Article

Retrieving the current $post->ID on hook ‘init’

Within a WordPress theme it’s no problem to get the current post_id, but when it’s plug-in code which is hooked to the ‘init’ event – object $wp_query doesn’t exist yet. Following example demonstrates...

View Article


Google Maps API v3: How to query the current viewport?

Basically…the business logic is like this: You need to get the boundaries from the map object and then pass these as parameters via AJAX to the SQL query which fetches the records, e.g minLat/maxLat...

View Article


Detection of the Internet Explorer major version number

This script I just wrote is intended to fix Smarty templates for Internet Explorer without interfering other browsers – while enabling downward compatibility. It can be used to add certain DOM nodes...

View Article

PHP: converting epoch to/from ISO time

To convert from epoch to iso time: And to convert from iso to epoch time:

View Article

Search engine friendly URL with Zend

As an alternative to mod_rewrite – URL rewriting can be done by PHP as well. This example translates search engine friendly URLs back into controller actions: This are the last two lines of index.php...

View Article

Windows 10 on VMware 11

Impressions of VMware Workstation 11 with Windows 10 as guest OS; It also explains how to defragment, shrink containers with the vDiskManager.

View Article

Browsing all 13 articles
Browse latest View live


Latest Images