<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Chromic Design &#187; admin</title>
	<atom:link href="http://www.chromicdesign.com/author/admin/feed" rel="self" type="application/rss+xml" />
	<link>http://www.chromicdesign.com</link>
	<description>Design With A Chrome</description>
	<lastBuildDate>Fri, 06 Aug 2010 05:59:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Setting Up Perl and CGI For Wamp Server WAMP(P)</title>
		<link>http://www.chromicdesign.com/2009/05/setting-up-perl-for-wampp.html</link>
		<comments>http://www.chromicdesign.com/2009/05/setting-up-perl-for-wampp.html#comments</comments>
		<pubDate>Tue, 05 May 2009 21:04:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[CGI]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Wamp]]></category>

		<guid isPermaLink="false">http://www.chromicdesign.com/?p=229</guid>
		<description><![CDATA[I work on Perl and CGI recently for my college project and so I decided to write a few steps on setting up Perl and CGI with Wamp Server. I hope this might be useful. Step1: First you need to download Wamp Server from www.wampserver.com and install Wamp Server on your machine. The default installation [...]]]></description>
			<content:encoded><![CDATA[<p>I work on Perl and CGI recently for my college project and so I decided to write a few steps on setting up Perl and CGI with Wamp Server. I hope this might be useful.</p>
<p><strong>Step1:</strong><br />
First you need to download Wamp Server from <a title="Download Wamp Server" href="http://www.wampserver.com/en/download.php" target="_blank">www.wampserver.com</a> and install Wamp Server on your machine. The default installation directory is &#8216;<em>C:\wamp</em>&#8221; and here I am using the default options for installation. To complete the installation you have to set the host name for your mail server and your email address, here you can leave the default option again. That will do no harm.</p>
<p>The current Wamp Server will install Apache 2.2.11, PHP 5.2.9-2 + PECL, MySQL 5.1.33, SQLitemanager and PhpMyadmin. <span id="more-229"></span></p>
<p><strong>Step2:</strong><br />
Now you have to download ActivePerl (currently 5.10.0) from <a href="http://www.activestate.com/activeperl/" target="_blank">www.activestate.com</a> and install it. The default installation directory is &#8220;<em>C:\Perl</em>&#8220;, but for simplicity and ease of use I use different directory. I create a new folder name &#8220;<em>perl</em>&#8221; inside &#8220;<em>C:\wamp\bin</em>&#8220;. So I install Active Perl in &#8220;<em>C:\wamp\bin\perl</em>&#8221; directory. The next thing you need to do is configure the Apache web server to execute Perl and CGI script.</p>
<p><strong>Step3:</strong><br />
This is the most important part here. You need to edit the Apache configuration file. Now go to &#8220;<em>C:\wamp\bin\apache\Apache2.2.11\conf</em>&#8221; directory and open &#8220;<em>httpd.conf</em>&#8221; file. Edit the httpd.conf file as below.</p>
<p>1. Inside <em>httpd.conf</em>, look for the line that says &#8220;<em>&lt;Directory &#8220;c:/wamp/www/&#8221;&gt;</em>&#8220;, just a few lines below this you&#8217;ll find the line that says &#8220;<em>Options Indexes FollowSymLinks</em>&#8220;. Add &#8220;<em>Includes ExecCGI</em>&#8221; in the line just next to FollowSymLinks, thus it look like this</p>
<pre name="code" class="xhtml">Options Indexes FollowSymLinks Includes ExecCGI</pre>
<p>This will enable CGI script inside your www folder.</p>
<p>2. Now look for the line &#8220;<em>AddHandler cgi-script .cgi</em>&#8220;, this line is commented out. You need to enable this by un-comment this line, to do that remove the # character at the beginning of this line. This will add handler for files with .cgi extension. If you want to use .pl file extension in your server add &#8220;AddHandler cgi-script .pl&#8221; just below the above line. Now you will be able to execute CGI and Perl script with .cgi and .pl, extension.</p>
<p>Lines to add</p>
<pre name="code" class="xhtml">AddHandler cgi-script .cgi
AddHandler cgi-script .pl</pre>
<p>3. To add directory index file, look for the line &#8220;<em>DirectoryIndex index.php index.php3 index.html index.htm</em>&#8220;. Add <em>index.cgi</em> and <em>index.pl</em> in this line.</p>
<p>Lines to add</p>
<pre name="code" class="xhtml">DirectoryIndex index.php index.php3 index.html index.htm index.cgi index.pl</pre>
<p><em>Alternative:</em> If you do not want to waste your time doing the above 3 steps, you can download the edited configuration file <a href="http://www.chromicdesign.com/downloads/httpd.conf">httpd.conf</a> here. Replace the one inside your apache directory with this one.</p>
<p><strong>Step4:</strong><br />
Your server is now configured and ready to run perl and cgi script. Next thing you might need to do is to configure perl to use mysql database. You need to download and install mysql driver to enable database connection through your perl script. You have to grab the driver from the ActivePerl package repository. However, mysql driver module is not available in the default ActivePerl Package Repository. So, you need to add additional repository and install from that repository. Follow the steps below:</p>
<p>1. Open command prompt [<em>type cmd in run</em>], then type &#8220;<em>ppm repo add uwinnipeg</em>&#8221; and press enter.</p>
<p><a href="http://www.chromicdesign.com/wp-content/uploads/2009/05/perl-ppm-command-line1.jpg"><img class="aligncenter size-full wp-image-254" title="perl-ppm-command-line1" src="http://www.chromicdesign.com/wp-content/uploads/2009/05/perl-ppm-command-line1.jpg" alt="perl-ppm-command-line1" width="674" height="339" /></a></p>
<p>2. After the &#8220;<em>uwinnipeg</em>&#8221; repository is added successfully, you can install DBD-mysql by typing this command &#8220;<em>ppm install DBD-mysql</em>&#8221; and hit enter.</p>
<p><a href="http://www.chromicdesign.com/wp-content/uploads/2009/05/perl-ppm-command-line2.jpg"><img class="aligncenter size-full wp-image-254" title="perl-ppm-command-line2" src="http://www.chromicdesign.com/wp-content/uploads/2009/05/perl-ppm-command-line2.jpg" alt="perl-ppm-command-line2" width="674" height="339" /></a></p>
<p><em><strong>Note:</strong> The ActivePerl default package repository contains DBD-mysqlPP module. If you install that one, you will get an error in your SQL SELECT query and especially when you use the WHERE clause. Your localhost will hang if you run this kind of query with the WHERE clause, so to get it work you need to install the package that I mentioned above only.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chromicdesign.com/2009/05/setting-up-perl-for-wampp.html/feed</wfw:commentRss>
		<slash:comments>47</slash:comments>
		</item>
		<item>
		<title>Equal Height Division Using Javascript And CSS</title>
		<link>http://www.chromicdesign.com/2009/03/equal-height-division-using-javascript-and-css.html</link>
		<comments>http://www.chromicdesign.com/2009/03/equal-height-division-using-javascript-and-css.html#comments</comments>
		<pubDate>Fri, 27 Mar 2009 08:47:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[XHTML & CSS]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Equal Height Sidebar]]></category>

		<guid isPermaLink="false">http://www.chromicdesign.com/?p=199</guid>
		<description><![CDATA[This technique is really simple. Having equal height division in your design is sometimes necessary to maintain consistent look and feel on your layout. You can use this technique to make your sidebars equal height, or to make your content area and the sidebars equal height. Get The Source Code:&#160;&#160;Without Jquery&#160;&#160;With Jquery Step 1: Create [...]]]></description>
			<content:encoded><![CDATA[<p>This technique is really simple. Having equal height division in your design is sometimes necessary to maintain consistent look and feel on your layout. You can use this technique to make your sidebars equal height, or to make your content area and the sidebars equal height.</p>
<p><strong>Get The Source Code:&nbsp;&nbsp;</strong><a title="Download Source Code" href="downloads/equal_height_div.rar">Without Jquery</a>&nbsp;&nbsp;<a title="Download Source Code" href="downloads/equal_height_div_jquery.rar">With Jquery</a></p>
<p><strong>Step 1:</strong><br />
Create an index.html file for your layout. I create an example html layout for this article.</p>
<pre name="code" class="xhtml">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
    &lt;title&gt;Equal Height Division Using Javascript and CSS&lt;/title&gt;
    &lt;link type="text/css" rel="stylesheet" href="style.css" /&gt;
    &lt;script type="text/javascript" language="javascript" src="javascript.js"&gt;
    &lt;/script&gt;
&lt;/head&gt;

&lt;body onload="grabtheclass()"&gt;
    &lt;div class="outer"&gt;
        &lt;div class="inner"&gt;
            &lt;div class="main"&gt;
                &lt;p&gt;The Main Content&lt;/p&gt;
                &lt;p&gt;The Main Content&lt;/p&gt;
                &lt;p&gt;The Main Content&lt;/p&gt;
                &lt;p&gt;The Main Content&lt;/p&gt;
                &lt;p&gt;The Main Content&lt;/p&gt;
            &lt;/div&gt;
            &lt;div class="sidebar"&gt;
                &lt;p&gt;The Sidebar Content&lt;/p&gt;
                &lt;p&gt;The Sidebar Content&lt;/p&gt;
                &lt;p&gt;The Sidebar Content&lt;/p&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p><span id="more-199"></span><br />
<strong>STEP 2:</strong><br />
Now we will create a stylesheet for the layout we just created. Let&#8217;s name it as style.css.</p>
<pre name="code" class="css">/*The Styles*/
p {
    text-align:center;
    font-family:Georgia;
    font-size:18px;
    font-variant:small-caps;
    color:#555555;
    padding:0;
    margin:20px 10px 20px 10px;
}
a {
    color:#FFFFFF;
    font-size:11px;
}
.outer {
    background:#FFFFFF;
    margin:0 auto;
    width:800px;
}
.inner {
    width:100%;
    float:left;
}
.main {
    background:#00A2FF;
    width:500px;
    float:left;
    border-right:1px solid #000;
    margin-left:-1px;
}
.sidebar {
    background:#EEEEEE;
    width:300px;
    float:right;
}</pre>
<p><strong>STEP 3:</strong><br />
Finally, here comes the javascript code that controls the height of the divisions and makes them equal height.</p>
<pre name="code" class="javascript">var DivOneClassArr = new Array();
var DivTwoClassArr = new Array();

function getElementsByClassName( ClassName1, ClassName2, obj ) {
    if ( obj.className == ClassName1 ) {
        DivOneClassArr[DivOneClassArr.length] = obj;
    }
    if ( obj.className == ClassName2 ) {
        DivTwoClassArr[DivTwoClassArr.length] = obj;
    }
    for ( var i = 0; i &lt; obj.childNodes.length; i++ )
        getElementsByClassName( ClassName1, ClassName2, obj.childNodes[i] );
}

function grabtheclass() {
    DivOneClassArr.length = 0;
    aryClassElements2.length = 0;
    getElementsByClassName( 'main', 'sidebar', document.body );
    for ( var i = 0; i &lt; DivOneClassArr.length || i &lt; DivTwoClassArr.length; i++ ) {
        if(DivOneClassArr[i].offsetHeight &gt; DivTwoClassArr[i].offsetHeight) {
            DivTwoClassArr[i].style.height = DivOneClassArr[i].offsetHeight +'px';
        }
        else if (DivOneClassArr[i].offsetHeight &lt; DivTwoClassArr[i].offsetHeight) {
            DivOneClassArr[i].style.height = DivTwoClassArr[i].offsetHeight +'px';
        }
    }
}</pre>
<p><strong>Analysis:</strong> This script calculate the height of the divisions taking their class name in the function <strong>grabtheclass()</strong>. The division with more height is selected by comparing the height of the two divisions. If division div1 for instance is having more height, then the other division say div2 with shorter height will be assigned a new height equal to the height of div1. This is what the code does to make them equal height.</p>
<p><a href="http://demo.chromicdesign.com/post/equal_height_div/" title="demo">Check the demo here</a></p>
<p><strong>STEP 4 (Optional):</strong><br />
This step is optional only. Here instead of using the above javascript code, jquery library is used. Then the code below can be used to get similar result. To use this javascript code, you need to import jquery library. You can get jquery library here <a title="Download Jquery Library" href="http://docs.jquery.com/Downloading_jQuery" target="_blank">Jquery.com</a>.</p>
<p>Add the jquery library file in the head section of your html.</p>
<pre name="code" class="xhtml">
&lt;script type="text/javascript" language="javascript" src="jquery-1.3.2.min.js"&gt;&lt;/script&gt;
</pre>
<p>and you can remove the onload attribute in the &lt;body&gt; since this is not necessary anymore if we use jquery.</p>
<p>Now create a file named javascript.js or use the one you created before and use the code below.</p>
<pre name="code" class="javascript">
$(document).ready(function(){
    if($('div.main').height() &gt; $('div.sidebar').height())
    {
        $('div.sidebar').css({
            'height':$('div.main').height()
        });
    }
    else if($('div.sidebar').height() &gt; $('div.main').height())
    {
        $('div.main').css({
            'height':$('div.sidebar').height()
        });
    }
});
</pre>
<p><a href="http://demo.chromicdesign.com/post/equal_height_div_jquery/" title="Demo with jquery">Check the demo here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chromicdesign.com/2009/03/equal-height-division-using-javascript-and-css.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Floating DIV Above Embedded Flash Object</title>
		<link>http://www.chromicdesign.com/2009/03/floating-div-above-embedded-flash-object.html</link>
		<comments>http://www.chromicdesign.com/2009/03/floating-div-above-embedded-flash-object.html#comments</comments>
		<pubDate>Sun, 22 Mar 2009 13:36:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[XHTML & CSS]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.chromicdesign.com/?p=148</guid>
		<description><![CDATA[This simple tips will help you make your division float above flash object or flash player embedded on your website. When you embed a flash object or flash player on your website, the flash object will take the highest number possible z-index by default and all the other division layer will appear below the flash [...]]]></description>
			<content:encoded><![CDATA[<p>This simple tips will help you make your division float above flash object or flash player embedded on your website. When you embed a flash object or flash player on your website, the flash object will take the highest number possible z-index by default and all the other division layer will appear below the flash object. Actually this property of embedded flash object is quite useful in most cases. However when you want some text or division to appear on top of your flash object, you need this tips to fix that issue. You have three options to fix this floating issue.</p>
<p>First option is to compile/recompile your flash object with the parameter &#8216;<em>wmode</em>&#8216; value set to &#8216;<em>opaque</em>&#8216;. However, in most cases, we normally get a precompiled flash object rather than the source flash file. In such cases the second option will be more suitable. Second option is to add a parameter in your flash object as shown in example below</p>
<pre name="code" class="html">&lt;object&gt;
	&lt;param name="bgcolor" value="#FFFFFF" /&gt;
	&lt;param name="width" value="670" /&gt;
	&lt;param name="height" value="390" /&gt;
	&lt;param name="wmode" value="opaque" /&gt;
&lt;/object&gt;</pre>
<p>Third option is to add an attribute &#8216;wmode&#8217; with value set to &#8216;opaque&#8217; in the object file. After performing any one these, your flash player or flash object will float below &lt;DIV&gt; having higher z-index.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chromicdesign.com/2009/03/floating-div-above-embedded-flash-object.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Renaming Multiple MySQL Tables Within A Few Seconds</title>
		<link>http://www.chromicdesign.com/2009/03/renaming-multiple-mysql-tables-within-a-few-seconds.html</link>
		<comments>http://www.chromicdesign.com/2009/03/renaming-multiple-mysql-tables-within-a-few-seconds.html#comments</comments>
		<pubDate>Sat, 28 Feb 2009 20:23:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[phpMyAdmin]]></category>

		<guid isPermaLink="false">http://www.chromicdesign.com/?p=137</guid>
		<description><![CDATA[This can be used to rename the prefix or suffix of a table, but not the whole table name. I came up with this simple tips on renaming multiple tables in your MySQL database within a few seconds.Recently, I was googling on how to rename multiple tables at once in MySQL Database. I came across [...]]]></description>
			<content:encoded><![CDATA[<p><em>This can be used to rename the prefix or suffix of a table, but not the whole table name.</em></p>
<p>I came up with this simple tips on renaming multiple tables in your MySQL database within a few seconds.Recently, I was googling on how to rename multiple tables at once in MySQL Database. I came across few tips but they didn&#8217;t meet my needs. So I came up with this simple way of doing it.</p>
<p>First, you need to have a text editor having &#8216;<strong>Find and Replace</strong>&#8216; feature. Almost every text editor available will be having this feature. I am using Notepad++ for the text editor. The next thing you need to do is to export your database having the tables you need to rename. Export your database to an SQL file and save it on your computer. Now, fire up the text editor of your choice and open the SQL file you downloaded just now. Click the Find and Replace option from your text editor. Find your table name and then type the table name in the &#8216;<strong>Find</strong>&#8216; field, and type the replacement string in the &#8216;<strong>Replace</strong>&#8216; field. Then click &#8216;<strong>Replace All</strong>&#8216; and save the SQL file. For example, If your table name is <strong>tbl_mytable</strong>, you can find the string <strong>tbl_</strong> and replace it with <strong>tl1_. </strong>The find and replace procedure might be different with different editors but they are likely to be similar.</p>
<p>Now, go to phpMyAdmin and drop or backup all the tables inside your database. Import the SQL file you have just edited from your phpMyAdmin and now you are good to go with your tables having new name.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chromicdesign.com/2009/03/renaming-multiple-mysql-tables-within-a-few-seconds.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>RSGallery Simple Tweak</title>
		<link>http://www.chromicdesign.com/2008/07/rsgallery-simple-tweak.html</link>
		<comments>http://www.chromicdesign.com/2008/07/rsgallery-simple-tweak.html#comments</comments>
		<pubDate>Fri, 18 Jul 2008 10:11:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Joomla Module]]></category>
		<category><![CDATA[Recent Image Module]]></category>
		<category><![CDATA[RS Gallery]]></category>

		<guid isPermaLink="false">http://www.chromicdesign.com/?p=120</guid>
		<description><![CDATA[RSGallery is one the most popular and most reviewed Photo Gallery extension for Joomla CMS. This is a very simple tweak but a very useful one for people who don&#8217;t have knowledge about even simple MySQL query structures. And I hope it might be useful for RSGallery users who might not have extra time to [...]]]></description>
			<content:encoded><![CDATA[<p>RSGallery is one the most popular and most reviewed Photo Gallery extension for Joomla CMS. This is a very simple tweak but a very useful one for people who don&#8217;t have knowledge about even simple MySQL query structures. And I hope it might be useful for RSGallery users who might not have extra time to look into the code and tweak around the MySQL query. So, here I provide a simple tweak in the RSGallery module to show the Latest or Recent Image from the RSGallery galleries. Using this module you will be able to show all recent images from all the galleries and you can also exclude a gallery from being displayed in that module.</p>
<p>There can be a case where you want to show latest images from one gallery only instead of having all the latest images from all galleries being listed there. For this purpose I made Candid Photos module. Here you can specify which gallery to be used. You will need to put the Gallery ID of the gallery that you want to use for candid photos. Then in the Candid Photos module, recent images from the gallery you specified only will be displayed.<br />
<span id="more-120"></span></p>
<p>Now here are the two ready made modules for RSGallery. You can download it and modify it as per your requirements ( If you find it useful, please link back ).</p>
<p><strong>The Modules:</strong></p>
<ul>
<li>Latest Pictures Module [ <a title="Latest Pictures Module" href="http://www.chromicdesign.com/downloads/mod_latest_pictures.zip">mod_latest_pictures.zip</a> ].</li>
<li>Latest Pictures Module Extended [ <a title="Latest Pictures Module Extended" href="http://www.chromicdesign.com/downloads/latest-picture-module-extended.zip">latest_picture_module_extended.zip</a> ]</li>
<li>Candid Photos Module [ <a title="Candid Photos Module" href="http://www.chromicdesign.com/downloads/mod_candid_photos.zip">mod_candid_photos.zip</a> ].</li>
</ul>
<p><strong>Installation:</strong></p>
<ol>
<li>Download and install it through the Joomla Installer.</li>
<li>Go to Module Manager and enable the module and select the module position of your choice.</li>
<li>Change the CSS styles of the module to your choice.</li>
<li>You can select the number of photos to display.</li>
<li>Select the gallery to display ( for Candid Photos module ).</li>
<li>Select the gallery to be excluded ( for Latest Pictures module extended ).</li>
<li>The rest you can do it.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.chromicdesign.com/2008/07/rsgallery-simple-tweak.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>WordPress 2.6 Released.</title>
		<link>http://www.chromicdesign.com/2008/07/wordpress-26-released.html</link>
		<comments>http://www.chromicdesign.com/2008/07/wordpress-26-released.html#comments</comments>
		<pubDate>Thu, 17 Jul 2008 10:47:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress 2.6 Released]]></category>

		<guid isPermaLink="false">http://www.chromicdesign.com/?p=113</guid>
		<description><![CDATA[New version of wordpress is released few days back. The new wordpress release brings few new useful features. Some of the new features and improvements were listed below Word count: To get the number of words in th post. Image captions. Bulk management of plugins. A completely revamped image control to allow for easier inserting, [...]]]></description>
			<content:encoded><![CDATA[<p>New version of wordpress is released few days back. The new wordpress release brings few new useful features. Some of the new features and improvements were listed below</p>
<ul>
<li> Word count: To get the number of words in th post.</li>
<li>Image captions.</li>
<li>Bulk management of plugins.</li>
<li>A completely revamped image control to allow for easier inserting, floating, and resizing. It’s now fully integrated with the WYSIWYG.</li>
<li>Drag-and-drop reordering of Galleries.</li>
<li>Plugin update notification bubble.</li>
<li>Remote publishing via XML-RPC and APP is now secure (off) by default, but you can turn it on easily through the options screen.</li>
<li>Full SSL support in the core, and the ability to force SSL for security.</li>
<li>You can now have many thousands of pages or categories with no interface issues.</li>
<li>Ability to move your wp-config file and wp-content directories to a custom location, for “clean” SVN checkouts.</li>
<li>A number of proactive security enhancements, including cookies and database interactions.</li>
<li>Stronger better faster versions of TinyMCE, jQuery, and jQuery UI.</li>
</ul>
<p>You can find more details in <a title="Wordpress" href="http://www.wordpress.org/" target="_blank">wordpress.org</a>.</p>
<blockquote><p>I’m happy to announce that version 2.6 of WordPress.org is now available, almost a month ahead schedule. Version 2.6 “Tyner,” named for jazz pianist McCoy Tyner, contains a number of new features that make WordPress a more powerful CMS: you can now track changes to every post and page and easily post from wherever you are on the web, <a href="http://wordpress.org/development/2008/07/wordpress-26-tyner/">plus dozens more…</a><br />
<a href="http://www.wordpress.org/">www.wordpress.org</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.chromicdesign.com/2008/07/wordpress-26-released.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Firefox 3.0 Released</title>
		<link>http://www.chromicdesign.com/2008/06/firefox-30-released.html</link>
		<comments>http://www.chromicdesign.com/2008/06/firefox-30-released.html#comments</comments>
		<pubDate>Thu, 19 Jun 2008 01:03:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Firefox 3.0 released]]></category>
		<category><![CDATA[Web Browser]]></category>

		<guid isPermaLink="false">http://www.chromicdesign.com/?p=48</guid>
		<description><![CDATA[Firefox 3.0 was recently released to be the fastest, most reliable and powerful browser again. The new version of firefox will include many new features like appearance, security and bug fixes from previous release. Check the official Mozilla website for more details and download, or here is the download link. Program Size : 7.8MB Version [...]]]></description>
			<content:encoded><![CDATA[<p>Firefox 3.0 was recently released to be the fastest, most reliable and powerful browser again. The new version of firefox will include many new features like appearance, security and bug fixes from previous release. Check the official Mozilla website for more details and download, or <a href="http://download.mozilla.org/?product=firefox-3.0&amp;os=win&amp;lang=en-US">here is the download link</a>.</p>
<p>Program Size : <strong>7.8</strong>MB<br />
Version : <strong>3.0</strong></p>
<p>There is one small reason why I want to make this post. In the previous post I wrote about the Word Wrapping in firefox, but the fixes I have given there is no longer necessary if you upgrade to Firefox 3.0. The word wrapping is now automatically taken care of in Firefox 3.0.</p>
<blockquote><p>If there is only Firefox browser in the Web, one third of a web developers work will be reduced.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.chromicdesign.com/2008/06/firefox-30-released.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Blogroll Icon</title>
		<link>http://www.chromicdesign.com/2008/06/wordpress-blogroll-icon.html</link>
		<comments>http://www.chromicdesign.com/2008/06/wordpress-blogroll-icon.html#comments</comments>
		<pubDate>Thu, 19 Jun 2008 00:40:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[XHTML & CSS]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Designing]]></category>

		<guid isPermaLink="false">http://www.chromicdesign.com/?p=43</guid>
		<description><![CDATA[After a long pause I came back with this tweak for wordpress. Here it comes, since I work a lot with wordpress these days. I came across this wordpress tweak when one of my client wants a Blogroll Icon to be displayed along with the blogroll link. So here&#8217;s the steps on &#8216;How to show [...]]]></description>
			<content:encoded><![CDATA[<p>After a long pause I came back with this tweak for wordpress. Here it comes, since I work a lot with wordpress these days. <img src='http://www.chromicdesign.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I came across this wordpress tweak when one of my client wants a Blogroll Icon to be displayed along with the blogroll link. So here&#8217;s the steps on &#8216;How to show a Blogroll Icon&#8217; in wordpress blog. Originally, what you have with wordpress blogroll is a list of links to websites and blogs. So to show image beside the blogroll link (most probably on the right side of the link text), perform the following steps.</p>
<p><strong>Step1:</strong><br />
First you need to get the plugin ZocPowerblogroll from his website. Download the plugin and this plugin will do most of the work for us.<br />
<span id="more-43"></span><br />
<strong>Step2:</strong><br />
Before activation of the plugin, you have to put this funtion in your &#8216;sidebar.php&#8217;. Placed this function</p>
<pre name="code" class="php">
&lt;?php
wp_zoc_powerblogroll();
?&gt;
</pre>
<p>in your sidebar where you want the blogroll to appear. If your template is widgetized, you need to keep this function outside of the widget &#8216;if&#8217; condition, place before or above this &#8216;if&#8217; condition</p>
<pre name="code" class="php">
&lt;?php
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('lsidebar') ):
?&gt;
</pre>
<p><strong>Step3:</strong><br />
Load the plugin in the plugin directory, activate the plugin and you are ready to go. This plugin is compatible upto wordpress version 2.5.x. So you will not have any problem here. You may want to change how the blogroll is displayed by adding simple CSS code in the &#8216;style.css&#8217;.</p>
<p><strong>Step4:</strong><br />
Now, to show the icon in the blogroll, you need to have the icon files. You have two options, you can upload the icons directly to your server in your wp-content directory or you can get the links of an icon from freeicon websites. Now, you need to include the link of the icons in your blogroll links.</p>
<p><strong>Step5:</strong><br />
Log in to the admin panel and go to Manage»Link (for wordpress 2.5 and later) or Blogroll in wordpress 2.3.x. Click on the edit blogroll link option, now you have the edit-link page, expand the advance tab and you will find an input form for &#8216;Image Address&#8217;. You have to paste the link here. Now save the blogroll link and check your blog or website again, the icon will appear on the right side of the link you have just edited.</p>
<p><strong>The modification:</strong><br />
Now, you have the icon appeared on the blogroll, but there is one simple modification I made on the plugin. In the input form for Image address, the plugin originally accept or allow only the hyperlink like http://www.sitename.com/iconfilename for the icon location. If you upload your icon file in the wp-content directory (/wp-content/icons/), you cannot specify the path of the icon like this (/wp-content/icons/iconfilename.xxx) for the &#8216;Image Address&#8217; using this plugin. So the following modifications have been made. It&#8217;s a simple modification, first find the following lines in the plugin file (zoc_powerblogroll.php).</p>
<pre name="code" class="php">
if (substr($book-&gt;link_image,0,4) == 'http' &amp;&amp; $showLinkFavicon)
echo "&lt;a href=\"" . $book-&gt;link_url . "\"&gt; &lt;img src=\"" . $book-&gt;link_image . "\" alt=\"" . $book-&gt;link_name . " website\" /&gt; &lt;/a&gt;\n";
</pre>
<p>After you find this lines, make the modification as below, or replaced the above lines with the code below or download the modified plugin here.</p>
<pre name="code" class="php">
if (substr($book-&gt;link_image,0,4) == 'http' &amp;&amp; $showLinkFavicon)
echo "&lt;div class=\"blogroll_image\"&gt; &lt;img src=\"" . $book-&gt;link_image . "\" alt=\"" . $book-&gt;link_image." website\" /&gt; &lt;/div&gt;";
elseif ($showLinkFavicon)
echo "&lt;div class=\"blogroll_image\"&gt; &lt;img src=\"" . get_settings('home') . $book-&gt;link_image . "\" alt=\"" . $book-&gt;link_name . " website\" /&gt; &lt;/div&gt;";
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.chromicdesign.com/2008/06/wordpress-blogroll-icon.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Word Wrap In Firefox</title>
		<link>http://www.chromicdesign.com/2008/05/word-wrap-in-firefox.html</link>
		<comments>http://www.chromicdesign.com/2008/05/word-wrap-in-firefox.html#comments</comments>
		<pubDate>Mon, 19 May 2008 00:46:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Word Wrap]]></category>

		<guid isPermaLink="false">http://www.chromicdesign.com/?p=45</guid>
		<description><![CDATA[I came across this problem in Firefox when I put a long link in my post. When there is a long link in your post, Firefox cannot display it properly. Firefox cannot wrap it within the content division and the link will flow out of the division or the last part of the link will [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.chromicdesign.com/wp-content/uploads/2008/06/wordwrap1.jpg"><img class="alignnone size-full wp-image-44" title="wordwrap1" src="http://www.chromicdesign.com/wp-content/uploads/2008/06/wordwrap1.jpg" alt="" width="500" height="222" /></a></p>
<p>I came across this problem in Firefox when I put a long link in my post. When there is a long link in your post, Firefox cannot display it properly. Firefox cannot wrap it within the content division and the link will flow out of the division or the last part of the link will not be visible in the post area. However this problem is not there in Microsoft Internet Explorer since word wrap is Microsoft proprietary extension to CSS which is introduced in IE 5.5.</p>
<p>Here the reason why I talk about link specifically is that there cannot be any spaces within a link, so we need word wrap here, that is not taken care in Firefox. When we write a normal paragraph, we usually put white spaces or spaces between each word, so we don&#8217;t need to consider the wrapping of word in normal paragraph. As i have said, in a link there is no space, so we need to add a simple code in our css. First, we have to put our link inside the CODE tag as shown below<br />
<span id="more-45"></span></p>
<pre name="code" class="xhtml">&lt;code&gt;YourLinkHere&lt;/code&gt;</pre>
<p>I choose the CODE tag because we usually use this tag to include code within our post, so that the browser will not parsed the code inside the CODE tag and it will display as it is. The next thing is writing the css code, you have to add this css code in your css style.</p>
<pre name="code" class="css">code {
   display:block;
   font-size:14px;
   line-height:1.2em;
   overflow-x:auto;
   overflow-y:hidden;
}</pre>
<p>This is how firefox will display it:<br />
<a href="http://www.chromicdesign.com/wp-content/uploads/2008/06/wordwrap4.jpg"><img class="alignnone size-full wp-image-46" title="wordwrap4" src="http://www.chromicdesign.com/wp-content/uploads/2008/06/wordwrap4.jpg" alt="" width="500" height="97" /></a></p>
<p>Now you have to put your long link inside the CODE tag everywhere you want to attach a link in your post. In Firefox, the link (only if it is too long) will now be within a block element that can be scrolled in x-direction. This code is effective only when the link is long enough to flow out of the boundary.</p>
<p>The next thing you need to do is to add one more css code for Internet Explorer. Without the above code, IE already wrap the text correctly and display it properly. But, since you have change the display style of your CODE tag, you need to give IE the default display style back. To do this add the css code below and this css will work only if our website is viewed in Internet Explorer (you have to add the if condition).</p>
<pre name="code" class="xhtml">&lt;!--[if IE]&gt;
&lt;style type="text/css"&gt;
   .post-body code {
   display:inline;
   word-wrap: break-word;
}
&lt;/style&gt;
&lt;![endif]--&gt;</pre>
<p>This is how Internet explorer will display it:</p>
<p><a href="http://www.chromicdesign.com/wp-content/uploads/2008/06/wordwrap3.jpg"><img class="alignnone size-full wp-image-47" title="wordwrap3" src="http://www.chromicdesign.com/wp-content/uploads/2008/06/wordwrap3.jpg" alt="" width="500" height="105" /></a></p>
<p>Now, this css will override the previous css written for Firefox if Internet Explorer is used, and IE will get its default word wrap property again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chromicdesign.com/2008/05/word-wrap-in-firefox.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

