Static CSS with Dynamic Element ID
Posted on | July 28, 2009 | Views (274) | Comments (0)
We can make dynamic CSS via PHP, but it’s a little bit complicated when just a very small modification is needed. The idea, static CSS with Dynamic element id, comes from when I am trying to render a sidebar in different pages in Wordpress. I’d like to show it to you with a single line [...]
GD Library Error: imagecreatetruecolor does not exist
Posted on | July 3, 2009 | Views (2,258) | Comments (5)
To solve this problem you should get gd extentioin installed and activated in PHP.
Normally the gd library is availlble with PHP 4.3+ installed. However if it doesn’t exist, for linux users, type the following command in a terminal,
sudo apt-get install php5-gd
For those who use windows, you can find it in the ext directory in php-5.2.10 [...]
The Best Ever Website for Learning French Grammar
Posted on | July 1, 2009 | Views (219) | Comments (4)
I am very glad to introduce you the best ever website for learning french grammar, Tex’s French Grammar (la grammaire de l’absurde), a pedagogical reference grammar that combines explanations with surreal dialogues and cartoon images. Originally built for students at the University of Texas at Austin as a user-friendly guide to French grammar, this web [...]
Warning: Cannot modify header information – headers already sent
Posted on | July 1, 2009 | Views (1,367) | Comments (0)
After adding several functions to the file functions.php, I get this warning when I try to install a plugin.
This is commonly known as the “whitespace problem”.
The error message typically looks something like
Warning: Cannot modify header information – headers already sent by (output started at /var/www/wordpress/wp-content/themes/yamidoo/functions.php:855) in /var/www/wordpress/wp-includes/pluggable.php on line 865
The solution is, obviously, to remove [...]
Hi everyone, I'm Hui, a student originally from China, now studying at TELECOM SudParis in France. Hui-Wang.info is being used as a place to record my various adventures with technology.