<?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>Webmaster Bulletin</title>
	<atom:link href="http://www.webmasterbulletin.net/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webmasterbulletin.net</link>
	<description>Rambling around the web publishing industry</description>
	<lastBuildDate>Thu, 02 Sep 2010 07:39:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>OpenSource Task list managers</title>
		<link>http://www.webmasterbulletin.net/2010/09/opensource-task-list-managers/1290</link>
		<comments>http://www.webmasterbulletin.net/2010/09/opensource-task-list-managers/1290#comments</comments>
		<pubDate>Thu, 02 Sep 2010 07:38:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Applications]]></category>

		<guid isPermaLink="false">http://www.webmasterbulletin.net/?p=1290</guid>
		<description><![CDATA[
A typical workgroup and/or CRM applications comes with  full featured applications : sugarcrm, tine2.0 come with much more than contact management, task tracking, customer relation ship, and are conceived to integrate third party developments (plugins). But if you only need to track work to do, might have a look at simpler web based php applications [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-medium wp-image-1291" title="home-portal-web" src="http://www.webmasterbulletin.net/wp-content/uploads/2010/09/home-portal-web-500x426.png" alt="home-portal-web" width="500" height="426" /></p>
<p>A typical workgroup and/or CRM applications comes with  full featured applications : sugarcrm,<a href="http://www.webmasterbulletin.net/2008/09/web-developers-have-a-look-at-tine-20/247"> tine2.0</a> come with much more than contact management, task tracking, customer relation ship, and are conceived to integrate third party developments (plugins). But if you only need to track work to do, might have a look at simpler web based php applications :</p>
<ul>
<li><a href="http://www.mytinytodo.net/" target="_blank">myTinyTodo </a>is so small and simple &#8211; yet ajax powered-  you&#8217;d love it at first sight</li>
<li><a href="http://www.plancake.com/" target="_blank">TaskFreak </a>is the free version of a much more advanced applicatin, can be enough for a lot of small freelance  projects.</li>
<li><a href="http://www.plancake.com/" target="_blank">PlanCake </a>is a nice hosted  job tracking application that can also be downloaded and installed on your server. Nice for testing before adopting.</li>
<li><a href="http://www.todoyu.com/en/todoyu/" target="_blank">todoyu </a>(picture above) is the most advanced of our selection, with advanced features : manage multiple projects with team members but also clients online, overview your customer&#8217;s data, assign tasks to team member and external staff, share files within your work group, schedule events in a shared calendar, check and meet the deadlines</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.webmasterbulletin.net/2010/09/opensource-task-list-managers/1290/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento configurable products : display images of sub product</title>
		<link>http://www.webmasterbulletin.net/2010/08/magento-configurable-products-display-images-of-sub-product/1285</link>
		<comments>http://www.webmasterbulletin.net/2010/08/magento-configurable-products-display-images-of-sub-product/1285#comments</comments>
		<pubDate>Fri, 27 Aug 2010 08:09:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://www.webmasterbulletin.net/?p=1285</guid>
		<description><![CDATA[In a previous article, I explored a technique that displays the first image of a sub product when selected in Magento&#8217;s configurable product page. This time we go one step further by changing the set of thubmnails to display all images associated with the selected sub / simple product. this tutorial requires completion of the [...]]]></description>
			<content:encoded><![CDATA[<p>In a previous article, I explored a technique that displays the first image of a sub product when selected in Magento&#8217;s configurable product page. This time we go one step further by changing the set of thubmnails to display all images associated with the selected sub / simple product. this tutorial requires completion of the the <a href="http://www.webmasterbulletin.net/2010/06/magento-configurable-products-change-product-image-on-thumbnail-option/1255">previous one  including the magento wiki &#8216;Change Product Image on View Page to Associated Product&#8217;s Image&#8217;</a> before you go ahead :</p>
<ol>
<li>in your media.phtml file, the big images are loaded via html. the image id is a collection of images from which only the first one is displayed initially, the other are waiting for the thumbail to be clicked. Simply add here the images collection from associated products,  each image being allocated a css ID built from product id and the increment
<pre class="brush:php">        &lt;?//&lt;associated product all images&gt;
            if ($_product-&gt;getTypeId() == "configurable") {
        $associated_products = $_product-&gt;loadByAttribute('sku', $_product-&gt;getSku())-&gt;getTypeInstance()-&gt;getUsedProducts();
          foreach ($associated_products as $assoc)
            {
            $assocProduct =Mage::getModel('catalog/product')-&gt;load($assoc-&gt;getId());
             $i=0; 

             if (count($assocProduct-&gt;getMediaGalleryImages()) &gt; 0) {
                   foreach ($assocProduct-&gt;getMediaGalleryImages() as $_image)
                    {
                     $imageFile=str_replace(Mage::getBaseUrl('media'),"",$_image-&gt;url);
                     $imageId=$assoc-&gt;getId() . "_" . $i++;?&gt;
                      &lt;div onclick="showZoom('&lt;?=$imageFile?&gt;')" class="jqzoom"&gt;
              &lt;img style="z-index:-1;display:none" id="image&lt;?php echo $imageId; ?&gt;"
              width="340px"
              height="250px"
              src="&lt;?php echo $this-&gt;helper('catalog/image')-&gt;init($assocProduct, 'thumbnail2', $_image-&gt;getFile())-&gt;resize(350, 250); ?&gt;"
              alt="&lt;?php echo $this-&gt;htmlEscape($assocProduct-&gt;getName()) ?&gt;"
                jqimg="&lt;?php echo $_image-&gt;url; ?&gt;"&gt;&lt;/div&gt;
            &lt;?php
                     }
                }
            }
            } //&lt;/associated product all images&gt;
        ?&gt;</pre>
</li>
<li>in the same file, below, the images thumbnails are displayed in unordered lists. What you need to do here to create one unordered list per associated product, with a<em> display none </em>styling  :
<pre class="brush:php">            &lt;?//&lt;associated product all images&gt;
            if ($_product-&gt;getTypeId() == "configurable") {
        $associated_products = $_product-&gt;loadByAttribute('sku', $_product-&gt;getSku())-&gt;getTypeInstance()-&gt;getUsedProducts();
          foreach ($associated_products as $assoc)
            {
            $assocProduct =Mage::getModel('catalog/product')-&gt;load($assoc-&gt;getId());
            $i=0;
             if (count($assocProduct-&gt;getMediaGalleryImages()) &gt; 0) { ?&gt;&lt;ul id="teckLoom&lt;?=$assoc-&gt;getId()?&gt;" style="z-index:-1;display:none"&gt;   &lt;?
                   foreach ($assocProduct-&gt;getMediaGalleryImages() as $_image)
                    {
                     $imageFile=str_replace(Mage::getBaseUrl('media'),"",$_image-&gt;url);
                     $imageId=$assoc-&gt;getId() . "_" . $i++;?&gt;
                     &lt;li&gt;
            &lt;a href="#" onclick="jSelectImage('&lt;?=$imageId ?&gt;'); return false;"&gt;
            &lt;img src="&lt;?php echo $this-&gt;helper('catalog/image')-&gt;init($assocProduct, 'thumbnail', $_image-&gt;getFile())-&gt;resize(70); ?&gt;" alt="&lt;?php echo $this-&gt;htmlEscape($_image-&gt;getLabel()) ?&gt;" title="&lt;?php echo $this-&gt;htmlEscape($_image-&gt;getLabel()) ?&gt;" /&gt;
        &lt;/a&gt;         &lt;/li&gt;

            &lt;?php
                     }      ?&gt;&lt;/ul&gt; &lt;?
                }
            }  }
              //&lt;/associated product all images&gt;   ?&gt;</pre>
</li>
<li>use the select color  function from our <a href="http://www.webmasterbulletin.net/2010/06/magento-configurable-products-change-product-image-on-thumbnail-option/1255">previous article</a> to display the associated image set when an option is selected via image click :
<pre class="brush:js">function selectColor(idAttribute, idProduct)
{
jQuery('#attribute76').val(idAttribute);
spConfig.reloadPrice();
displayProductConfigImage(idProduct);
jQuery(".more-views ul").hide();
jQuery(".more-views ul#teckLoom" + idProduct).show();
}</pre>
</li>
<li>add the following code to js/varien/product.js to let the effect work when an option is selected in the dropdown menu :
<pre class="brush:js">var productNo = intersect(selectedAssocProducts) || selectedAssocProducts[attributeId][0];
//alert(jQuery("#image0").attr('src'));
//$('image').attr("src", assocIMG[productNo]);
displayProductConfigImage(productNo);
jQuery(".more-views ul").hide();
jQuery(".more-views ul#teckLoom" + productNo).show();</pre>
</li>
<li>Have a look at the result on ruedesiam&#8217;s lovely designed multi color loom furniture : try  the <a href="http://www.ruedesiam.com/collection/chaise-fauteuil-canape-banc/chaise-fauteuil-canape-loom/chaise-loom-giulietta.html">chaise giulietta</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.webmasterbulletin.net/2010/08/magento-configurable-products-display-images-of-sub-product/1285/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Carrington for Wordpress makes CMS easier</title>
		<link>http://www.webmasterbulletin.net/2010/08/carrington-for-wordpress-makes-cms-easier/1281</link>
		<comments>http://www.webmasterbulletin.net/2010/08/carrington-for-wordpress-makes-cms-easier/1281#comments</comments>
		<pubDate>Thu, 05 Aug 2010 12:14:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Content Management]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.webmasterbulletin.net/?p=1281</guid>
		<description><![CDATA[Sounds too good to be true : the Carrington wordpress theme framework, developped by Colorado based CrowdFavorite, implements what we&#8217;ve all been waiting  for :  AJAX/ drag &#38; drop  wysiywg page structure management. It builds on the existing core WordPress theme structure and functionality and uses core WordPress theme functions for easy adoption by experienced [...]]]></description>
			<content:encoded><![CDATA[<p>Sounds too good to be true : the Carrington wordpress theme framework, developped by Colorado based CrowdFavorite, implements what we&#8217;ve all been waiting  for :  AJAX/ drag &amp; drop  wysiywg page structure management. <em>It builds on the existing core WordPress theme structure and functionality and uses core WordPress theme functions for easy adoption by experienced theme authors.</em></p>
<p>Announcement : <a href="http://crowdfavorite.com/wordpress/carrington/">http://crowdfavorite.com/wordpress/carrington/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmasterbulletin.net/2010/08/carrington-for-wordpress-makes-cms-easier/1281/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento : find out which xml fails</title>
		<link>http://www.webmasterbulletin.net/2010/07/magento-find-out-which-xml-fails/1274</link>
		<comments>http://www.webmasterbulletin.net/2010/07/magento-find-out-which-xml-fails/1274#comments</comments>
		<pubDate>Wed, 21 Jul 2010 09:45:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Applications]]></category>
		<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://www.webmasterbulletin.net/?p=1274</guid>
		<description><![CDATA[If you&#8217;ve been working with Magento extensions or layout, you might have encountered the frustration of trying to find out which XML generates the following error, potentially harming the whole magento installation :
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 61: parser error : StartTag: invalid element name  in C:\aa_work\RueDeSiam\www\lib\Varien\Simplexml\Config.php on line 502

#0 C:\aa_work\RueDeSiam\www\lib\Varien\Simplexml\Config.php(502): mageCoreErrorHandler(2, 'simplexml_load_...', 'C:\aa_work\RueD...', [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve been working with Magento extensions or layout, you might have encountered the frustration of trying to find out which XML generates the following error, potentially harming the whole magento installation :</p>
<pre class="brush:plain">Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 61: parser error : StartTag: invalid element name  in C:\aa_work\RueDeSiam\www\lib\Varien\Simplexml\Config.php on line 502

#0 C:\aa_work\RueDeSiam\www\lib\Varien\Simplexml\Config.php(502): mageCoreErrorHandler(2, 'simplexml_load_...', 'C:\aa_work\RueD...', 502, Array)
#1 C:\aa_work\RueDeSiam\www\lib\Varien\Simplexml\Config.php(489): Varien_Simplexml_Config-&gt;loadString('?????? ...', 'Mage_Core_Model...')
#2 C:\aa_work\RueDeSiam\www\app\code\core\Mage\Adminhtml\Model\Config.php(102): Varien_Simplexml_Config-&gt;loadFile('?????? ...', 'Mage_Core_Model...')
#3 C:\aa_work\RueDeSiam\www\app\code\core\Mage\Adminhtml\Model\Config.php(63): Mage_Adminhtml_Model_Config-&gt;_initSectionsAndTabs('C:\aa_work\RueD...')
#4 C:\aa_work\RueDeSiam\www\app\code\core\Mage\Adminhtml\controllers\System\ConfigController.php(70): Mage_Adminhtml_Model_Config-&gt;getSections()
#5 C:\aa_work\RueDeSiam\www\app\code\core\Mage\Core\Controller\Varien\Action.php(367): Mage_Adminhtml_System_ConfigController-&gt;editAction(NULL)
#6 C:\aa_work\RueDeSiam\www\app\code\core\Mage\Core\Controller\Varien\Router\Admin.php(143): Mage_Core_Controller_Varien_Action-&gt;dispatch()
#7 C:\aa_work\RueDeSiam\www\app\code\core\Mage\Core\Controller\Varien\Front.php(158): Mage_Core_Controller_Varien_Router_Admin-&gt;match('edit')
#8 C:\aa_work\RueDeSiam\www\app\Mage.php(457): Mage_Core_Controller_Varien_Front-&gt;dispatch(Object(Mage_Core_Controller_Request_Http))
#9 C:\aa_work\RueDeSiam\www\index.php(66): Mage::run()
#10 {main}</pre>
<p>the problem with this kind of error is that it doesn&#8217;t tell you which file is causing the error. To find out, work with your local installation</p>
<ul>
<li>set the developer mode in index.php : Mage::setIsDeveloperMode(true);</li>
<li>open the app/code/core/Mage/Adminhtml/Model/Config.php and let the _initSectionsAndTabs tell you which xml is being loaded in the modules loop, just after $configFile is defined : echo $configFile;</li>
<li>the last file that pops before the error is thrown out is likely to cause the breakout !!</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.webmasterbulletin.net/2010/07/magento-find-out-which-xml-fails/1274/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wp super cache and WP3.0 menus</title>
		<link>http://www.webmasterbulletin.net/2010/07/wp-super-cache-and-wp3-0-menus/1270</link>
		<comments>http://www.webmasterbulletin.net/2010/07/wp-super-cache-and-wp3-0-menus/1270#comments</comments>
		<pubDate>Fri, 16 Jul 2010 09:09:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.webmasterbulletin.net/?p=1270</guid>
		<description><![CDATA[For those who are running small servers and wish to accelerate their worpdress installation, we recommend the installation of eaccelerator but also the wp-super-cache plugin. There is just a small hack for wordpress 3.0 menu users : the cache should be totally refreshed when a menu is modified, and this is performed via the wp_update_nav_menu [...]]]></description>
			<content:encoded><![CDATA[<p>For those who are running small servers and wish to accelerate their worpdress installation, we recommend the installation of eaccelerator but also the <a href="http://wordpress.org/extend/plugins/wp-super-cache/">wp-super-cache plugin</a>. There is just a small hack for wordpress 3.0 menu users : the cache should be totally refreshed when a menu is modified, and this is performed via the wp_update_nav_menu action, instantiated in the wp-cache-phase2.php / wp_cache_phase2 function</p>
<pre class="brush:php">add_action("wp_update_nav_menu" , 'wp_cache_clear_cache' );</pre>
<p><span id="more-1270"></span></p>
<p><strong>cache clear for POD CMS</strong></p>
<p>Generally, all actions that update content from the admin should clear the cache. the following line, to be added in the same manner, will catch the pod cms update action and clear the cache (<a href="http://podscms.org/qna/questions/480/pods-with-wp-super-cache-clear-post-save" target="_blank">pod cms forum discussion</a>).</p>
<pre class="brush:php">add_action('pods_post_save_pod_item','wp_cache_clear_cache');</pre>
<p>Same job for other plugins : look for a hook (search do_action in files)  and use the save action of your plugin data to clear the cache .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmasterbulletin.net/2010/07/wp-super-cache-and-wp3-0-menus/1270/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP development framework comparison : symfony, Zend Framework, Code Igniter</title>
		<link>http://www.webmasterbulletin.net/2010/07/php-development-framework-comparison-symfony-zend-framework-code-igniter/1262</link>
		<comments>http://www.webmasterbulletin.net/2010/07/php-development-framework-comparison-symfony-zend-framework-code-igniter/1262#comments</comments>
		<pubDate>Tue, 06 Jul 2010 17:37:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Applications]]></category>

		<guid isPermaLink="false">http://www.webmasterbulletin.net/?p=1262</guid>
		<description><![CDATA[Before starting development on a new project, I need to investigate 3 popular PHP development frameworks. I would say if you need to choose, stick to the one you know already. I you don&#8217;t know a framework already then you&#8217;re in trouble and you need advice. Here a few things I would look for.
Beyond the [...]]]></description>
			<content:encoded><![CDATA[<p>Before starting development on a new project, I need to investigate 3 popular PHP development frameworks. I would say if you need to choose, stick to the one you know already. I you don&#8217;t know a framework already then you&#8217;re in trouble and you need advice. Here a few things I would look for.</p>
<p><strong>Beyond the code and standarts : what&#8217;s available</strong></p>
<p>MVC is a nice idea but it&#8217;s only an idea and even if it&#8217;s useful to structure the code the power of frameworks are in their community.</p>
<ul>
<li><strong>Look for application samples. </strong>
<ul>
<li style="text-align: left;">Zend framework used to have a good application sample, distributed free as DodoApp. Unfortunately it&#8217;s not available any more but other applications are out there to get you started if you need code samples, check out<a href="http://www.webmasterbulletin.net/2009/09/5-opensource-applications-built-around-zend-framework/1005"> our article</a>. In general I have been looking a lot and it&#8217;s hard to find a starter application for Zend Framework</li>
<li style="text-align: left;">Symfony has a lot of opensource applications, <a href="http://trac.symfony-project.org/wiki/ApplicationsDevelopedWithSymfony">the list is here </a></li>
<li style="text-align: left;">Code Igniter is simpler to learn apparently but you&#8217;ll find it hard to find good sample applications .We &#8216;ve listed two of them in a <a href="http://www.webmasterbulletin.net/2009/11/code-igniter-opensource-projects/1051">previous article</a></li>
</ul>
<li><strong>Look for available code snippets</strong></li>
<ul>
<li>Zend framework code snippets can be found all over the web but you have to know the framework really well to integrate them in your application</li>
<li>Code igniter snippets are displayed on the<a href="http://codeigniter.com/forums/viewforum/58/"> forum but not categorized</a></li>
<li>symfony snippets are organized and tagged in the plugin repository, easily available from <a href="http://www.symfony-project.org/plugins/">Symfony&#8217;s official web site</a>,  and I have to say that&#8217;s a real sign of good community work</li>
</ul>
</li>
</ul>
<p>The conclusion is make your life and your own choice. I was using Zend framework but a few minutes investigation convince me I should look into symfony.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmasterbulletin.net/2010/07/php-development-framework-comparison-symfony-zend-framework-code-igniter/1262/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Configurable products : change product image on thumbnail option</title>
		<link>http://www.webmasterbulletin.net/2010/06/magento-configurable-products-change-product-image-on-thumbnail-option/1255</link>
		<comments>http://www.webmasterbulletin.net/2010/06/magento-configurable-products-change-product-image-on-thumbnail-option/1255#comments</comments>
		<pubDate>Mon, 14 Jun 2010 10:21:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://www.webmasterbulletin.net/?p=1255</guid>
		<description><![CDATA[This article describes a  color chooser for magento product page, a technique that automatically use product attributes from a Magento admin to display color thumbnails that

allows end user to choose color option by clicking on thumbnail
change product image to associated product image

the technique above is inspired from Magento Wiki page that describes the javascript that [...]]]></description>
			<content:encoded><![CDATA[<p>This article describes a  color chooser for magento product page, a technique that automatically use product attributes from a Magento admin to display color thumbnails that</p>
<ul>
<li>allows end user to choose color option by clicking on thumbnail</li>
<li>change product image to associated product image</li>
</ul>
<p>the technique above is inspired from<a href="http://www.magentocommerce.com/wiki/how-to/change_product_image_on_view_page_to_associated_product_s_image" target="_blank"> Magento Wiki</a> page that describes the javascript that catches the Options price select event to modifyu the product image. We&#8217;ve changed a few things though</p>
<ol>
<li><span id="more-1255"></span>this example is a color chooser. First thing is to create a folder in media/productColors with thumbnails of available colors, all stored in a file with the name of the color</li>
<li>follow the <a href="http://www.magentocommerce.com/wiki/how-to/change_product_image_on_view_page_to_associated_product_s_image" target="_blank">Magento Wiki tutorial carefully</a></li>
<li>instead of adding the code to view.phtml, create a new phtml file<br />
app/design/frontend/*/*/template/catalog/product/view/WebmasterBulletin_JsConfigColors.phtml with the following code</p>
<pre class="brush:php">&lt;?
    $_helper = $this-&gt;helper('catalog/output');
    $_product = $this-&gt;getProduct();
?&gt;
&lt;script type="text/javascript"&gt;
    var optionsPrice = new Product.OptionsPrice(&lt;?php echo $this-&gt;getJsonConfig() ?&gt;);

    var assocIMG = { // Added
    &lt;?php
    if ($_product-&gt;getTypeId() == "configurable") {
        $associated_products = $_product-&gt;loadByAttribute('sku', $_product-&gt;getSku())-&gt;getTypeInstance()-&gt;getUsedProducts();

        foreach ($associated_products as $assoc)
            {$dados[] = $assoc-&gt;getId().":'".($assoc-&gt;image == "no_selection" || $assoc-&gt;image == "" ? $this-&gt;helper('catalog/image')-&gt;init($_product, 'image', $_product-&gt;image)-&gt;resize(365,400) : $this-&gt;helper('catalog/image')-&gt;init($assoc, 'image', $assoc-&gt;image)-&gt;resize(365,400))."'";
            }
    } else {
        $dados[] =  "''";
    }
    echo implode(',', $dados );
    ?&gt;
    }   

function displayProductConfigImage(id)
{
jQuery('#image0').attr('src', assocIMG[id]) ;
jQuery('#image0').attr('jqimg', assocIMG[id]) ;
jSelectImage('0');
}
function selectColor(idAttribute, idProduct)
{
jQuery('#attribute76').val(idAttribute);
spConfig.reloadPrice();
displayProductConfigImage(idProduct);
}
var tipConfigImgThumb = "Choose your color :";
&lt;/script&gt;
&lt;?  $ii=0;foreach ($associated_products as $assoc)
         {
         $color=$assoc-&gt;getAttributeText("color");
         $w=100; $h=100;
         $imageColorSource =  "/media/productColors/" . strtolower($color) . ".jpg";
         $imageColorResized =  Mage::getBaseUrl() . "/media/phpThumb_1.7.9/phpThumb.php?src=" .  $imageColorSource . "&amp;w=$w&amp;h=$h&amp;iar=1";?&gt;
         &lt;a href="javascript:selectColor(&lt;?=$assoc-&gt;getColor()?&gt;, &lt;?=$assoc-&gt;getId()?&gt;)" id="ConfigImgThumb&lt;?=$assoc-&gt;getId()?&gt;"&gt;&lt;img src="&lt;?=$imageColorResized?&gt;" width="&lt;?=$w?&gt;" height="&lt;?=$h?&gt;" alt="&lt;?=$color?&gt;" border="0"&gt;&lt;/a&gt;
&lt;script&gt;new Tip('ConfigImgThumb&lt;?=$assoc-&gt;getId()?&gt;', tipConfigImgThumb + '&lt;b&gt;&lt;?=$color?&gt;&lt;/b&gt;');&lt;/script&gt;&lt;?
         }
     ?&gt;</pre>
</li>
<li>reference WebmasterBulletin_JsConfigColors.phtml in layout/catalog.xml, in the catalog/product_view block section :
<pre class="brush:xml">    &lt;block type="catalog/product_view" name="product.products_jsConfigColors" as="webmasterbulletin_products_js_config_colors" template="catalog/product/view/WebmasterBulletin_JsConfigColors.phtml" /&gt;</pre>
</li>
<li>in the product.view.phtml you can now place your color chooser where you like
<pre class="brush:php">&lt;?if ($_product-&gt;isSaleable() &amp;&amp; $this-&gt;hasOptions()) echo $this-&gt;getChildHtml('poleouest_products_js_config_colors');?&gt;</pre>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.webmasterbulletin.net/2010/06/magento-configurable-products-change-product-image-on-thumbnail-option/1255/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Publish wordpress posts to social networks</title>
		<link>http://www.webmasterbulletin.net/2010/06/publish-wordpress-posts-to-social-networks/1243</link>
		<comments>http://www.webmasterbulletin.net/2010/06/publish-wordpress-posts-to-social-networks/1243#comments</comments>
		<pubDate>Wed, 09 Jun 2010 10:03:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Applications]]></category>

		<guid isPermaLink="false">http://www.webmasterbulletin.net/?p=1243</guid>
		<description><![CDATA[
Worpdress is great for quick publishing and a variety of plugins are available that let users publish to various platforms. The image above, extracted from the gigya website, illustrates the versatily of social networks. Gigya itself provides a plugin for Wordpress. The technique is commonly described as cross posting, meaning one post on wordpress notifyes [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-medium wp-image-1244" title="Header_Share" src="http://www.webmasterbulletin.net/wp-content/uploads/2010/06/Header_Share-499x116.jpg" alt="Header_Share" width="499" height="116" /></p>
<p>Worpdress is great for quick publishing and a variety of plugins are available that let users publish to various platforms. The image above, extracted from the gigya website, illustrates the versatily of social networks. <a href="http://www.gigya.com/public/platform/Share.aspx">Gigya </a>itself provides a plugin for Wordpress. The technique is commonly described as cross posting, meaning one post on wordpress notifyes various social networks. Cross post plugins include:</p>
<ul>
<li><a href="http://wordpress.org/extend/plugins/wordbook/">WordBook</a> : cross-post your blog posts to your Facebook Wall.</li>
<li>Same for <a href="http://wordpress.org/extend/plugins/wordbooker/">wordbooker</a></li>
<li><a href="http://wordpress.org/extend/plugins/wordpress-to-myspace/">Wordpress to myspace</a> publishes  posts to myspace</li>
<li>Ping FM is a free  service that publishes posts to social networks. Wordpress has a few plugins that integrate with ping.fm, <a href="http://wordpress.org/extend/plugins/search.php?q=ping.fm&amp;sort=">check this out</a></li>
</ul>
<p>Statistics are an important part of social networking : no point developping web presence without knowing where you go</p>
<ul>
<li><a href="http://wordpress.org/extend/plugins/facebook-share-statistics/screenshots/">Facebook Share Stats</a> : provides charts and numbers  on your posts shared on <strong>Facebook</strong>, with statistics and charts about the number of &#8220;<strong>like</strong>&#8220;, <strong>comments</strong> and <strong>clicks</strong> received.</li>
</ul>
<p>Interesting links</p>
<ul>
<li><a href="http://www.rachel-levy.com/how-to-cross-post-your-social-media-updates/#Blog to Twitter">Summary of blog / social interaction</a> by Rachel Levy</li>
<li></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.webmasterbulletin.net/2010/06/publish-wordpress-posts-to-social-networks/1243/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Allow users to submit posts with wordpress</title>
		<link>http://www.webmasterbulletin.net/2010/06/allow-users-to-submit-posts-with-wordpress/1240</link>
		<comments>http://www.webmasterbulletin.net/2010/06/allow-users-to-submit-posts-with-wordpress/1240#comments</comments>
		<pubDate>Fri, 04 Jun 2010 11:14:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Components]]></category>

		<guid isPermaLink="false">http://www.webmasterbulletin.net/?p=1240</guid>
		<description><![CDATA[Besides the famous CFORMS plugins, opther plugins exist that forward user input directly to posts

TDO Mini Forms : comes with a lot of options that specify who can publish what and how new posts are moderated
FV Community News

]]></description>
			<content:encoded><![CDATA[<p>Besides the famous CFORMS plugins, opther plugins exist that forward user input directly to posts</p>
<ul>
<li>TDO Mini Forms : comes with a lot of options that specify who can publish what and how new posts are moderated</li>
<li><a href="http://www.frank-verhoeven.com/wordpress-plugin-fv-community-news/">FV Community News</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.webmasterbulletin.net/2010/06/allow-users-to-submit-posts-with-wordpress/1240/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jquery wysiwyg editing</title>
		<link>http://www.webmasterbulletin.net/2010/05/jquery-wysiwyg-editing/1227</link>
		<comments>http://www.webmasterbulletin.net/2010/05/jquery-wysiwyg-editing/1227#comments</comments>
		<pubDate>Thu, 27 May 2010 10:50:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Content Management]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.webmasterbulletin.net/?p=1227</guid>
		<description><![CDATA[
Out of smart combination of powerful jquery plugins and functions comes the Minibar, contextual editing menu that pops up in windows Office 2007 fashion. The demo provided works with standard textarea editor but we&#8217;d like to see it implemented within tinymce or fckeditor, for instance : no doubt this is coming in the next few [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-medium wp-image-1228" title="image.axd" src="http://www.webmasterbulletin.net/wp-content/uploads/2010/05/image.axd-499x81.jpg" alt="image.axd" width="499" height="81" /></p>
<p>Out of smart combination of powerful jquery plugins and functions comes the <a href="http://www.jankoatwarpspeed.com/post/2010/05/23/microsoft-office-minibar-jQuery-CSS3.aspx">Minibar</a>, contextual editing menu that pops up in windows Office 2007 fashion. The demo provided works with standard textarea editor but we&#8217;d like to see it implemented within tinymce or fckeditor, for instance : no doubt this is coming in the next few hours !!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmasterbulletin.net/2010/05/jquery-wysiwyg-editing/1227/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
