Topics

file

install / compile MYSQL 5 on RHEL / CentOS 4

There not much performance difference between MYSQL 4 and 5 as far as you’re not using mysqli ext for your PHP scripts, but it nice to find rpms ready on Centos.org which makes the job much easier.

Sitemap Creator 0.1 : Create Sitemaps 0.9 valid for Google, Yahoo! and MSN Sitemaps

New Sitemap Creator 0.2a available

Sitemap Creator is a php script making use of the
announced new standard SiteMaps protocol supported by Google, Yahoo and MSN.

Start multiple programs with one click on windows

It is annoying how most installed programs set them selves in windows startup which you can then manually remove through
Startmenu -> run -> msconfig -> uncheck uneeded programs or services (services could be set to start manually better than disabling it and has the same effect)
but then we need to start some favorite programs that we use often, that could be done as following

Integrate Theme Switcher

What if you want Theme Switcher into all your WordPress Themes?
Try this

  • Open file “wp-includes\template-functions-general.php” and search for “function wp_meta() {“
  • add this code just after "do_action(‘wp_meta’);"
echo "<h2>Themes:</h2><div>";
wp_theme_switcher('dropdown');
echo "</div>";
  • save the file, and you’ll get the Theme Switcher on everypage after the meta

Change WordPress page order

I am not sure why Page order is not working in WordPress, but this is a simple workaround to fix it

  • go to wordpress admin -write -write page -change ALL pages “Page Order” from the right down box.
  • open file “wp-includes\template-functions-post.php” in any text editor.
  • go to line 334 or search for “function wp_list_pages($args = ”) {“
  • insert this line after the searched line ” $args .= ‘&sort_column=menu_order’;”
  • save it and now your page should order fine.