<?xml version="1.0" encoding="UTF-8" standalone="no"?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"><channel><title>Want-to-be-GEEK!</title><description>drupal tutorials, freelance programmer, php developer, how to do it with drupal, programmer from cebu, cebu web developer, php tutorials, seo with drupal</description><managingEditor>noreply@blogger.com (Arnel Bornales)</managingEditor><pubDate>Fri, 4 Oct 2024 18:59:35 -0700</pubDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">15</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">25</openSearch:itemsPerPage><link>http://drupalista.blogspot.com/</link><language>en-us</language><itunes:explicit>no</itunes:explicit><copyright>some rights reserved</copyright><itunes:subtitle>drupal tutorials, freelance programmer, php developer, how to do it with drupal, programmer from cebu, cebu web developer, php tutorials, seo with drupal</itunes:subtitle><itunes:category text="Technology"><itunes:category text="Software How-To"/></itunes:category><itunes:category text="News &amp; Politics"/><itunes:category text="Business"><itunes:category text="Business News"/></itunes:category><itunes:category text="Society &amp; Culture"><itunes:category text="History"/></itunes:category><itunes:category text="Music"/><itunes:author>arnelbornales</itunes:author><itunes:owner><itunes:email>noreply@blogger.com</itunes:email><itunes:name>arnelbornales</itunes:name></itunes:owner><item><title>Migrate from wordpress to blogspot</title><link>http://drupalista.blogspot.com/2009/10/migrate-from-wordpress-to-blogspot.html</link><category>blogger</category><category>blogpost</category><category>web apps</category><category>wordpress</category><pubDate>Tue, 6 Oct 2009 20:32:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2285868060831189800.post-4264667529435844150</guid><description>Hello guys,&lt;br /&gt;&lt;br /&gt;Wondering if you could migrate/transfer your hosted wordpress site into blogger?&lt;br /&gt;Well thanks for this Wordpress to Blogger application that can be found here -&gt; http://wordpress2blogger.appspot.com/. Just follow those steps and your good to go for your wordpress to blogspot migration!&lt;div class="blogger-post-footer"&gt;http://feeds.feedburner.com/drupalista&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (arnelbornales)</author></item><item><title>How to redirect a form in drupal</title><link>http://drupalista.blogspot.com/2009/08/how-to-redirect-form-in-drupal.html</link><category>Drupal</category><category>drupal theme</category><pubDate>Mon, 24 Aug 2009 10:21:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2285868060831189800.post-2907291928411249434</guid><description>&lt;blockquote&gt;&amp;lt;?php&lt;br /&gt;&lt;br /&gt;function MODULENAME_form_alter(&amp;amp;$form, $form_state, $form_id){&lt;br /&gt;global $user;&lt;br /&gt;switch ($form_id) {&lt;br /&gt;// This is our form ID.&lt;br /&gt;case 'YOUR_NODE_FORM_ID': // like page_node_form(for node/add/page)&lt;br /&gt;$form['buttons']['submit']['#submit'][] = 'redirect_this_form';&lt;br /&gt;break;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;function redirect_this_form($form, &amp;amp;$form_state) {&lt;br /&gt;if ($form_state['nid']) {&lt;br /&gt;$node = node_load(array('nid' =&amp;gt; $form_state['nid']));&lt;br /&gt;switch($node-&amp;gt;type) {&lt;br /&gt;case 'page':&lt;br /&gt;$form_state['redirect'] = 'pages'; // you should specicify here where want to redirect the form after submission&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;?&amp;gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;http://feeds.feedburner.com/drupalista&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (arnelbornales)</author></item><item><title>How to set-up paypal sandbox in ubercart</title><link>http://drupalista.blogspot.com/2009/08/how-to-set-up-paypal-sandbox-in.html</link><category>Drupal</category><category>ecommerce</category><category>Ubercart</category><pubDate>Mon, 24 Aug 2009 10:18:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2285868060831189800.post-943540637056287606</guid><description>&lt;p&gt;taken from &lt;a href="http://www.ubercart.org/forum/support/8764/seller_email_ubercart_settings_paypal_wps_sandbox#comment-42951"&gt;Ubercart PayPal sandbox setup&lt;/a&gt;&lt;/p&gt;PayPal sandbox preface:&lt;br /&gt;&lt;p&gt;The trick with the PayPal sandbox is you have 3 accounts.  The primary account is your developer account.  This logs you into &lt;a title="http://developer.paypal.com/" rel="nofollow" href="http://developer.paypal.com/"&gt;http://developer.paypal.com/&lt;/a&gt;. The other two (one Buyer one Seller) work within the sandbox system. You need to login with your developer account before you can use these other accounts. The way I set mine up was to use my email address for the developer account and just use the default address generated by PayPal for the Buyer and Seller accounts. Also, if need be you can create multiple Buyer and Seller accounts under your developer account.&lt;/p&gt;Below is a complete step-by-step for setup and checkout (tested with Drupal 6.10 and Ubercart 2.0 beta3)&lt;br /&gt;&lt;p&gt;1. Go to &lt;a title="http://developer.paypal.com/" rel="nofollow" href="http://developer.paypal.com/"&gt;http://developer.paypal.com/&lt;/a&gt; and create an account.  This is separate from any existing PayPal account you may have.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. Click on "Create a preconfigured buyer or seller account."&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. Check "Buyer", leave the email address alone, change the password if you'd like (but remember to write it down), then click "Create Account".&lt;/p&gt;4. Click again on "Create a preconfigured buyer or seller account." but this time create a "Seller" account.&lt;br /&gt;&lt;p&gt;5. On the "Test Accounts" page enable test mode for the business account by clicking "Disabled" (which changes it to "Enabled").&lt;/p&gt;6. In Drupal, enable the PayPal module (under Ubercart - payments)&lt;br /&gt;&lt;p&gt;&lt;br /&gt;7. Under "Administer » Store administration » Configuration » Payment settings" expand the "PayPal Website Payments Standard settings".&lt;/p&gt;8. Set "PayPal e-mail address:" to the "Log-in email" you see for the business account you created (unless you manually set this the email address will be something like "you_12313131233_biz@here.com"). You should be able to get to "Test Accounts" page with the link: &lt;a title="https://developer.paypal.com/devscr?cmd=_sandbox-acct-session" rel="nofollow" href="https://developer.paypal.com/devscr?cmd=_sandbox-acct-session"&gt;https://developer.paypal.com/devscr?cmd=_sandbox-acct-session&lt;/a&gt; and see your Seller "Log-in email" address.&lt;br /&gt;&lt;p&gt;9. You can then change the rest of the settings in the Ubercart PayPal module as you'd like. I recommend changing the "Order review submit button text:" to something like "Pay with PayPal".&lt;/p&gt;&lt;br /&gt;&lt;p&gt; &lt;/p&gt;&lt;br /&gt;&lt;p&gt; &lt;/p&gt;To complete a test checkout:&lt;br /&gt;&lt;p&gt;1. Make sure you are logged in to PayPal's sandbox server using your main account (go here: &lt;a title="http://developer.paypal.com" rel="nofollow" href="http://developer.paypal.com/"&gt;http://developer.paypal.com&lt;/a&gt;)&lt;/p&gt;2. In Drupal proceed to checkout as you normally would and after you click the button that would normally say "Submit Order", you will be redirected to PayPal's sandbox server. If you are properly logged in with your developer account you will see "XXX's Test Store" at the top of the page.&lt;br /&gt;&lt;p&gt;3. Log in with your Buyer account information (something like "you_12313765733_per@here.com"). Careful here as this is constantly crashing FF3 on my machine.&lt;/p&gt;4. Complete the transaction using your phony test account for the Buyer.&lt;br /&gt;&lt;p&gt;5. You will then see a page saying your transaction is complete and a button taking you back to your store.  &lt;strong&gt;Order emails do not appear to get sent (to either the buyer or store admin) if the user does not click this button to return to the store, although the order's status is updated to "Payment receiver".&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt; &lt;/p&gt;&lt;strong&gt;this works with me! thanks to &lt;/strong&gt;&lt;a title="View user profile." href="http://www.ubercart.org/user/5814"&gt;ryangroe&lt;/a&gt;@ubercart&lt;div class="blogger-post-footer"&gt;http://feeds.feedburner.com/drupalista&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><author>noreply@blogger.com (arnelbornales)</author></item><item><title>Unable to send email in ubercart</title><link>http://drupalista.blogspot.com/2009/08/unable-to-send-email-in-ubercart.html</link><category>Drupal</category><category>ecommerce</category><category>Ubercart</category><pubDate>Mon, 24 Aug 2009 10:16:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2285868060831189800.post-5379454563521363045</guid><description>"Unable to send e-mail. Please contact the site administrator if the problem persists."&lt;br /&gt;
&lt;br /&gt;
after i completed my payment from paypal sandbox i got this error messages.&lt;br /&gt;
What I did is I just configured the my contact details&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;http://www.example.com/admin/store/settings/store/edit&lt;/blockquote&gt;&lt;br /&gt;
that's it! and this solves my problem above.&lt;br /&gt;
&lt;br /&gt;
hope this helps!&lt;div class="blogger-post-footer"&gt;http://feeds.feedburner.com/drupalista&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">12</thr:total><author>noreply@blogger.com (arnelbornales)</author></item><item><title>How to create a link image in drupal</title><link>http://drupalista.blogspot.com/2009/06/how-to-create-link-image-in-drupal.html</link><category>Drupal</category><category>drupal theme</category><pubDate>Wed, 10 Jun 2009 22:13:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2285868060831189800.post-4478308461851680563</guid><description>this snippet enables you to create a image link &lt;br/&gt;&lt;code&gt;&lt;br/&gt;print l('&lt;img src="'.path_to_theme().'/images/icons/page/hris.png" alt="Business Package - Human Resource Information System (HRIS) " class="business_package_images" /&gt;','solutions/hris_ja',array('html' =&amp;gt; TRUE));&lt;br/&gt;&lt;/code&gt;&lt;br/&gt;notice there are 3 parameters: l(1st_param,2nd_param,3rd_param);&lt;br/&gt;&lt;br/&gt;1st_param: the html image&lt;br/&gt;2nd_param: the url/path&lt;br/&gt;3rd_param: enable html to TRUE&lt;br/&gt;&lt;br/&gt;http://www.arnelbornales.site90.net/blog&lt;div class="blogger-post-footer"&gt;http://feeds.feedburner.com/drupalista&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (arnelbornales)</author></item><item><title>How to include jquery.js</title><link>http://drupalista.blogspot.com/2009/03/how-to-include-jqueryjs.html</link><category>Drupal</category><category>JQuery</category><pubDate>Fri, 27 Mar 2009 04:31:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2285868060831189800.post-7064864830196635608</guid><description>Well, I just updated our company site then suddenly i have a error on one of my scripts written in jquery after a time searching for this problem i've noticed that jquery.js was not loaded.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;blockquote&gt;Solution for this is creating a script.js inside your theme directory. Suppose you have a custom theme we will name as  "custom_theme". inside your custom_name folder create a script.js file this way drupal will load this file as well as jquery.js&lt;br/&gt;&lt;/blockquote&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;you can dig more about this in drupal http://drupal.org/node/243134&lt;div class="blogger-post-footer"&gt;http://feeds.feedburner.com/drupalista&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (arnelbornales)</author></item><item><title>How to add custom javascript file in drupal</title><link>http://drupalista.blogspot.com/2009/03/how-to-add-custom-javascript-file-in_25.html</link><category>Drupal</category><category>drupal_add_js</category><category>JQuery</category><category>Php</category><pubDate>Wed, 25 Mar 2009 20:39:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2285868060831189800.post-7843015340782114189</guid><description>Please visit my site &lt;a href="http://www.arnelbornales.site90.net/content/how-to-add-custom-javascript-file-in-drupal"&gt;http://www.arnelbornales.site90.net/content/how-to-add-custom-javascript-file-in-drupal &lt;/a&gt;,there i put my code about this.&lt;div class="blogger-post-footer"&gt;http://feeds.feedburner.com/drupalista&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (arnelbornales)</author></item><item><title>How to delete a folder/directory using cmd</title><link>http://drupalista.blogspot.com/2009/03/how-to-delete-folderdirectory-using-cmd.html</link><category>cmd</category><category>directory</category><category>folder</category><category>Windows</category><pubDate>Tue, 24 Mar 2009 02:20:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2285868060831189800.post-2485545275347038478</guid><description>Suppose you would like to delete a file or directory to ease some time.&lt;br/&gt;&lt;br/&gt;let's start with locating our folder, our folder is inside My Documents we will name this &lt;strong&gt;deletethisfolder&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;open your cmd, then locate your folder.&lt;br/&gt;&lt;br/&gt;Follow this path in your cmd&lt;br/&gt;&lt;br/&gt;C:\Documents and Settings\admin&amp;gt; cd "My Documents"&lt;br/&gt;&lt;br/&gt;Press Enter,&lt;br/&gt;&lt;br/&gt;C:\Documents and Settings\admin\My Documents&amp;gt;rmdir /s /q &lt;br/&gt;&lt;br/&gt;ex.&lt;br/&gt;&lt;br/&gt;C:\Documents and Settings\admin\My Documents&amp;gt;rmdir /s /q "C:\Documents and Settings\admin\My Documents\deletethisfolder"&lt;br/&gt;&lt;br/&gt;or this:&lt;br/&gt;&lt;br/&gt;C:\&amp;gt;rmdir /s /q "C:\Documents and Settings\admin\My Documents\deletethisfolder"&lt;br/&gt;&lt;br/&gt;That's it! your folder is now deleted!!!&lt;br/&gt;&lt;br/&gt;If you want only a sub-folder under "deletethisfolder" directory let's say another_sub_directory&lt;br/&gt;&lt;br/&gt;then we'll append the name of the sub directory/folder:&lt;br/&gt;&lt;br/&gt;C:\Documents and Settings\admin\My Documents&amp;gt;rmdir /s /q "C:\Documents and Settings\admin\My Documents\deletethisfolder\another_sub_directory"&lt;br/&gt;&lt;br/&gt;Hope this Help you GUYS! stick around!!!&lt;div class="blogger-post-footer"&gt;http://feeds.feedburner.com/drupalista&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><author>noreply@blogger.com (arnelbornales)</author></item><item><title>how to unzip/untar files with extensions .tar</title><link>http://drupalista.blogspot.com/2009/03/how-to-unzipuntar-files-with-extensions.html</link><category>CentOS</category><category>Linux</category><pubDate>Mon, 23 Mar 2009 22:18:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2285868060831189800.post-7856000868080527474</guid><description>using your terminal, locate the file where it is being placed.&lt;br/&gt;&lt;br/&gt;Let's say you have a file file.tar located in your /usr/local/bin&lt;br/&gt;&lt;br/&gt;just, type : &lt;strong&gt;tar xvf file.tar&lt;/strong&gt; to unzip/untar the files inside file.tar&lt;br/&gt;&lt;br/&gt;hope this helps you....&lt;div class="blogger-post-footer"&gt;http://feeds.feedburner.com/drupalista&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (arnelbornales)</author></item><item><title>IE6 PNG-Fix</title><link>http://drupalista.blogspot.com/2009/03/ie6-png-fix.html</link><category>CSS</category><category>IE6</category><pubDate>Wed, 18 Mar 2009 00:04:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2285868060831189800.post-7661980473564827204</guid><description>&lt;blockquote&gt;Please visit my site &lt;a href="http://www.arnelbornales.site90.net/content/ie6-png-fix"&gt; http://www.arnelbornales.site90.net/content/ie6-png-fix &lt;/a&gt; there i put my code about this.&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;http://feeds.feedburner.com/drupalista&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (arnelbornales)</author></item><item><title>Remove simple attribute with attr()</title><link>http://drupalista.blogspot.com/2009/02/remove-simple-attribute-with-attr.html</link><category>JQuery</category><pubDate>Wed, 25 Feb 2009 17:53:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2285868060831189800.post-991242183730498744</guid><description>&lt;blockquote&gt;&lt;br/&gt;&lt;h3&gt;Remove simple attribute with removeAttr() method&lt;/h3&gt;&lt;br/&gt;&lt;p&gt;&lt;code&gt;$("#t2").click(function() { $(this).removeAttr("class") });&lt;/code&gt;&lt;br/&gt;Well, this code has no problem except under IE&lt;/p&gt;&lt;br/&gt;&lt;p&gt;this code seems to be the solution using &lt;strong&gt;attr("class", "")&lt;/strong&gt;&lt;/p&gt;&lt;br/&gt;&lt;h3&gt;Remove the same attribute with attr() method&lt;/h3&gt;&lt;br/&gt;&lt;p&gt;&lt;code&gt;$("#t3").click(function() { $(this).attr("class", "") });&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;br/&gt;&lt;p&gt;&lt;a name='more'&gt;&lt;/a&gt;If you want to see the demo just visit this site &lt;a rel="nofollow" href="http://gimp4you.eu.org/sandbox/js/test/removeAttr.html"&gt;jQuery removeAttr() method bug under IE&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;http://feeds.feedburner.com/drupalista&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (arnelbornales)</author></item><item><title>Get the current date using jquery</title><link>http://drupalista.blogspot.com/2009/02/get-current-date-using-jquery.html</link><category>date</category><category>javascript</category><category>JQuery</category><pubDate>Wed, 25 Feb 2009 02:06:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2285868060831189800.post-8955991833641149183</guid><description>In this first jQuery tutorial we will develop a simple program that retrieves the current time from server and displays on the user browser. In this example we will be calling a server side PHP script to get the current server time. You can easily replace PHP with JSP, or ASP program.&lt;br/&gt;&lt;br/&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Steps to develop the Current Server Time program&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Create php file to that prints the current server data. Here is the code of PHP script (time.php).&lt;br/&gt;&lt;blockquote&gt;$time_now=mktime(date('h')+5,date('i')+30,date('s'));&lt;br/&gt;&lt;br/&gt;print $time_now=date('l M dS, Y, h:i:s A',$time_now);&lt;/blockquote&gt;&lt;br/&gt;&lt;strong&gt;Step 2:&lt;/strong&gt;Write HTML page to call the time.php. Create a new file (currentservertime.html) and add the following code into it:&lt;br/&gt;&lt;blockquote&gt;Current Date and Time&lt;br/&gt;&lt;table style="height:164px;" border="0" width="623"&gt;&lt;br/&gt;&lt;tbody&gt;&lt;br/&gt;&lt;tr&gt;&lt;br/&gt;&lt;td style="text-align:left;" width="100%"&gt;&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"       xml:lang="en" lang="en"&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;head&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;title&amp;gt;Current Date and Time&amp;lt;/title&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;script type="text/javascript" src="jquery-1.2.6.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br/&gt;&lt;br/&gt;function  timeExam()&lt;br/&gt;&lt;br/&gt;{&lt;br/&gt;&lt;br/&gt;$.ajax({&lt;br/&gt;&lt;br/&gt;url : "time.php",&lt;br/&gt;&lt;br/&gt;success : function (data) {&lt;br/&gt;&lt;br/&gt;$("#contentArea").html(data);&lt;br/&gt;&lt;br/&gt;}&lt;br/&gt;&lt;br/&gt;});&lt;br/&gt;&lt;br/&gt;setTimeout("timeExam()", 1000);&lt;br/&gt;&lt;br/&gt;}&lt;br/&gt;&lt;br/&gt;&amp;lt;/script&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;/head&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;body onload="timeExam();"&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;table width="100%"&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;tr&amp;gt;&amp;lt;td        width="100%" align="center"&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;div id="contentArea"       style="color:blue;font:bold 14px arial;padding-top:140px;"&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;/div&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;/td&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;/table&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;/body&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;/html&amp;gt;&lt;/td&gt;&lt;br/&gt;&lt;/tr&gt;&lt;br/&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br/&gt;&lt;/blockquote&gt;&lt;br/&gt;or do the small trick using Javascript&lt;br/&gt;&lt;blockquote&gt;&lt;br/&gt;&lt;pre&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br/&gt;&amp;lt;!--&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;var m_names = new Array("January", "February", "March",&lt;br/&gt;"April", "May", "June", "July", "August", "September",&lt;br/&gt;"October", "November", "December");&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;var d = new Date();&lt;br/&gt;var curr_date = d.getDate();&lt;br/&gt;var curr_month = d.getMonth();&lt;br/&gt;var curr_year = d.getFullYear();&lt;br/&gt;document.write(curr_date + "-" + m_names[curr_month]&lt;br/&gt;+ "-" + curr_year);&lt;br/&gt;&lt;br/&gt;/* The last two lines above have&lt;br/&gt;to placed on a single line */&lt;br/&gt;&lt;br/&gt;//--&amp;gt;&lt;br/&gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;br/&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;http://feeds.feedburner.com/drupalista&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (arnelbornales)</author></item><item><title>How to add a collapsible fieldset in your theme/template</title><link>http://drupalista.blogspot.com/2009/02/how-to-add-collapsible-fieldset-in-your.html</link><category>Drupal</category><category>drupal themes</category><pubDate>Wed, 25 Feb 2009 00:18:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2285868060831189800.post-6478512240150588759</guid><description>&lt;blockquote&gt;Creating a class collapsible inside a Fieldset in your template file or in your theme functio&lt;br/&gt;&lt;br/&gt;is not enough like "fieldset class="collapsible skills_group"&amp;gt;TESTfieldset"&lt;/blockquote&gt;&lt;br/&gt;&lt;blockquote&gt;you need to include&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;drupal_add_js('misc/collapse.js');&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;in your hook load or in your theme function.&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;http://feeds.feedburner.com/drupalista&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><author>noreply@blogger.com (arnelbornales)</author></item><item><title>How to add a contact form in a page</title><link>http://drupalista.blogspot.com/2009/02/how-to-add-contact-form-in-page.html</link><category>Drupal</category><category>drupal contact form</category><category>drupal themes</category><pubDate>Tue, 24 Feb 2009 23:41:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2285868060831189800.post-877423224386931527</guid><description>Here is my sample code which I made from &lt;a href="http://kinse.net/contact_us"&gt;http://kinse.net/contact_us&lt;/a&gt;&lt;br/&gt;&lt;blockquote&gt;&lt;code&gt;&amp;lt;?php&lt;br/&gt;require_once drupal_get_path('module', 'contact') .'/contact.pages.inc';&lt;br/&gt;//no need to maintain two version of node.tpl.php&lt;br/&gt;//include "node.tpl.php";&lt;br/&gt;function local_contact_page(){&lt;br/&gt;$form = contact_mail_page();&lt;br/&gt;// override default values here if you want&lt;br/&gt;// next one will select a different category&lt;br/&gt;//$form['cid']['#default_value'] = 0;&lt;br/&gt;return($form);&lt;br/&gt;}&lt;/code&gt;&lt;br/&gt;&lt;br/&gt;function local_contact_page_submit($form_id, $form_values){&lt;br/&gt;return(contact_mail_page_submit($form_id, $form_values));&lt;br/&gt;}&lt;br/&gt;&lt;br/&gt;function local_contact_page_validate($form, $form_state){&lt;br/&gt;return(contact_mail_page_validate($form, $form_state));&lt;br/&gt;}&lt;br/&gt;?&amp;gt;&lt;br/&gt;&lt;div class="box_big_block_title"&gt;&lt;br/&gt;&lt;div class="box_big_block_title_img"&gt;&lt;img src="http://www.arnelbornales.site90.net/content/%3C?php%20print%20path_to_theme%28%29.%27/images/icons/page/contact_us.png%27;%20?%20/%3E" alt="Welcome to KINSE Systems Website" /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div class="box_big_block_title_txt"&gt;&amp;lt;?php print t('Contact Us'); ?&amp;gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div class="box_big_body"&gt;&lt;br/&gt;&lt;div class="glossymenu content"&gt;&amp;lt;?php  // here we will render the contact form&lt;br/&gt;print drupal_get_form('local_contact_page');   ?&amp;gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;http://feeds.feedburner.com/drupalista&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (arnelbornales)</author></item><item><title>How to add a new region in drupal 6 themes</title><link>http://drupalista.blogspot.com/2009/02/how-to-add-new-region-in-drupal-6.html</link><category>Drupal</category><category>drupal themes</category><pubDate>Tue, 24 Feb 2009 23:13:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-2285868060831189800.post-1679585840046145400</guid><description>&lt;blockquote&gt;&lt;p&gt;When you want to configure your default theme like&lt;br/&gt;adding new region just edit your .info file of your theme&lt;br/&gt;e.g garland.info&lt;/p&gt;&lt;/blockquote&gt;&lt;br/&gt;&lt;p&gt;&lt;strong&gt;Here is an example code:&lt;/strong&gt;&lt;/p&gt;&lt;br/&gt;&lt;blockquote&gt;&lt;p&gt;regions[logout] = Logout&lt;br/&gt;regions[left] = Left sidebar&lt;br/&gt;regions[right] = Right sidebar&lt;br/&gt;regions[header] = Header&lt;br/&gt;regions[content] = Content&lt;br/&gt;regions[footer] = Footer&lt;/p&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;http://feeds.feedburner.com/drupalista&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><author>noreply@blogger.com (arnelbornales)</author></item></channel></rss>