<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2498664977335746883</id><updated>2012-02-16T00:18:26.075-08:00</updated><category term='Drupal Design Integration'/><category term='Add/delete to/from buddylist snippet'/><category term='Hire magento developers'/><category term='Blog to it - The social blog directory'/><category term='Display recent nodes (titles and teasers) snippet'/><category term='Using Ajax in Drupal 6'/><category term='Drupal Modules'/><category term='Drupal Development'/><category term='KVP-Group - Drupal Development - Website Design'/><category term='Drupal Themes'/><category term='Hire VirtueMart developers'/><category term='Drupal Module - iGallery'/><category term='Magento'/><category term='Magento Open Source eCommerce'/><category term='Drupal Themes Development'/><category term='VirtueMart development'/><category term='Website Design'/><category term='Customising the user profile layout'/><category term='Drupal Customization'/><category term='Drupal'/><category term='Insert user friendly &quot;click here to add your..&quot; links when user profile fields are left blank'/><category term='Remove unwanted tabs from pages'/><category term='Suomenporssimeklarit - Drupal Development'/><category term='Drupal Modules Development'/><category term='magento development'/><category term='VirtueMart'/><category term='magento customization'/><category term='VirtueMart opensource ecommerce'/><category term='Laakeri - Drupal Development'/><category term='KVP-Group'/><category term='OUTDATED: Display user submitted images in their profile page'/><category term='Fiare - Drupal Development'/><category term='VirtueMart customization'/><title type='text'>Drupal, Drupal Development, Drupal Themes, Drupal Modules, Drupal Customization India</title><subtitle type='html'>Virtueinfo Offers Drupal, Drupal Development, Drupal Customization India, Drupal Themes, Drupal Modules, Drupal Design Integration</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2498664977335746883.post-9056882376490341992</id><published>2009-05-24T23:52:00.001-07:00</published><updated>2009-05-25T00:20:02.509-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VirtueMart opensource ecommerce'/><category scheme='http://www.blogger.com/atom/ns#' term='VirtueMart development'/><category scheme='http://www.blogger.com/atom/ns#' term='VirtueMart customization'/><category scheme='http://www.blogger.com/atom/ns#' term='Hire VirtueMart developers'/><category scheme='http://www.blogger.com/atom/ns#' term='VirtueMart'/><title type='text'>VirtueMart Opensource eCommerce</title><content type='html'>&lt;span style="font-family: times new roman;font-family:times new roman;font-size:100%;"  &gt;VirtueMart is an open source eCommerce solution to be used together with a Content Management System called Joomla and Mambo. VirtueMart is free shopping cart software for Joomla &amp;amp; Mambo. Joomla and VirtueMart are written in PHP and made easy for use in a PHP/Mysql environment.&lt;/span&gt;&lt;span style="font-family: times new roman;font-size:100%;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;p style="font-family: times new roman;font-family:times new roman;" &gt;&lt;span style="font-size:100%;"&gt;Virtueinfo Can provide you VirtueMart Opensource E-commerce Development Application&lt;/span&gt;&lt;/p&gt; &lt;p style="font-family: times new roman;font-family:times new roman;" &gt;&lt;span style="font-size:100%;"&gt;To get a complete quote for your &lt;a style="font-weight: bold;" title="Magento, magento opensouce ecommerce, magento development, hire magento developers, magento customization" href="http://www.virtueinfo.com/virtuemart.htm" target="_blank"&gt;VirtueMart&lt;/a&gt;&lt;strong&gt;&lt;a title="Magento, magento opensouce ecommerce, magento development, hire magento developers, magento customization" href="http://www.virtueinfo.com/virtuemart.htm" target="_blank"&gt; open-source ecommerce&lt;/a&gt;, &lt;/strong&gt;VirtueMart requirements, Hire VirtueMart developers contact us at &lt;a href="mailto:info@virtueinfo.com"&gt;info@virtueinfo.com&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt; &lt;p style="font-family: times new roman;font-family:times new roman;" &gt;&lt;span style="font-size:100%;"&gt;Get ready to experience excellence with us!&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2498664977335746883-9056882376490341992?l=drupal-development-india.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/9056882376490341992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupal-development-india.blogspot.com/2009/05/virtuemart-opensource-ecommerce.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/9056882376490341992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/9056882376490341992'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/2009/05/virtuemart-opensource-ecommerce.html' title='VirtueMart Opensource eCommerce'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2498664977335746883.post-745751806141311136</id><published>2009-05-24T23:34:00.000-07:00</published><updated>2009-05-24T23:36:53.886-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Magento Open Source eCommerce'/><category scheme='http://www.blogger.com/atom/ns#' term='Magento'/><category scheme='http://www.blogger.com/atom/ns#' term='magento customization'/><category scheme='http://www.blogger.com/atom/ns#' term='Hire magento developers'/><category scheme='http://www.blogger.com/atom/ns#' term='magento development'/><title type='text'>Magento Open Source eCommerce</title><content type='html'>&lt;p&gt;Magento is the latest open-source eCommerce solution offers extraordinary flexibility and control. While using Magento one can never feel trapped in eCommerce Solution again. Magento is a open-source so it is available for free to download.&lt;/p&gt; &lt;p&gt;Virtueinfo Can provide you Magento Opensource E-commerce Development Application&lt;/p&gt; &lt;p&gt;To get a complete quote for your &lt;strong&gt;&lt;a title="Magento, magento opensouce ecommerce, magento development, hire magento developers, magento customization" href="http://www.virtueinfo.com/magento.htm" target="_blank"&gt;Magento open-source ecommerce&lt;/a&gt;, &lt;/strong&gt;Magento requirements, Hire magento developers contact us at &lt;a href="mailto:info@virtueinfo.com"&gt;info@virtueinfo.com&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;Get ready to experience excellence with us!&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2498664977335746883-745751806141311136?l=drupal-development-india.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/745751806141311136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupal-development-india.blogspot.com/2009/05/magento-open-source-ecommerce.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/745751806141311136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/745751806141311136'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/2009/05/magento-open-source-ecommerce.html' title='Magento Open Source eCommerce'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2498664977335746883.post-9136509601434213942</id><published>2009-04-26T22:03:00.000-07:00</published><updated>2009-04-26T22:18:50.015-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Suomenporssimeklarit - Drupal Development'/><title type='text'>Suomenporssimeklarit - Drupal Development</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_leh-RsKYx40/SfVABXSJxHI/AAAAAAAAAF4/CRlbkaUZSWE/s1600-h/suomenporssimeklarit-website-design.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 225px;" src="http://2.bp.blogspot.com/_leh-RsKYx40/SfVABXSJxHI/AAAAAAAAAF4/CRlbkaUZSWE/s400/suomenporssimeklarit-website-design.jpg" alt="" id="BLOGGER_PHOTO_ID_5329236126237049970" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;The activity in the Helsinki Stock Exchange increased in the 1980's. Finnish Stock Broker Association was founded in October 9th 1984, because the professionals in the market wanted to develop the operations and procedures of financial markets in Finland.&lt;/p&gt;          &lt;p&gt;URL: http://www.suomenporssimeklarit.fi&lt;br /&gt;         &lt;br /&gt;           Tools: Photoshop - CS3, Dreamweaver&lt;br /&gt;&lt;/p&gt;&lt;script type="text/javascript"&gt;addthis_pub  = 'virtueinfo';&lt;/script&gt;&lt;br /&gt;&lt;a onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" href="http://www.addthis.com/bookmark.php" onclick="return addthis_sendto()"&gt;&lt;img alt="" src="http://s9.addthis.com/button1-bm.gif" border="0" height="16" width="125" /&gt;&lt;/a&gt;&lt;script src="http://s7.addthis.com/js/152/addthis_widget.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;!-- AddThis Button END --&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2498664977335746883-9136509601434213942?l=drupal-development-india.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/9136509601434213942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupal-development-india.blogspot.com/2009/04/suomenporssimeklarit-drupal-development.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/9136509601434213942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/9136509601434213942'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/2009/04/suomenporssimeklarit-drupal-development.html' title='Suomenporssimeklarit - Drupal Development'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_leh-RsKYx40/SfVABXSJxHI/AAAAAAAAAF4/CRlbkaUZSWE/s72-c/suomenporssimeklarit-website-design.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2498664977335746883.post-7914036368447694625</id><published>2009-04-08T03:37:00.001-07:00</published><updated>2009-04-08T03:41:32.538-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Laakeri - Drupal Development'/><title type='text'>Laakeri - Drupal Development</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.virtueinfo.com/drupal-development/drupal-laakeri.htm"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 225px;" src="http://2.bp.blogspot.com/_leh-RsKYx40/Sdx-pZh2o1I/AAAAAAAAAFg/8zR9a2WfKMo/s400/laakeri-website-design.jpg" alt="" id="BLOGGER_PHOTO_ID_5322268109337699154" border="0" /&gt;&lt;/a&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Bearing the starting point is to produce unique web concepts to work independently as services or as part of the big portals.&lt;/span&gt; &lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;Asiakkaitamme ovat suuret mediatalot ja yhdistykset, jotka panostavat vahvasti Internetiin mediana Our clients are large media and unions, who invest in a strong Internet mediana&lt;/span&gt;          &lt;p&gt;URL: http://laakeri.fi/&lt;br /&gt;         &lt;br /&gt;           Technology: Drupal&lt;br /&gt;&lt;/p&gt;&lt;script type="text/javascript"&gt;addthis_pub  = 'virtueinfo';&lt;/script&gt;&lt;br /&gt;&lt;a onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" href="http://www.addthis.com/bookmark.php" onclick="return addthis_sendto()"&gt;&lt;img alt="" src="http://s9.addthis.com/button1-bm.gif" border="0" width="125" height="16" /&gt;&lt;/a&gt;&lt;script src="http://s7.addthis.com/js/152/addthis_widget.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;!-- AddThis Button END --&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2498664977335746883-7914036368447694625?l=drupal-development-india.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/7914036368447694625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupal-development-india.blogspot.com/2009/04/laakeri-drupal-development.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/7914036368447694625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/7914036368447694625'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/2009/04/laakeri-drupal-development.html' title='Laakeri - Drupal Development'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_leh-RsKYx40/Sdx-pZh2o1I/AAAAAAAAAFg/8zR9a2WfKMo/s72-c/laakeri-website-design.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2498664977335746883.post-3750328706249994520</id><published>2009-04-08T03:30:00.000-07:00</published><updated>2009-04-08T03:34:30.993-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fiare - Drupal Development'/><title type='text'>Fiare - Drupal Development</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.virtueinfo.com/drupal-development/drupal-fiare.htm"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 225px;" src="http://4.bp.blogspot.com/_leh-RsKYx40/Sdx9FbYcGdI/AAAAAAAAAFY/PekeB7B4T30/s400/fiare-website-design.jpg" alt="" id="BLOGGER_PHOTO_ID_5322266391848163794" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Fiare has strong expertise in designing and executing demanding web services.It has delivered several successful web services in the past 8 years. One of them is Nettiauto which has become the market leader in used vehicle sales. &lt;p&gt;URL: http://www.fiare.fi/&lt;/p&gt; &lt;p&gt;Technology: Drupal&lt;script type="text/javascript"&gt;addthis_pub  = 'virtueinfo';&lt;/script&gt;&lt;br /&gt;&lt;/p&gt;&lt;a onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" href="http://www.addthis.com/bookmark.php" onclick="return addthis_sendto()"&gt;&lt;img alt="" src="http://s9.addthis.com/button1-bm.gif" border="0" width="125" height="16" /&gt;&lt;/a&gt;&lt;script src="http://s7.addthis.com/js/152/addthis_widget.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;!-- AddThis Button END --&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2498664977335746883-3750328706249994520?l=drupal-development-india.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/3750328706249994520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupal-development-india.blogspot.com/2009/04/fiare-drupal-development.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/3750328706249994520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/3750328706249994520'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/2009/04/fiare-drupal-development.html' title='Fiare - Drupal Development'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_leh-RsKYx40/Sdx9FbYcGdI/AAAAAAAAAFY/PekeB7B4T30/s72-c/fiare-website-design.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2498664977335746883.post-1226058296464518527</id><published>2009-04-05T22:49:00.000-07:00</published><updated>2009-04-05T22:52:56.237-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='KVP-Group - Drupal Development - Website Design'/><title type='text'>KVP-Group - Drupal Development - Website Design</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_leh-RsKYx40/SdmYZxERF4I/AAAAAAAAAFQ/sXcfsD3tXT8/s1600-h/kvpgroup-website-design.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 225px;" src="http://4.bp.blogspot.com/_leh-RsKYx40/SdmYZxERF4I/AAAAAAAAAFQ/sXcfsD3tXT8/s400/kvpgroup-website-design.jpg" alt="" id="BLOGGER_PHOTO_ID_5321452003150337922" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;How can you quickly find suitable lodgings for your employees assigned to Finland? Do you want to avoid the rootless and restless hotel accommodation? Do you want to give your staff the best possible setting for efficient operations?&lt;/p&gt;          &lt;p&gt;Here in Finland your questions are answered by Kymen Vuokraus ja Puhdistus Oy. Our nation-wide network of lodgings offers your company a variety of options to choose from.&lt;/p&gt;          &lt;p&gt;URL: http://www.kvp-group.fi/&lt;br /&gt;      &lt;br /&gt;         Technology: Drupal&lt;!-- AddThis Button BEGIN --&gt;&lt;br /&gt;&lt;/p&gt;&lt;script type="text/javascript"&gt;addthis_pub  = 'virtueinfo';&lt;/script&gt;&lt;br /&gt;&lt;a onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" href="http://www.addthis.com/bookmark.php" onclick="return addthis_sendto()"&gt;&lt;img alt="" src="http://s9.addthis.com/button1-bm.gif" border="0" height="16" width="125" /&gt;&lt;/a&gt;&lt;script src="http://s7.addthis.com/js/152/addthis_widget.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;!-- AddThis Button END --&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2498664977335746883-1226058296464518527?l=drupal-development-india.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/1226058296464518527/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupal-development-india.blogspot.com/2009/04/kvp-group-drupal-development-website.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/1226058296464518527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/1226058296464518527'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/2009/04/kvp-group-drupal-development-website.html' title='KVP-Group - Drupal Development - Website Design'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_leh-RsKYx40/SdmYZxERF4I/AAAAAAAAAFQ/sXcfsD3tXT8/s72-c/kvpgroup-website-design.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2498664977335746883.post-8404554895475449853</id><published>2009-03-16T23:28:00.000-07:00</published><updated>2009-03-16T23:35:03.555-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Suomenporssimeklarit - Drupal Development'/><title type='text'>Suomenporssimeklarit - Drupal Development</title><content type='html'>Suomenporssimeklarit&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.virtueinfo.com/drupal-development/drupal-development-projects.htm"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 88px;" src="http://4.bp.blogspot.com/_leh-RsKYx40/Sb9D8J4uHWI/AAAAAAAAAEM/vAMgljw-M98/s400/suomen-porssimeklarit.jpg" alt="" id="BLOGGER_PHOTO_ID_5314040786045508962" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;Technology Used&lt;/strong&gt; : PHP, Drupal                          &lt;p&gt; &lt;strong&gt;Url&lt;/strong&gt; : &lt;a href="http://www.suomenporssimeklarit.fi/" title="Suomenporssimeklarit" target="_blank"&gt;http://www.suomenporssimeklarit.fi/&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2498664977335746883-8404554895475449853?l=drupal-development-india.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/8404554895475449853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupal-development-india.blogspot.com/2009/03/suomenporssimeklarit-drupal-development.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/8404554895475449853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/8404554895475449853'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/2009/03/suomenporssimeklarit-drupal-development.html' title='Suomenporssimeklarit - Drupal Development'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_leh-RsKYx40/Sb9D8J4uHWI/AAAAAAAAAEM/vAMgljw-M98/s72-c/suomen-porssimeklarit.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2498664977335746883.post-294111329397083613</id><published>2009-03-16T02:48:00.000-07:00</published><updated>2009-03-16T03:11:56.737-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Laakeri - Drupal Development'/><title type='text'>Laakeri - Drupal Development</title><content type='html'>&lt;span style="font-size:130%;"&gt;Laakeri&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.virtueinfo.com/images/portfolio/laakeri.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 400px; height: 88px;" src="http://4.bp.blogspot.com/_leh-RsKYx40/Sb4gxgsJbzI/AAAAAAAAAD8/9Y2u4_2LoKQ/s400/laakeri.jpg" alt="" id="BLOGGER_PHOTO_ID_5313720645304545074" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;     &lt;!-- START LEFT SIDE CONTENTS --&gt;         &lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Technology Used&lt;/strong&gt; : PHP, Drupal &lt;div align="left"&gt;                         &lt;p&gt; &lt;strong&gt;Url&lt;/strong&gt; : &lt;a href="http://laakeri.fi/" title="KVP-Group" target="_blank"&gt;http://laakeri.fi/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2498664977335746883-294111329397083613?l=drupal-development-india.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/294111329397083613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupal-development-india.blogspot.com/2009/03/laakeri-drual-development.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/294111329397083613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/294111329397083613'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/2009/03/laakeri-drual-development.html' title='Laakeri - Drupal Development'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_leh-RsKYx40/Sb4gxgsJbzI/AAAAAAAAAD8/9Y2u4_2LoKQ/s72-c/laakeri.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2498664977335746883.post-443186064986035541</id><published>2009-03-10T02:05:00.000-07:00</published><updated>2009-03-16T02:57:28.578-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Website Design'/><category scheme='http://www.blogger.com/atom/ns#' term='Drupal Development'/><category scheme='http://www.blogger.com/atom/ns#' term='KVP-Group'/><title type='text'>KVP-Group - Drupal Development - Website Design</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_leh-RsKYx40/SbYvmHjBOGI/AAAAAAAAADE/WZzxRLFSLMw/s1600-h/kvp-group.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 400px; height: 88px;" src="http://2.bp.blogspot.com/_leh-RsKYx40/SbYvmHjBOGI/AAAAAAAAADE/WZzxRLFSLMw/s400/kvp-group.jpg" alt="" id="BLOGGER_PHOTO_ID_5311485142437541986" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="text-decoration: underline;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;&lt;br /&gt;Technology Used&lt;/strong&gt; : PHP, Drupal                          &lt;p&gt; &lt;strong&gt;Url&lt;/strong&gt; : &lt;a href="http://www.kvp-group.fi/" title="KVP-Group" target="_blank"&gt;http://www.kvp-group.fi/&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2498664977335746883-443186064986035541?l=drupal-development-india.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/443186064986035541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupal-development-india.blogspot.com/2009/03/kvp-group-drual-development-website.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/443186064986035541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/443186064986035541'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/2009/03/kvp-group-drual-development-website.html' title='KVP-Group - Drupal Development - Website Design'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_leh-RsKYx40/SbYvmHjBOGI/AAAAAAAAADE/WZzxRLFSLMw/s72-c/kvp-group.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2498664977335746883.post-2666134588869038166</id><published>2009-02-05T02:02:00.000-08:00</published><updated>2009-02-05T02:05:29.069-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Insert user friendly &quot;click here to add your..&quot; links when user profile fields are left blank'/><title type='text'>Insert user friendly "click here to add your.." links when user profile fields are left blank</title><content type='html'>&lt;div class="content"&gt;     &lt;p&gt;&lt;i&gt;&lt;strong&gt;PLEASE NOTE!&lt;/strong&gt; These snippets are user submitted. It is impossible to check them all, so please use at your own risk! For users who have setup drupal using an alternate database to the default (MYSQL), please note that the snippets may contain some database queries specific to MYSQL.&lt;/i&gt;&lt;/p&gt; &lt;h2&gt;Description&lt;/h2&gt; &lt;p&gt;This php snippet displays a user friendly "click here to add your [profile field]" link when they are looking at their own profile page and have forgotten or not yet filled out some details.&lt;/p&gt; &lt;p&gt;The default settings with Drupal is to hide empty fields, so Users sometimes don't know they can add a field unless they look at the various &lt;strong&gt;EDIT MY ACCOUNT&lt;/strong&gt; options.&lt;/p&gt; &lt;p&gt;The snippet checks to see if the person looking at the profile page is the same person or someone with ADMINISTER USERS permissions. It then checks to see if a field is not yet filled in and displays the "click here to add.." link if that's the case.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Dependencies:&lt;/strong&gt; profile.module&lt;/p&gt; &lt;h2&gt;Usage&lt;/h2&gt; &lt;ul&gt;&lt;li&gt;For use in your &lt;a href="http://drupal.org/node/35728" rel="nofollow"&gt;user profile page override&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Using a text editor like NOTEPAD.EXE or an equivalent, copy and paste the code into your user_profile.tpl.php file&lt;/li&gt;&lt;li&gt;Change the &lt;code&gt;$profilecat&lt;/code&gt; value in the first line to match the profile category name you are using. In the example snippet we are using "Business Info." &lt;/li&gt;&lt;li&gt;Change the &lt;code&gt;$profilefieldname&lt;/code&gt; value in the second line to match the profile field name you are using. In the example snippet we are using "profile_work_telephone"&lt;/li&gt;&lt;li&gt;Change the &lt;code&gt;$linktext&lt;/code&gt; value in the second line to match the profile field name you are using. In the example snippet we are using "click to add your work phone number"&lt;/li&gt;&lt;li&gt;If you are using this snippet more than once in the same user_profile.tpl.php file add a number to the end of the &lt;code&gt;$profilecat&lt;/code&gt;, &lt;code&gt;$profilefieldname&lt;/code&gt; and &lt;code&gt;$linktext&lt;/code&gt; titles each time you copy and use the snippet. e.g. &lt;code&gt;$profilefieldname1, $linktext1&lt;/code&gt;, &lt;code&gt;$profilefieldname2&lt;/code&gt;, &lt;code&gt;$linktext2&lt;/code&gt;, &lt;code&gt;$profilefieldname3&lt;/code&gt;, &lt;code&gt;$linktext3&lt;/code&gt; etc.&lt;/li&gt;&lt;li&gt;Tested and works with Drupal 4.5 and 4.6&lt;/li&gt;&lt;li&gt;Change the div class names or the link prefix text to suit.&lt;/li&gt;&lt;/ul&gt; &lt;div class="codeblock"&gt;&lt;code&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"Business Info."&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"profile_work_telephone"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"click to add your phone number"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="fields"&gt;&lt;br /&gt;&lt;strong&gt;Work Telephone Number:&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;if ((&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;user_access&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'administer users'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) || &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$GLOBALS&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'user'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;]-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;== &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) &amp;amp;&amp;amp; ((&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$profilefieldname&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) == &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;""&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)): &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/user/%3Cspan%20style="&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;print &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid ?&gt;&lt;/span&gt;&lt;/span&gt;/edit/&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;print &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$profilecat ?&gt;&lt;/span&gt;&lt;/span&gt;"&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;print &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$linktext ?&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;endif; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;print &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$profilefieldname ?&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt; &lt;div class="book-navigation"&gt;&lt;div class="page-links clear-block"&gt;&lt;a href="http://drupal.org/node/206130" class="page-previous" title="Go to previous page"&gt;‹ Weight sorting for input fields (when the user fill the form) doesn't apply - fix&lt;/a&gt;&lt;a href="http://drupal.org/node/35728" class="page-up" title="Go to parent page"&gt;up&lt;/a&gt;&lt;a href="http://drupal.org/node/36123" class="page-next" title="Go to next page"&gt;Display a date related notice or countdown snippet ›&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;  &lt;/div&gt;     &lt;div class="links"&gt;» &lt;span&gt;&lt;a href="http://drupal.org/user/login?destination=comment/reply/%2523comment-form"&gt;Login&lt;/a&gt; or &lt;a href="http://drupal.org/user/register?destination=comment/reply/%2523comment-form"&gt;register&lt;/a&gt; to post comments&lt;/span&gt;&lt;/div&gt;     &lt;div class="comment"&gt; &lt;div class="w1"&gt;&lt;div class="w2"&gt;&lt;div class="w3"&gt;&lt;div class="w4"&gt;  &lt;h3 class="title"&gt;&lt;a href="http://drupal.org/node/36473#comment-205537" class="active"&gt;Works Good, but also displays the "private" fields to all users&lt;/a&gt;&lt;/h3&gt;   &lt;div class="author"&gt;&lt;a href="http://drupal.org/user/24456" title="View user profile."&gt;Sam308&lt;/a&gt; - February 28, 2007 - 03:33&lt;/div&gt;     &lt;div class="content"&gt;&lt;p&gt;Using Drupal 4.7.6&lt;/p&gt; &lt;p&gt;(Issue 1) The script woks well but it displays the private fields if the private fields are included in the script.&lt;/p&gt; &lt;p&gt;I am currently using 33 profile fields in two different categories.&lt;/p&gt; &lt;p&gt;I placed all 33 profile fields into the script and noticed that "any" logged in user can see all the 33 fileds that are included in the script, including the private fields.&lt;/p&gt; &lt;p&gt;&lt;i&gt;&lt;b&gt;How can this script be modified to &lt;b&gt;not&lt;/b&gt; display the private fields to "ALL" logged in users?&lt;/b&gt;&lt;/i&gt;&lt;/p&gt; &lt;p&gt;(Issue 2) Before I implemented this script, I was using the drupal core profile "Page title" feature (Administer » Settings » profiles) that turns a profile field item into a link so that users can view other user profiles which have the same profile field value in common. This feature is removed if you use the script.&lt;/p&gt; &lt;p&gt;&lt;i&gt;&lt;b&gt;Is it possible to restore this feature?&lt;/b&gt;&lt;/i&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;Add Link to Empty Profile Fields Utility Program&lt;/b&gt;&lt;br /&gt;Since I had to expand the above script (12 lines of code) to accommodate 33 profile fields (396 lines of code), I created a Microsoft Excel utility that will automate the process of writing the PHP script. I am making this Utility available to others to make it easier to generate the script for multiple fields.&lt;/p&gt; &lt;p&gt;You can download it here: &lt;a href="http://xlecom.com/downloads/Drupal_Add_Link_to_Empty_Profile_Fields.zip" title="http://xlecom.com/downloads/Drupal_Add_Link_to_Empty_Profile_Fields.zip" rel="nofollow"&gt;http://xlecom.com/downloads/Drupal_Add_Link_to_Empty_Profile_Fields.zip&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Enjoy,&lt;/p&gt; &lt;p&gt;Sam Raheb (Sam308)&lt;/p&gt; &lt;/div&gt;     &lt;div class="links"&gt;&lt;span&gt;&lt;a href="http://drupal.org/user/login?destination=comment/reply/%2523comment-form"&gt;Login&lt;/a&gt; or &lt;a href="http://drupal.org/user/register?destination=comment/reply/%2523comment-form"&gt;register&lt;/a&gt; to post comments&lt;/span&gt;&lt;/div&gt; &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt; &lt;/div&gt;     &lt;h3 class="title"&gt;&lt;a href="http://drupal.org/node/36473#comment-214040" class="active"&gt;More readable code for DRUPAL 5 + small modification&lt;/a&gt;&lt;/h3&gt;   &lt;div class="author"&gt;&lt;a href="http://drupal.org/user/50918" title="View user profile."&gt;bumathan&lt;/a&gt; - March 24, 2007 - 03:40&lt;/div&gt;     &lt;p&gt;Hello,&lt;/p&gt; &lt;p&gt;Here's a small modification of the code : &lt;/p&gt; &lt;p&gt;- An "Edit this field" link is displayed even if the user has entered the informations before. - The code is maybe more readable like this for beginners...&lt;/p&gt; &lt;p&gt;IMPORTANT /// same recommandation : if you use this code more than one time on your profile page, add a number to each variable to distinguish them...&lt;/p&gt; &lt;p&gt;As you can see, the edit link has a class "edit"...&lt;/p&gt; &lt;div class="codeblock"&gt;&lt;code&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// EDIT THESE VARIABLES TO SUIT YOUR NEEDS&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$profilecat &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"blog"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$profilefieldname &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"profile_blog_title"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$linktext &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"Edit this field"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$fieldlabel &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"My field name :"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$pathedit &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"user/$user-&gt;uid/edit/$profilecat"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$emptyfield &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"No informations have been entered for this field. If you're the owner of this profile, you can              edit it"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;br /&gt;print &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;div class="fields"&gt;'&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;br /&gt;print &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;h5&gt;' &lt;span style="color: rgb(0, 119, 0);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$fieldlabel &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;/span&gt;&lt;/h5&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;br /&gt;if (isset(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$profilefieldname&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)) {print &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$profilefieldname&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;}&lt;br /&gt;&lt;br /&gt;else {print &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;p&gt;' &lt;/p&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$emptyfield &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;p&gt;&lt;/p&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;}&lt;br /&gt;&lt;br /&gt;if ((&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;user_access&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'administer users'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) || &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$GLOBALS&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'user'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;]-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;== &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)) {&lt;br /&gt;&lt;br /&gt;print &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;l&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$linktext&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$pathedit&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, array(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'class' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&gt; &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'edit'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;));&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;print &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;/span&gt;&lt;/div&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2498664977335746883-2666134588869038166?l=drupal-development-india.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/2666134588869038166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupal-development-india.blogspot.com/2009/02/insert-user-friendly-click-here-to-add.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/2666134588869038166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/2666134588869038166'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/2009/02/insert-user-friendly-click-here-to-add.html' title='Insert user friendly &quot;click here to add your..&quot; links when user profile fields are left blank'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2498664977335746883.post-7542873757208920430</id><published>2009-02-02T04:08:00.001-08:00</published><updated>2009-02-02T04:08:48.186-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Add/delete to/from buddylist snippet'/><title type='text'>Add/delete to/from buddylist snippet</title><content type='html'>&lt;div class="content"&gt;     &lt;p&gt;&lt;i&gt;&lt;strong&gt;PLEASE NOTE!&lt;/strong&gt; These snippets are user submitted. It is impossible to check them all, so please use at your own risk! For users who have setup drupal using an alternate database to the default (MYSQL), please note that the snippets may contain some database queries specific to MYSQL.&lt;/i&gt;&lt;/p&gt; &lt;h2&gt;Description&lt;/h2&gt; &lt;p&gt;This php snippet inserts the ADD TO BUDDYLIST link&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Dependencies:&lt;/strong&gt; buddylist.module must be installed and enabled. The snippet checks to see if the user viewing the profile page has the access permission to maintain buddy list before displaying the link&lt;/p&gt; &lt;h2&gt;Usage&lt;/h2&gt; &lt;ul&gt;&lt;li&gt;For use in your &lt;a href="http://drupal.org/node/35728" rel="nofollow"&gt;user profile page override&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Using a text editor like NOTEPAD.EXE or an equivalent, copy and paste the code into your user_profile.tpl.php file&lt;/li&gt;&lt;li&gt;Change the div class name or the link text to suit.&lt;/li&gt;&lt;/ul&gt; &lt;div class="codeblock"&gt;&lt;code&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;?php&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;global &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;  if (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;!= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) {&lt;br /&gt;    if (@&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;in_array&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;array_keys&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;buddylist_get_buddies&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;))) &amp;amp;&amp;amp; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;user_access&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'maintain buddy list'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)) {&lt;br /&gt;      print &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;l&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;t&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'Remove !username from your buddylist'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;,array(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'!username' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)), &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'buddy/delete/'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;    }&lt;br /&gt;    else {&lt;br /&gt;      if (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;!= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&amp;amp;&amp;amp; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;user_access&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'maintain buddy list'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)) {&lt;br /&gt;        print &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;l&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;t&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'Add !username to your buddylist'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;,array(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'!username' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)), &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'buddy/add/'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;      }&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt; &lt;div class="book-navigation"&gt;&lt;div class="page-links clear-block"&gt;&lt;a href="http://drupal.org/node/35736" class="page-previous" title="Go to previous page"&gt;‹ Recent weblog entries (titles &amp;amp; teasers) snippet&lt;/a&gt;&lt;a href="http://drupal.org/node/35728" class="page-up" title="Go to parent page"&gt;up&lt;/a&gt;&lt;a href="http://drupal.org/node/36501" class="page-next" title="Go to next page"&gt;Display a list of buddies snippet ›&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;  &lt;/div&gt;     &lt;div class="links"&gt;» &lt;span&gt;&lt;a href="http://drupal.org/user/login?destination=comment/reply/%2523comment-form"&gt;Login&lt;/a&gt; or &lt;a href="http://drupal.org/user/register?destination=comment/reply/%2523comment-form"&gt;register&lt;/a&gt; to post comments&lt;/span&gt;&lt;/div&gt;     &lt;div class="comment"&gt; &lt;div class="w1"&gt;&lt;div class="w2"&gt;&lt;div class="w3"&gt;&lt;div class="w4"&gt;  &lt;h3 class="title"&gt;&lt;a href="http://drupal.org/node/35738#comment-741112" class="active"&gt;Several people I know are&lt;/a&gt;&lt;/h3&gt;   &lt;div class="author"&gt;&lt;a href="http://drupal.org/user/167047" title="View user profile."&gt;pribeh&lt;/a&gt; - February 22, 2008 - 01:50&lt;/div&gt;     &lt;div class="content"&gt;&lt;p&gt;Several people I know are reporting that this doesn't work past 5.3. And I don't know why.&lt;/p&gt; &lt;p&gt;Would be nice to know how to get this to work in a block as well. Someone posted this as a starting point but I don't know php.&lt;/p&gt; &lt;div class="codeblock"&gt;&lt;code&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;?php&lt;br /&gt;$uid &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;arg&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;); &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// second part of the path user/1 on user profile page&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;Loading a user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;:&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;user_load&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(array(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'uid' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;));&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;Get the name&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;:&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$name &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt; &lt;p&gt;Any help would be uber appreciated. I currently don't have a way other than the template fix for my users to add buddies.&lt;/p&gt; &lt;/div&gt;     &lt;div class="links"&gt;&lt;span&gt;&lt;a href="http://drupal.org/user/login?destination=comment/reply/%2523comment-form"&gt;Login&lt;/a&gt; or &lt;a href="http://drupal.org/user/register?destination=comment/reply/%2523comment-form"&gt;register&lt;/a&gt; to post comments&lt;/span&gt;&lt;/div&gt; &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt; &lt;/div&gt; &lt;div class="indented"&gt; &lt;div class="comment"&gt; &lt;div class="w1"&gt;&lt;div class="w2"&gt;&lt;div class="w3"&gt;&lt;div class="w4"&gt;  &lt;h3 class="title"&gt;&lt;a href="http://drupal.org/node/35738#comment-746598" class="active"&gt;With the help of a few&lt;/a&gt;&lt;/h3&gt;   &lt;div class="author"&gt;&lt;a href="http://drupal.org/user/167047" title="View user profile."&gt;pribeh&lt;/a&gt; - February 26, 2008 - 03:01&lt;/div&gt;     &lt;div class="content"&gt;&lt;p&gt;With the help of a few others the following code seems to do the trick:&lt;/p&gt; &lt;div class="codeblock"&gt;&lt;code&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;?php&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;if (@&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;in_array&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;array_keys&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;buddylist_get_buddies&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;))) &amp;amp;&amp;amp; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;user_access&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'maintain buddy list'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)) {&lt;br /&gt;  print &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"&lt;a target="_blank" href="\" q="buddy/delete/"&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"\"&gt;Remove " &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;" from your buddylist&lt;/a&gt;"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;  }&lt;br /&gt;else {&lt;br /&gt;  if (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;!= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&amp;amp;&amp;amp; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;user_access&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'maintain buddy list'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)) {&lt;br /&gt;  print &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"&lt;a target="_blank" href="\" q="buddy/add/"&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"\"&gt;Add " &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;" to your buddylist&lt;/a&gt;"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt; &lt;p&gt;Make sure to specify this at the beginning of your user_profile.tpl.php:&lt;/p&gt; &lt;div class="codeblock"&gt;&lt;code&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;global &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt; &lt;p&gt;and also make sure to specify your code in template.php to focus on $account (the profile being viewed) as opposed to $user (logged-in user viewing profile):&lt;/p&gt; &lt;div class="codeblock"&gt;&lt;code&gt;/**&lt;br /&gt;* Catch the theme_user_profile function, and redirect through the template api&lt;br /&gt;*/&lt;br /&gt;function phptemplate_user_profile($account, $fields = array()) {&lt;br /&gt;  // Pass to phptemplate, including translating the parameters to an associative array. The element names are the names that the variables&lt;br /&gt;  // will be assigned within your template.&lt;br /&gt;  /* potential need for other code to extract field info */&lt;br /&gt;return _phptemplate_callback('user_profile', array('account' =&gt; $account, 'fields' =&gt; $fields));&lt;br /&gt;  }&lt;br /&gt;  }&lt;/code&gt;&lt;/div&gt; &lt;p&gt;The above code was taken from Muslim Guy's posts and modified by Nevets.&lt;/p&gt; &lt;/div&gt;     &lt;div class="links"&gt;&lt;span&gt;&lt;a href="http://drupal.org/user/login?destination=comment/reply/%2523comment-form"&gt;Login&lt;/a&gt; or &lt;a href="http://drupal.org/user/register?destination=comment/reply/%2523comment-form"&gt;register&lt;/a&gt; to post comments&lt;/span&gt;&lt;/div&gt; &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt; &lt;/div&gt; &lt;div class="indented"&gt; &lt;div class="comment"&gt; &lt;div class="w1"&gt;&lt;div class="w2"&gt;&lt;div class="w3"&gt;&lt;div class="w4"&gt;  &lt;h3 class="title"&gt;&lt;a href="http://drupal.org/node/35738#comment-930490" class="active"&gt;Inserting image as link to Add or Delete from your buddylist&lt;/a&gt;&lt;/h3&gt;   &lt;div class="author"&gt;&lt;a href="http://drupal.org/user/220329" title="View user profile."&gt;merto@drupal.org&lt;/a&gt; - July 21, 2008 - 13:59&lt;/div&gt;     &lt;div class="content"&gt;&lt;p&gt;These will override theme_user_profile and will insert image as link to Remove or Add to my buddylist below user_picture without calling _phptemplate_callback. It will also give me the flexibility to style all category name.&lt;br /&gt;&lt;/p&gt;&lt;div class="codeblock"&gt;&lt;code&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;function &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;phptemplate_user_profile&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$fields&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) {&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$output &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;div class="profile"&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$output &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;div class="picture-wrapper"&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$output &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;theme&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'user_picture'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;      global &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;        if (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;in_array&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;array_keys&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;buddylist_get_buddies&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;))) &amp;amp;&amp;amp; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;user_access&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'maintain buddy list'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)) {&lt;br /&gt;          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$output &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;l&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;theme&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'image'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;drupal_get_path&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'module'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'buddylist'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) .&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'/images/user_delete.png'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;t&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'Remove'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)), &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'buddy/delete/' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, array(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'title'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;t&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'remove from my buddylist'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)),&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;drupal_get_destination&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(), &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;NULL&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;NULL&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;TRUE&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;TRUE&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;          }&lt;br /&gt;        else {&lt;br /&gt;          if (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;!= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&amp;amp;&amp;amp; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;user_access&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'maintain buddy list'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)) {&lt;br /&gt;          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$output &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;l&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;theme&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'image'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;drupal_get_path&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'module'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'buddylist'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) .&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'/images/user_add.png'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;t&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'Add'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)),&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'buddy/add/' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$account&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, array(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'title'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;t&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'add to my buddylist'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)),&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;drupal_get_destination&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(), &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;NULL&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;NULL&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;TRUE&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;TRUE&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$output &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;/div&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$output &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;div class= "profile-item-wrapper"&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;br /&gt;  foreach (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$fields &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;as &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$category &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$items&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) {&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$category &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;str_replace&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;" "&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"-"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$category&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;    if (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;strlen&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$category&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) &gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) {&lt;br /&gt;                &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$output &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;dl class=""&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;check_plain&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$category &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;). &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'"&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;    &lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$output &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;h2 class="title"&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;check_plain&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$category&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) .&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;/h2&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;    }&lt;br /&gt;   &lt;br /&gt;    foreach (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$items &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;as &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$item&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) {&lt;br /&gt;      if (isset(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$item&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'title'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;])) {&lt;br /&gt;        &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$output &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;dt class=""&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$item&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'class'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;] .&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'"&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$item&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'title'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;].&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;' :' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;/dt&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;      }&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$output &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;dd class=""&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$item&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'class'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;] .&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'"&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$item&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'value'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;] .&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;/dd&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;    }&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$output &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;/dl&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;  }&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$output &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;/div&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$output &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;/div&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;br /&gt;  return &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$output&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt; &lt;/div&gt;     &lt;div class="links"&gt;&lt;span&gt;&lt;a href="http://drupal.org/user/login?destination=comment/reply/%2523comment-form"&gt;Login&lt;/a&gt; or &lt;a href="http://drupal.org/user/register?destination=comment/reply/%2523comment-form"&gt;register&lt;/a&gt; to post comments&lt;/span&gt;&lt;/div&gt; &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt; &lt;/div&gt; &lt;/div&gt;&lt;/div&gt;    &lt;h3 class="title"&gt;&lt;a href="http://drupal.org/node/35738#comment-860950" class="active"&gt;Buddylist 2&lt;/a&gt;&lt;/h3&gt;   &lt;div class="author"&gt;&lt;a href="http://drupal.org/user/181843" title="View user profile."&gt;tucspl&lt;/a&gt; - May 28, 2008 - 18:39&lt;/div&gt;     &lt;div class="content"&gt;&lt;p&gt;In order to get this to work for buddylist 2, try this snippet (this goes in your user_profile.tpl.php):&lt;/p&gt; &lt;div class="codeblock"&gt;&lt;code&gt; &lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;if (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$GLOBALS&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'user'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;]-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;!= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;): &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;      &lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;//load all buddies from active user&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$userbuddies &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;buddy_api_get_buddies&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;//buddylist links&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;if (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$GLOBALS&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'user'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;]-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;!= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&amp;amp;&amp;amp; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;user_access&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'maintain buddy list'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)) {&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;in_array&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;array_keys&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$userbuddies&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)) ? print &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;l&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;t&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'Remove @username from your contact list'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;,array(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'@username'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)), &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'buddy/delete/'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, array(), &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;drupal_get_destination&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(), &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;NULL&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;FALSE&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;FALSE&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) : print &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;l&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;t&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'Add @username to your contact list'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;,array(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'@username'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)), &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'buddy/add/'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, array(), &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;drupal_get_destination&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(), &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;NULL&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;FALSE&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;FALSE&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;?php &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;endif; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt; &lt;p&gt;Note: If used the snippet on this page (the comment above this comment) to replace $user with $account in your template.php, replace that snippet with this (this goes in template.php): &lt;/p&gt; &lt;div class="codeblock"&gt;&lt;code&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;/**&lt;br /&gt;* Catch the theme_user_profile function, and redirect through the template api&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;function &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;phptemplate_user_profile&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$fields &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= array()) {&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// Pass to phptemplate, including translating the parameters to an associative array. The element names are the names that the variables&lt;br /&gt;  // will be assigned within your template.&lt;br /&gt;  /* potential need for other code to extract field info */&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;return &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;_phptemplate_callback&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'user_profile'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, array(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'user' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'fields' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$fields&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;));&lt;br /&gt;  }&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2498664977335746883-7542873757208920430?l=drupal-development-india.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/7542873757208920430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupal-development-india.blogspot.com/2009/02/adddelete-tofrom-buddylist-snippet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/7542873757208920430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/7542873757208920430'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/2009/02/adddelete-tofrom-buddylist-snippet.html' title='Add/delete to/from buddylist snippet'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2498664977335746883.post-7872537849824110200</id><published>2009-01-28T01:50:00.000-08:00</published><updated>2009-01-28T02:05:20.061-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OUTDATED: Display user submitted images in their profile page'/><title type='text'>OUTDATED: Display user submitted images in their profile page</title><content type='html'>&lt;h2&gt;description&lt;/h2&gt; &lt;p&gt;This snippet will display the thumbnail images of the most N most recently submitted images by the user. You can also optionally limit the images selected based on taxonomy term id's (see snippet for details)&lt;/p&gt; &lt;h2&gt;instructions&lt;/h2&gt; &lt;ol&gt;&lt;li&gt;In a text editor paste the following snippet into your &lt;strong&gt;user_profile.tpl.php&lt;/strong&gt; file&lt;br /&gt;(For instructions on how to get started with your own custom user profile layout click through to the &lt;a href="http://drupal.org/node/35728" rel="nofollow"&gt;Customising the user profile layout&lt;/a&gt; handbook page.)&lt;/li&gt;&lt;li&gt;Upload your edited &lt;strong&gt;user_profile.tpl.php&lt;/strong&gt; to your active theme folder&lt;/li&gt;&lt;/ol&gt; &lt;div class="codeblock"&gt;&lt;code&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// Display N most recent thumbnails of images submitted by the user&lt;br /&gt;//  Each thumbnail is linked back to it's image node&lt;br /&gt;// Can optional limit the photos shown by specififying one or taxonomy term id's&lt;br /&gt;&lt;br /&gt;// The number of thumbnail images to show&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$nlimit &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;3&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$taxo_id &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= array();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// Add one line for each taxonomy term id you want to limit the thumbnails to&lt;br /&gt;// As an example, the following two lines would select images associated with taxonomy terms 36 OR 37&lt;br /&gt;// $taxo_id[] = 36;&lt;br /&gt;// $taxo_id[] = 37;&lt;br /&gt;// Note, if not taxonomy term ids are specified, the selection is from all the user submitted images&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$userid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;br /&gt;if ( &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;count&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$taxo_id&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) &gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;0 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) {&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// Limit images based on taxonomy term id's&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$taxo_str &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;implode&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;','&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$taxo_id&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$sql &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"SELECT n.created, n.title, n.nid, n.changed FROM node n INNER JOIN term_node ON n.nid = term_node.nid AND term_node.tid IN ($taxo_str) WHERE n.type = 'image' AND n.uid = $userid AND n.status = 1 ORDER BY n.changed DESC"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;}&lt;br /&gt;else {&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$sql &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"SELECT n.created, n.title, n.nid, n.changed FROM node n WHERE n.type = 'image' AND n.uid = $userid AND n.status = 1 ORDER BY n.changed DESC"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$result &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;db_query_range&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$sql&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$nlimit&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$output &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;''&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;while ( &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$info &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;db_fetch_object&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$result&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) ) {&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$node &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;node_load&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(array(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'nid' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$info&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;nid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;));&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$img_tag &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;image_display&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$node&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'thumbnail'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$link &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'node/' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$node&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;nid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$output &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;l&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$img_tag&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$link&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, array(), &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;NULL&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;NULL&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;FALSE&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;TRUE&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;}&lt;br /&gt;print &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$output&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt; &lt;/code&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2498664977335746883-7872537849824110200?l=drupal-development-india.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/7872537849824110200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupal-development-india.blogspot.com/2009/01/outdated-display-user-submitted-images.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/7872537849824110200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/7872537849824110200'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/2009/01/outdated-display-user-submitted-images.html' title='OUTDATED: Display user submitted images in their profile page'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2498664977335746883.post-5585114236247703596</id><published>2009-01-27T01:43:00.000-08:00</published><updated>2009-01-27T01:45:33.256-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Display recent nodes (titles and teasers) snippet'/><title type='text'>Display recent nodes (titles &amp; teasers) snippet</title><content type='html'>&lt;div class="content"&gt;     &lt;h2&gt;Description&lt;/h2&gt; &lt;p&gt;This php snippet displays the 10 most recent nodes submitted by the user, restricting certain node types. In this example, pages, stories, and forum posts are excluded from the list. &lt;/p&gt; &lt;h2&gt;Usage&lt;/h2&gt; &lt;p&gt;• For use in a &lt;a href="http://drupal.org/node/35728" rel="nofollow"&gt;user profile page override&lt;/a&gt;&lt;br /&gt;• Using a text editor like NOTEPAD.EXE or an equivalent, copy and paste the code into your user_profile.tpl.php file&lt;br /&gt;• To increase/decrease the number of posts listed change the $nlimit value to suit. The default setting is 10.&lt;br /&gt;• Tested and works with Drupal 4.6&lt;br /&gt;• Change the div class names or the prefix text to suit.&lt;/p&gt; &lt;div class="codeblock"&gt;&lt;code&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;10&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$user&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;uid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;pager_query&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;db_rewrite_sql&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"SELECT n.nid, n.created FROM {node} n WHERE n.status = 1 AND n.uid = $userid AND n.type != 'page' AND n.type != 'poll' AND n.type != 'forum' AND n.type != 'story' ORDER BY n.created DESC"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;), &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;variable_get&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'default_nodes_main'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$nlimit&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)); &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;while (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$node &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;db_fetch_object&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$result1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)) {&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$output2 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;node_view&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;node_load&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(array(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'nid' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$node&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;nid&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)), &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);}; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;print &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$output2&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt; &lt;div class="book-navigation"&gt;&lt;div class="page-links clear-block"&gt;&lt;a href="http://drupal.org/node/69218" class="page-previous" title="Go to previous page"&gt;‹ Display a user's points value from the userpoints.module&lt;/a&gt;&lt;a href="http://drupal.org/node/35728" class="page-up" title="Go to parent page"&gt;up&lt;/a&gt;&lt;a href="http://drupal.org/node/191688" class="page-next" title="Go to next page"&gt;Displaying counts from the Invite module ›&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2498664977335746883-5585114236247703596?l=drupal-development-india.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/5585114236247703596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupal-development-india.blogspot.com/2009/01/display-recent-nodes-titles-teasers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/5585114236247703596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/5585114236247703596'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/2009/01/display-recent-nodes-titles-teasers.html' title='Display recent nodes (titles &amp; teasers) snippet'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2498664977335746883.post-2204628761735470123</id><published>2009-01-23T23:40:00.000-08:00</published><updated>2009-01-23T23:42:10.607-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Drupal Modules'/><category scheme='http://www.blogger.com/atom/ns#' term='Drupal Themes'/><category scheme='http://www.blogger.com/atom/ns#' term='Drupal Customization'/><category scheme='http://www.blogger.com/atom/ns#' term='Drupal Development'/><category scheme='http://www.blogger.com/atom/ns#' term='Customising the user profile layout'/><category scheme='http://www.blogger.com/atom/ns#' term='Drupal'/><title type='text'>Customising the user profile layout</title><content type='html'>&lt;p&gt;(Thanks to Dublin Drupaller for starting this section of the handbook)&lt;/p&gt; &lt;p&gt;The PHP Snippets below are intended for use within a customised USER PROFILE page that simply enables you to “pull” specific content from your drupal database specific to a particular user and display it in the way you want.&lt;/p&gt; &lt;p&gt;They are intended for use with a phptemplate based theme and for Drupal site developers who do not have php programming knowledge but want to push out the boundaries of user profile pages and control precisely how they look.&lt;/p&gt; &lt;p&gt;See also Advanced Profile Kit for an alternate method of sprucing up your user profile pages.&lt;/p&gt; &lt;p&gt;Simple step-by-step instructions are provided.&lt;br /&gt;The concept&lt;/p&gt; &lt;p&gt;Drupal is an extremely powerful tool for building online communities, in particular, allowing users to submit their own content to a community hub. A good illustration of this working well online might be the World famous myspace.com site, where bands/artists are able to submit content into their own page.&lt;/p&gt; &lt;p&gt;Drupal has all the tools available to create your own myspace.com style community hub.&lt;/p&gt; &lt;p&gt;These snippets are intended as a mini-repository and as an aid for site designers without php programming skills to create sophisticated User Profile Pages for members of their community.&lt;/p&gt; &lt;p&gt;Customised User Profile Pages maybe applied to many applications. myspace.com is primarily a site for artists &amp;amp; bands, but, similar techniques could be used for other applications such as a rzye.com (Drupal powered community hub) style professional networking hub or terminus1525 (Drupal powered community hub) for studios.&lt;br /&gt;Getting Started - (Drupal 4.x and Drupal 5.x)&lt;/p&gt; &lt;p&gt;Step 1 - is to override the default User Profile page layout by uploading the special template.php file to your active theme folder.&lt;/p&gt; &lt;p&gt;$account, ‘fields’ =&gt; $fields));&lt;br /&gt;}&lt;br /&gt;?&gt;&lt;/p&gt; &lt;p&gt;If you already have a template.php file in your active theme folder, simply add the above to the existing template.php file and upload it.&lt;/p&gt; &lt;p&gt;Step 2 - (Drupal 4.x and 5.x) is to create your customised user_profile.tpl.php file and upload that to your active theme folder.&lt;/p&gt; &lt;p&gt;If you’re starting from scratch, simply open notepad.exe or a similar text editor and paste in the snippets linked below to build your custom user profile page. Save it with the user_profile.tpl.php filename and upload it to your theme folder along with the template.php file.&lt;/p&gt; &lt;p&gt;Once you have got started with your first user_profile.tpl.php file, you can experiment with adding in more snippets or including HTML layout controls to get a feel for the flexibility this allows.&lt;br /&gt;Getting Started - (Drupal 6.x)&lt;/p&gt; &lt;p&gt;Step 1 - is to override the default User Profile page layout by uploading a custom user-profile.tpl.php* file to your active theme folder.&lt;/p&gt; &lt;p&gt;Drupal will automatically detect the presence of your custom user-profile.tpl.php and override the default user profile layout. To make this happen, you need to rebuild the theme registry, which you can do by clearing the caches (for example using the button on the admin/settings/performance page), or simply by visiting the admin/build/modules page.&lt;/p&gt; &lt;p&gt;* note that in Drupal 6.x, your custom user profile layout file name uses a hyphen, instead of an underscore.&lt;/p&gt; &lt;p&gt;Step 2 - is to customise your user-profile.tpl.php layout file.&lt;/p&gt; &lt;p&gt;By default, all user profile data is printed out with the $user_profile variable. If there is a need to break it up you can use $profile instead.&lt;/p&gt; &lt;p&gt;As an example, the following snippet inserted in your custom user-profile.tpl.php will display the default user profile layout.&lt;/p&gt;  &lt;p&gt;Available variables:&lt;/p&gt; &lt;p&gt;* $user_profile: All user profile data. Ready for print.&lt;br /&gt;* $profile: Keyed array of profile categories and their items or other data provided by modules.&lt;/p&gt; &lt;p&gt;To check for all available data within $profile, insert the following snippet at the bottom of your custom user-profile.tpl.php.&lt;/p&gt; &lt;div&gt; &lt;h2&gt;Available variables&lt;/h2&gt; &lt;p&gt;The following is a list of variables that is available to your custom &lt;strong&gt;user-profile.tpl.php&lt;/strong&gt;.&lt;/p&gt; &lt;p&gt;&lt;?php print ‘&lt;/p&gt; &lt;pre&gt;'. check_plain(print_r($profile, 1)) .'&lt;/pre&gt; &lt;p&gt;‘; ?&gt;&lt;/p&gt;&lt;/div&gt; &lt;p&gt;How to use these snippets&lt;/p&gt; &lt;p&gt;Simply copy and paste these snippets into your custom user profile layout file and upload it to your active theme folder. Check to make sure that the snippet you are using is compatible for the version of Drupal you are using.&lt;/p&gt; &lt;p&gt;It’s recommended that you test your customised user_profile.tpl.php(Drupal 4.x or Drupal 5.x) or user-profile.tpl.php file (Drupal 6.x) on a test installation before adding to a live site.&lt;br /&gt;Adding new snippets&lt;/p&gt; &lt;p&gt;Simply click on the ADD NEW CHILD PAGE link below and create a new handbook page. Include any dependencies, such as which version of Drupal you have tested the snippet with or extra modules that need to be enabled for the snippet to work.&lt;/p&gt; &lt;p&gt;PLEASE NOTE! The following snippets are user submitted. Use at your own risk! For users who have setup drupal using an alternate database to the default (MYSQL), please note that the snippets may contain some database queries specific to MYSQL.&lt;/p&gt; &lt;p&gt;* A basic User Profile Page to help get you started&lt;br /&gt;* Customising the user profile pages (a “before” and “after” example with screenshots)&lt;br /&gt;* User Profile avatar/picture Snippet&lt;br /&gt;* Handling single-line profile fields&lt;br /&gt;* Handling multi-line profile fields&lt;br /&gt;* Handling checkbox profile fields&lt;br /&gt;* Handling freeform profile fields&lt;br /&gt;* Handling URL profile fields&lt;br /&gt;* Recent weblog entries (titles) snippet&lt;br /&gt;* Recent weblog entries (titles &amp;amp; teasers) snippet&lt;br /&gt;* Add/delete to/from buddylist snippet&lt;br /&gt;* Display a list of buddies snippet&lt;br /&gt;* Display list of (x) recent posts (titles) snippet&lt;br /&gt;* User “history” or “member for: (time)” snippet&lt;br /&gt;* Adding layout and content to the default user profile theme&lt;br /&gt;* allow users to choose whether certain profile fields are visible or hidden&lt;br /&gt;* Allowing users to customize their profile&lt;br /&gt;* Custom User Blocks and User Tables PHP Snippets&lt;br /&gt;* Customising the user profile layout per role&lt;br /&gt;* Display link to user’s embedded gallery (or not if it does not exist)&lt;br /&gt;* Display a customisable “this user is [online/offline]” status message in the User Profile page&lt;br /&gt;* Display a user friendly text message when profile fields are left blank&lt;br /&gt;* Display a user’s points value from the userpoints.module&lt;br /&gt;* Display recent nodes (titles &amp;amp; teasers) snippet&lt;br /&gt;* Displaying counts from the Invite module&lt;br /&gt;* Drupal V5.x warning: Cannot add header information&lt;br /&gt;* Handling date profile fields&lt;br /&gt;* Howto: Make the user profile layout compact (with css only)&lt;br /&gt;* Insert Subscribed Organic Groups List&lt;br /&gt;* Messages for unpublished profiles&lt;br /&gt;* My Comments Block for Profiles&lt;br /&gt;* Outputting full civiCRM profile to custom profile&lt;br /&gt;* Outputting individual CiviCRM profile fields into custom Drupal profile&lt;br /&gt;* User Profile Page&lt;br /&gt;* User referral module&lt;br /&gt;* Weight sorting for input fields (when the user fill the form) doesn’t apply - fix&lt;br /&gt;* Insert user friendly “click here to add your..” links when user profile fields are left blank&lt;br /&gt;* Display a date related notice or countdown snippet&lt;br /&gt;* Send private message snippet&lt;br /&gt;* Display a Skype “Call me” or “leave a voicemail” button depending on Users’ online/offline status&lt;br /&gt;* Display users age based on a date-of-birth field&lt;br /&gt;* insert a “view your order history” and “view [username]s store” link&lt;br /&gt;* Show/hide certain profile fields depending on user role or user permissions&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2498664977335746883-2204628761735470123?l=drupal-development-india.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/2204628761735470123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupal-development-india.blogspot.com/2009/01/customising-user-profile-layout.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/2204628761735470123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/2204628761735470123'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/2009/01/customising-user-profile-layout.html' title='Customising the user profile layout'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2498664977335746883.post-791786328616591249</id><published>2009-01-21T23:13:00.000-08:00</published><updated>2009-01-21T23:14:30.185-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Remove unwanted tabs from pages'/><title type='text'>Remove unwanted tabs from pages</title><content type='html'>&lt;h2&gt;Description&lt;/h2&gt; &lt;p&gt;Some modules add tabs to pages that are not needed for general users, or not needed at all. You may wish to link to the page in a different way, as some users don't understand that they can click on the tab above a node.&lt;/p&gt; &lt;p&gt;There is currently no way to alter the hook_menu() generated tabs from code, so this function will find and strip out a tab based on its name.&lt;/p&gt; &lt;h3&gt;Step 1 of 2&lt;/h3&gt; &lt;p&gt;Locate your theme's template.php file. If one doesn't exist create an empty one. This is where you can place customisation PHP code.&lt;/p&gt; &lt;h3&gt;Step 2 of 2&lt;/h3&gt; &lt;p&gt;Custom functions placed in the themes template.php file should begin with the theme name. In the code snippet below replace "yourthemename" with the actual name of your theme, such as "bluemarine".&lt;/p&gt; &lt;p&gt;You may already have a '_phptemplate_variables' function defined depending on what theme you are using, if so do not include the function again from the snippet below.&lt;/p&gt; &lt;div class="codeblock"&gt;&lt;code&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;function &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;_phptemplate_variables&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$hook&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$vars &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= array()) {&lt;br /&gt;&lt;br /&gt;  if(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$hook &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;== &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'page'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) {&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;yourthemename_removetab&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'address book'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$vars&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// add additional lines here to remove other tabs&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;}&lt;br /&gt;&lt;br /&gt;  return &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$vars&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;yourthemename_removetab&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$label&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &amp;amp;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$vars&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) {&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$tabs &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;explode&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"\n"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$vars&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'tabs'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;]);&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$vars&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'tabs'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;] = &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;''&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;br /&gt;  foreach(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$tabs &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;as &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$tab&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) {&lt;br /&gt;    if(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;strpos&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$tab&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&gt;' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$label &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) === &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;FALSE&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) {&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$vars&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'tabs'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;] .= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;$tab &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;. &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"\n"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt; &lt;p&gt;The tab removal work is done in the yourthemename_removetab() function, pass in a plain text tab label, along with the PHPTemplate variables, and the function will remove the tab.&lt;/p&gt; &lt;p&gt;In the above example snippet the 'address book' tab added by the eCommerce package is removed from the users profile page.&lt;/p&gt; &lt;h3&gt;Notes&lt;/h3&gt; &lt;ul&gt;&lt;li&gt;Call yourthemename_removetab('tab name', $vars); for each tab you wish to remove.&lt;/li&gt;&lt;li&gt;No other modules need to be installed to use this.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2498664977335746883-791786328616591249?l=drupal-development-india.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/791786328616591249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupal-development-india.blogspot.com/2009/01/remove-unwanted-tabs-from-pages.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/791786328616591249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/791786328616591249'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/2009/01/remove-unwanted-tabs-from-pages.html' title='Remove unwanted tabs from pages'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2498664977335746883.post-3220684909924582821</id><published>2009-01-21T03:13:00.000-08:00</published><updated>2009-01-21T03:16:30.384-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Drupal Themes Development'/><category scheme='http://www.blogger.com/atom/ns#' term='Blog to it - The social blog directory'/><category scheme='http://www.blogger.com/atom/ns#' term='Drupal Customization'/><category scheme='http://www.blogger.com/atom/ns#' term='Drupal Development'/><category scheme='http://www.blogger.com/atom/ns#' term='Drupal'/><category scheme='http://www.blogger.com/atom/ns#' term='Drupal Modules Development'/><title type='text'>Blog to it - The social blog directory</title><content type='html'>&lt;p&gt;&lt;a href="http://blog.to.it/"&gt;Blog to it&lt;/a&gt; is a social blog directory developed using 100% contrib modules. Well, there were a few tweaks to one module and a few more tweaks in the theme. This case study has been written to give an insight into how and why Blog to it was developed.&lt;/p&gt; &lt;h2&gt;What is it?&lt;/h2&gt; &lt;p&gt;"Do you have a blog that you would like to share with others? Do you enjoy reading blogs but don’t know where to effectively look for them? If you’re in this predicament, drop by Blog.to.it and take a look at what they have for you to enjoy.&lt;/p&gt; &lt;p&gt;Blog.to.it is a website that allows users to import all of their blog posts via RSS or start a new blog directly on their site. The site has eight different blog categories including technology, business, science, gaming, lifestyle, entertainment, sports, and other. Whatever you want to write or read about is easy to find, just look through the categories that interest you most.&lt;/p&gt; &lt;p&gt;Once posts are in they can be voted on, commented on, and sorted by rating, category, or date. Blog.to.it hopes to be a great place to find new blogs to read. The site merges loads of features from current sites and brings them to a new audience, the personal blogger. There are many blogs world wide and it is often hard to get noticed between all the corporate blogs out there, this site is trying to help bloggers come together in a space that’s just for them."&lt;br /&gt;From &lt;a href="http://www.killerstartups.com/Site-Reviews/blog-to-it-the-social-blog-directory"&gt;Killer Startups&lt;/a&gt;&lt;/p&gt; &lt;h3&gt;Features&lt;/h3&gt; &lt;ul&gt;&lt;li&gt;&lt;strong&gt; Hosted user blogs&lt;/strong&gt; - Just like on Blogger or Wordpress a user can start blogging on Blog to it, this isn't a key feature but was more or less there, so why not use it.&lt;/li&gt;&lt;li&gt; &lt;strong&gt; RSS user blog import&lt;/strong&gt; - This is the key driver of the site by allowing users to add their existing blog posts automatically to Blog to it.&lt;/li&gt;&lt;li&gt; &lt;strong&gt; Blog post commenting&lt;/strong&gt; - It was never fully decided if this should be on the site or not, should comments be on Blog to it or on the original blog. Maybe one to work on?&lt;/li&gt;&lt;li&gt;&lt;strong&gt;  Blog post rating / voting&lt;/strong&gt; - This also another key feature. The main way to view posts is by number of votes. (Digg like)&lt;/li&gt;&lt;li&gt; &lt;strong&gt; Browse posts by rating&lt;/strong&gt;&lt;/li&gt;&lt;li&gt; &lt;strong&gt; Browse posts by date&lt;/strong&gt;&lt;/li&gt;&lt;li&gt; &lt;strong&gt; Browse posts by category&lt;/strong&gt;&lt;/li&gt;&lt;li&gt; &lt;strong&gt; Browse posts by user / blog&lt;/strong&gt;&lt;/li&gt;&lt;li&gt; &lt;strong&gt; Browse blogs by tag&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;  Personal and site wide Twitter updates&lt;/strong&gt; - This is a really great feature to have. It both helps the user integrate more with the site, and is a great marketing tool. A lot of the traffic is coming from Twitter and Twitter aggregation.&lt;/li&gt;&lt;/ul&gt; &lt;h2&gt;How was it done?&lt;/h2&gt; &lt;h3&gt;Modules&lt;/h3&gt; &lt;p&gt;&lt;img src="http://drupal.org/files/picture2.png" alt="Blog to it screenshot" style="float: right; margin-bottom: 10px; margin-left: 10px;" /&gt;&lt;br /&gt;The whole site was developed using Drupal 6 and then moved to Acquia Drupal once live. It is heavily based around the core blog module because user blogs are created in the default Drupal way, and RSS imports are imported into the Blog content type.&lt;/p&gt; &lt;p&gt;By using the &lt;a href="http://drupal.org/project/drupalmu_helper"&gt;DrupalMU Helper&lt;/a&gt; module which is part of the Drupal MU install profile it helped turn the core blog module into a multi-user blogging system and gives vital functions that were used when creating views and the theme.&lt;/p&gt; &lt;p&gt;One of the other key modules was the &lt;a href="http://drupal.org/project/feedapi"&gt;FeedAPI&lt;/a&gt; module which is used to import an external blog into the blog content type via RSS feed. The &lt;a href="http://drupal.org/project/content_profile"&gt;Content Profile&lt;/a&gt; was used to add the RSS feed URL field to the user's profile. Simple feed was also looked into as a way of importing feeds, but it didn't seem to attach the imported nodes to the user who setup the import. This may of been a development error rather than a fault with the module, but FeedAPI was suggested a better module, and it worked.&lt;/p&gt; &lt;p&gt;Posts can be voted on using the &lt;a href="http://drupal.org/project/VotingAPI"&gt;VotingAPI&lt;/a&gt; and &lt;a href="http://drupal.org/project/plus1"&gt;Plus1&lt;/a&gt; modules. Voting API was an obvious choice when creating a site that requires voting, but which module to use with Voting API was a harder choice. Drigg seems the most advanced to allow +1 and -1 voting, but this was not available for Drupal 6 (it was tested once the first 6 release and seemed too specific), so after spending a few hours installing, testing and uninstalling Plus1 seemed to offer what was needed for the Blog to it use case.&lt;/p&gt; &lt;p&gt;This site is not very complex, but works well. The uptake has been good and by adding Twitter integration this helps with marketing. The Twitter module allows each user to import their Twitter posts, and announce their new posts on Twitter. It also allows the announcement of all new posts via Triggers and Actions on &lt;a href="http://twitter.com/blogtoitnew"&gt;http://twitter.com/blogtoitnew&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.drupal.org/project/views"&gt;Views&lt;/a&gt; also plays a big part in this site, much like it does in other sites. It allows many pages to be developed showing the posts in different ways. There is one main view for the site which creates three pages for each category.&lt;/p&gt; &lt;h3&gt;Theming&lt;/h3&gt; &lt;p&gt;The theme was based upon Raincity's Basic theme, this really helped speed up development. There was very little special development in the theme. The only exciting aspect is the use of the Drupal MU helper functions. The function returns the UID of the user whose blog or profile is being viewed. This allowed custom theming for user pages such as hiding the Blog to it logo and displaying the site name.&lt;/p&gt; &lt;h3&gt;Infrastructure&lt;/h3&gt; &lt;p&gt;The site was developed on a budget VPS from &lt;a href="http://www.vaserv.com/"&gt;VPS Empire&lt;/a&gt; who has now merged with  VA Serv. After launch and after a lot of hunting a hosting partnership was found with &lt;a href="http://www.castlegem.co.uk/"&gt;Castlegem&lt;/a&gt;, so far the site has been running very well, and Castlegem were great at getting the server setup, including custom nameservers, DNS and backup. &lt;/p&gt; &lt;h2&gt;What next?&lt;/h2&gt; &lt;p&gt;&lt;img src="http://drupal.org/files/picture3.png" alt="Blog to it screenshot" style="float: right; margin-bottom: 10px; margin-left: 10px;" /&gt;&lt;br /&gt;&lt;a href="http://blog.to.it/"&gt;Blog to it&lt;/a&gt; has currently been released as an Alpha version so many of the bugs can be ironed out. Development will continue until the beta version is ready early 2009.&lt;/p&gt; &lt;p&gt;So far very few bugs have been found, the hardest aspect seems to be perfecting the usability. For example, should anonymous users be able to vote and comment? what should be displayed on each page? what is a "top post"?&lt;/p&gt; &lt;p&gt;Also because there are so many posts being imported cron needs to run every 2 mins. This means that on each cron run there is only 1-2 posts and twitter updates being imported, where as if cron was run every hour there many be 50+ posts and twitter updates being imported. This also helps the site stay very up to date, but puts a big strain on the server&lt;/p&gt; &lt;p&gt;There are many ideas of how to move the site and project forward, and by using an array of contrib and custom modules it is planned to add more social features to the site. Such as friends and / or followers, what posts your friends have added, other people who have voted on this post. It is also planned to launch a more feature rich profile page displaying a user's friends and what posts they have voted on.&lt;/p&gt; &lt;p&gt;Please head over to &lt;a href="http://blog.to.it/"&gt;Blog to it&lt;/a&gt;, register, add your blog and vote up posts you like.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2498664977335746883-3220684909924582821?l=drupal-development-india.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/3220684909924582821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupal-development-india.blogspot.com/2009/01/blog-to-it-social-blog-directory.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/3220684909924582821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/3220684909924582821'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/2009/01/blog-to-it-social-blog-directory.html' title='Blog to it - The social blog directory'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2498664977335746883.post-6735366266198481461</id><published>2009-01-18T23:15:00.000-08:00</published><updated>2009-01-18T23:17:13.755-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Drupal Modules'/><category scheme='http://www.blogger.com/atom/ns#' term='Drupal Themes'/><category scheme='http://www.blogger.com/atom/ns#' term='Drupal Development'/><category scheme='http://www.blogger.com/atom/ns#' term='Drupal'/><title type='text'>Multiforms: Multi-Page Collection of Data from Users</title><content type='html'>&lt;p&gt;The Multiforms module is designed for the collection of data from users. It can be used to easily author multi-page forms which are published as nodes. The data collected by the forms can then be exported in tab-delimited format.&lt;/p&gt; &lt;p&gt;Its features include:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;Multi-page form support &lt;/li&gt;&lt;li&gt;Ability to save/load form "snippets" (groups of fields) &lt;/li&gt;&lt;li&gt;Duplicate submission prevention (based on specification of which fields should collectively be unique) &lt;/li&gt;&lt;li&gt;Ability to purge submitted data &lt;/li&gt;&lt;li&gt;Closing date and message &lt;/li&gt;&lt;li&gt;Integrated email referrals &lt;/li&gt;&lt;li&gt;Completion threshold &lt;/li&gt;&lt;li&gt;Creation of draw entries upon successful completion &lt;/li&gt;&lt;li&gt;Creation of extra draw entries for each email referral &lt;/li&gt;&lt;/ul&gt; &lt;h3&gt;Installation&lt;/h3&gt; &lt;ol&gt;&lt;li&gt;Visit &lt;a href="http://drupal.org/project/multiforms" title="http://drupal.org/project/multiforms" rel="nofollow"&gt;http://drupal.org/project/multiforms&lt;/a&gt; and download and decompress the appropriate archive. &lt;/li&gt;&lt;li&gt;Place the resulting "multiforms" folder in your Drupal installation's "modules" directory. &lt;/li&gt;&lt;li&gt;Enable the three component modules via the &lt;strong&gt;admin/modules&lt;/strong&gt; administration page. &lt;/li&gt;&lt;/ol&gt; &lt;h3&gt;Configuration&lt;/h3&gt; &lt;p&gt;Defaults can be set at the multiforms settings page (&lt;strong&gt;admin/settings/multiforms&lt;/strong&gt;).&lt;/p&gt; &lt;p&gt;Administration and content access can be set on the access control administration page (&lt;strong&gt;admin/user/access&lt;/strong&gt;).&lt;/p&gt; &lt;h2&gt;Creating a Multiform&lt;/h2&gt; &lt;p&gt;These are the steps for creating a multiform:&lt;/p&gt; &lt;ol&gt;&lt;li&gt;Visit the create content page (&lt;strong&gt;node/add&lt;/strong&gt;) and click "Multiform". &lt;/li&gt;&lt;li&gt;After adding the multiform, click the &lt;strong&gt;Setup&lt;/strong&gt; tab and fill in the appropriate fields, as explained below: &lt;ul&gt;&lt;li&gt;The &lt;em&gt;Title&lt;/em&gt; and &lt;em&gt;Description&lt;/em&gt; fields are normal node title and body fields. &lt;/li&gt;&lt;li&gt;&lt;em&gt;Footer Text&lt;/em&gt; is content that will be shown below the form. &lt;/li&gt;&lt;li&gt;&lt;em&gt;Completion Text&lt;/em&gt; is shown after the user completes the entire form. &lt;/li&gt;&lt;li&gt;The &lt;em&gt;Closing Date&lt;/em&gt; section allows an optional closing date to be specified. &lt;/li&gt;&lt;li&gt;The &lt;em&gt;Completion Criteria&lt;/em&gt; section allows completion to be restricted. &lt;/li&gt;&lt;li&gt;The &lt;em&gt;Draw Entries&lt;/em&gt; section determines whether or not draw entries will be created (for use in contests).   &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;  Once these fields are complete, click the &lt;strong&gt;Update&lt;/strong&gt; button. &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt; &lt;h2&gt;Defining Submission Form Fields&lt;/h2&gt; &lt;p&gt;The submission form is the first form shown to the user. This form is meant for submission "meta data", contact information for example, and questions answered on this form don't count towards meeting completion criteria, if specified.&lt;/p&gt; &lt;p&gt;To edit the submission form click the &lt;strong&gt;Forms&lt;/strong&gt; tab then click the &lt;strong&gt;Edit Submission Form&lt;/strong&gt; link.&lt;/p&gt; &lt;p&gt;Clicking &lt;strong&gt;Add New Field&lt;/strong&gt; will allow you to add a field.&lt;/p&gt; &lt;p&gt;Each field has a &lt;em&gt;name&lt;/em&gt; and &lt;em&gt;type&lt;/em&gt; and, optionally, a &lt;em&gt;description&lt;/em&gt; and &lt;em&gt;validation&lt;/em&gt; type.&lt;/p&gt; &lt;h2&gt;The Forms Tab&lt;/h2&gt; &lt;p&gt;Sections are form forms shown after the submission form. They are used to create groups of related questions. Sections are created and listed on the &lt;em&gt;Forms&lt;/em&gt; page which can be accessed by clicking the &lt;strong&gt;Forms&lt;/strong&gt; tab.&lt;/p&gt; &lt;p&gt;Once on the forms page, click &lt;strong&gt;Add New Section&lt;/strong&gt; to begin creation of a new section. You'll then be shown a form that will allow you to describe the section. After filling in these fields, click &lt;strong&gt;Add&lt;/strong&gt; to complete creation. You will then see that your section has been added and you may click &lt;strong&gt;Edit&lt;/strong&gt; to edit it in the same way that you edited the submission form.&lt;/p&gt; &lt;h2&gt;Managing Submissions&lt;/h2&gt; &lt;p&gt;Multiform submissions can be managed via the &lt;strong&gt;Submissions&lt;/strong&gt; tab. A list of submissions in reverse chronological order will be shown. Submissions can be viewed, purged, exported, and randomly drawn.&lt;/p&gt; &lt;h2&gt;Submission Emailing&lt;/h2&gt; &lt;p&gt;Multiform submissions can be emailed if the &lt;a href="http://drupal.org/project/actions" target="_blank" rel="nofollow"&gt;Actions&lt;/a&gt; module is installed.&lt;/p&gt; &lt;p&gt;The 5.x-1.x version of the Actions module is required. The 5.x-2.x does not currently work.&lt;/p&gt; &lt;p&gt;If the Actions module is installed, at the bottom of the setup tab there will be a section of the form labeled "Actions". In this section select the email action under "Multiforms". This action will email each submission to the email address of the creator of the multiform.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2498664977335746883-6735366266198481461?l=drupal-development-india.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/6735366266198481461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupal-development-india.blogspot.com/2009/01/multiforms-multi-page-collection-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/6735366266198481461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/6735366266198481461'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/2009/01/multiforms-multi-page-collection-of.html' title='Multiforms: Multi-Page Collection of Data from Users'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2498664977335746883.post-5634672318059933432</id><published>2009-01-16T03:02:00.000-08:00</published><updated>2009-01-16T03:04:06.176-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Using Ajax in Drupal 6'/><title type='text'>Using Ajax in Drupal 6</title><content type='html'>&lt;p&gt;John K. VanDyk &lt;a href="http://www.drupalbook.com/node/118"&gt;confirmed&lt;/a&gt; that Pro Drupal Development 2&lt;sup&gt;nd&lt;/sup&gt; edition will be published early this summer. I don’t know about you but in Montreal it sure does not look like summer. We’re still in the dead of winter, and it’s one snowstorm after another.&lt;/p&gt; &lt;p&gt;Anywho, I got busy last night and, on a Drupal 6 install, I worked through chapter &lt;em&gt;sweet seventeen&lt;/em&gt; of the Pro Drupal Development 1&lt;sup&gt;st&lt;/sup&gt; edition book. The title of the chapter is "Using jQuery".&lt;/p&gt; &lt;p&gt;(Hey, here is an idea for a thread: name the one computer book you’ve actually read from cover to cover in your life. My answer: Pro Drupal Development, and probably just a few other books.)&lt;/p&gt;&lt;p&gt;&lt;a href="http://11heavens.com/using-ajax-in-Drupal-6"&gt;Learn More About Drupal&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2498664977335746883-5634672318059933432?l=drupal-development-india.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/5634672318059933432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupal-development-india.blogspot.com/2009/01/using-ajax-in-drupal-6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/5634672318059933432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/5634672318059933432'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/2009/01/using-ajax-in-drupal-6.html' title='Using Ajax in Drupal 6'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2498664977335746883.post-7359107031669002815</id><published>2009-01-13T01:29:00.000-08:00</published><updated>2009-01-16T03:59:17.523-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Drupal Modules'/><category scheme='http://www.blogger.com/atom/ns#' term='Drupal Development'/><category scheme='http://www.blogger.com/atom/ns#' term='Drupal Module - iGallery'/><title type='text'>Drupal Module - iGallery</title><content type='html'>iGallery&lt;br /&gt;&lt;br /&gt;* Compatibility : DRUPAL 6&lt;br /&gt;* Version : 6.6 - Beta version.&lt;br /&gt;* Liecense Information : No liecense&lt;br /&gt;&lt;br /&gt;Copy the module directory in your modules folder and enable it.You can create public and private igallery content using this module.&lt;br /&gt;&lt;br /&gt;For adminster igallery go to "Igallery Settings" in administer menu and follow the form and help description.&lt;br /&gt;&lt;br /&gt;For creating new igallery go to create content and create a igallery content type. The new igallery content type will act as igallery.&lt;br /&gt;&lt;br /&gt;Click radio button to select ur igallery type.&lt;br /&gt;&lt;br /&gt;If u select Image it will work as image igallery. If u select Video it will work as video igallery.&lt;br /&gt;&lt;br /&gt;You can upload wmv, mov, mpeg and some other contents type to video gallery. It will be converted to flv formate using ffmpeg commands.&lt;br /&gt;&lt;br /&gt;Once u create i gallery you will not able to change it type.&lt;br /&gt;&lt;br /&gt;You can select plugin to show image type igallery.... available plugins options are....&lt;br /&gt;&lt;br /&gt;1) Greybox&lt;br /&gt;2) Lightbox&lt;br /&gt;&lt;br /&gt;Flowplayes is used to show videostreaming in video type i gallery.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.virtueinfo.com/drupal-development/drupal-modules.htm"&gt;Free Drupal Modules&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2498664977335746883-7359107031669002815?l=drupal-development-india.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/7359107031669002815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupal-development-india.blogspot.com/2009/01/drupal-module-igallery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/7359107031669002815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/7359107031669002815'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/2009/01/drupal-module-igallery.html' title='Drupal Module - iGallery'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2498664977335746883.post-8112297744503706421</id><published>2009-01-13T01:24:00.000-08:00</published><updated>2009-01-13T01:26:00.219-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Drupal Modules'/><category scheme='http://www.blogger.com/atom/ns#' term='Drupal Themes'/><category scheme='http://www.blogger.com/atom/ns#' term='Drupal Design Integration'/><category scheme='http://www.blogger.com/atom/ns#' term='Drupal Development'/><category scheme='http://www.blogger.com/atom/ns#' term='Drupal'/><title type='text'>Drupal Modules</title><content type='html'>* Compatibility : DRUPAL 6&lt;br /&gt;* Version : 6.6 - Beta version.&lt;br /&gt;* Liecense Information : No liecense&lt;br /&gt;&lt;br /&gt;Copy the module directory in your modules folder and enable it.You can create public and private group content using this module.&lt;br /&gt;&lt;br /&gt;For adminster groups go to group settings in administer menu and follow help description.&lt;br /&gt;&lt;br /&gt;For creating new group go to create content and create a group content type. The new group content type will act as group.&lt;br /&gt;&lt;br /&gt;For content adding and content management to group please download group_content module.&lt;br /&gt;&lt;a href="http://www.virtueinfo.com/drupal-development/drupal-modules.htm"&gt;&lt;br /&gt;Download Free Drupal Modules&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2498664977335746883-8112297744503706421?l=drupal-development-india.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupal-development-india.blogspot.com/feeds/8112297744503706421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupal-development-india.blogspot.com/2009/01/drupal-modules.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/8112297744503706421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2498664977335746883/posts/default/8112297744503706421'/><link rel='alternate' type='text/html' href='http://drupal-development-india.blogspot.com/2009/01/drupal-modules.html' title='Drupal Modules'/><author><name>Virtue Info</name><uri>http://www.blogger.com/profile/05818666219328977443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='13' src='http://bp1.blogger.com/_leh-RsKYx40/SJbnHhXPP7I/AAAAAAAAAAU/Qd7LT6vtPUg/S220/viLogo.gif'/></author><thr:total>0</thr:total></entry></feed>