<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-8402275079014235468</atom:id><lastBuildDate>Wed, 30 Dec 2009 16:38:03 +0000</lastBuildDate><title>nivanka fonseka</title><description>A blog of a Sri Lankan web developer</description><link>http://nivanka.blogspot.com/</link><managingEditor>fonsekaean@gmail.com (Nivanka)</managingEditor><generator>Blogger</generator><openSearch:totalResults>70</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-9123178357290984023</guid><pubDate>Wed, 30 Dec 2009 03:19:00 +0000</pubDate><atom:updated>2009-12-29T19:52:49.955-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>open source</category><category domain='http://www.blogger.com/atom/ns#'>web development</category><category domain='http://www.blogger.com/atom/ns#'>cms</category><category domain='http://www.blogger.com/atom/ns#'>silverstripe</category><category domain='http://www.blogger.com/atom/ns#'>internet</category><category domain='http://www.blogger.com/atom/ns#'>FOSS</category><category domain='http://www.blogger.com/atom/ns#'>hacking</category><title>Extedning the Security Module of SilverStripe</title><description>Okay back to web development after my post yesterday.&lt;br /&gt;&lt;br /&gt;Now I was in need to code up a section which is about user registration. Now this is quite easy with SilverStripe's &lt;a href="http://silverstripe.org/userpage-module/"&gt;User Page Module&lt;/a&gt;. But this module didn't help me out while implementing the site. I needed some other extended features such as,&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Accept subscription payments&lt;/li&gt;&lt;li&gt;Set subscription amounts &lt;/li&gt;&lt;li&gt;Enable discounts / promos&lt;/li&gt;&lt;li&gt;Different user types&lt;/li&gt;&lt;li&gt;Different permissions&lt;/li&gt;&lt;/ul&gt;Now these things have been quite a bit of a headache for me in the beginning as I couldn't find a proper way of implementing this. After reading some of the core CMS codes (the security admin) I found my lucky niche to get it done.&lt;br /&gt;&lt;br /&gt;Now this is what I mainly planned out. I am decorating the Group class to hold up subscriptions, promos, and most importantly the user permissions. By following this method I could quite smoothly. All I had to do when the registering process is that add the user to the correct group, and my client is really happy as he is able to do all the things inside one page, the Security Admin.&lt;br /&gt;&lt;br /&gt;The codes are there so I am hoping to release them soon. Till then hope this post will be quite a buzz.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-9123178357290984023?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/12/extedning-sucrity-module-of.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-8844823569692186456</guid><pubDate>Tue, 29 Dec 2009 03:13:00 +0000</pubDate><atom:updated>2009-12-28T21:01:30.442-08:00</atom:updated><title>My views over General Sarath Fonseka</title><description>I am not a blogger who blogs about politics from the start of my blogging, yet as what I have been reading, seeing on the internet + television I thought I have to simply write something about what I feel.&lt;br /&gt;&lt;br /&gt;So now a days Sri Lanka, is going to choose a new president for a period of 6 years, from 2010.&lt;br /&gt;There are two main candidates, current president Mahinda Rajapaksha, and Former Army Commander General Sarath Fonseka. I thought of writing this post as I lost my confidence in General SF, with regard to what he talk.&lt;br /&gt;&lt;br /&gt;He is raising a few things which makes a criminal in front of me. Let me list them out.&lt;br /&gt;&lt;br /&gt;1. Former President CBK, and Defense Minister Ratwatte is much more better than President Mahinda, and Gotabhaya.&lt;br /&gt;2. His statement which he made to the sunday Leader.&lt;br /&gt;3. Again his statement at Ratnapura.&lt;br /&gt;4. His promise to increase government workers salaries  in 10, 000 Rupees.&lt;br /&gt;5. His talk with Kingsly at Sirasa TV.&lt;br /&gt;&lt;br /&gt;Okay let me go through these points,&lt;br /&gt;&lt;br /&gt;1, my opinion about the first one is that it is true in CBK's time SL Army got lots of new weapons compared to the current president's time. Yet did they win the war! No it was a failure as a whole, as I know (what I have seen on news) in the  first few years army achieved so many victories, operations like JayaSikuru, Riwirasa brought great damage to the LTTE. Yet they couldn't finish the war simply. And there was quite a huge buzz around the country saying that some of the military plans have been sold to the LTTE, etc, etc. And the Sri Lanka government sold a lot of money laundering institutions / organizations which were fully owned by the government (Air Lanka, Sri Lanka Insurance Corporation, etc.). And I don't think anyone would say president CBK's time is a good one, everyone needed some change and that's why Ranil became the prime minister though he didn't have a good name at all.&lt;br /&gt;If we compare the current situation, during the past four years SL government occupied SL insurance corporation, Sri Lankan air lines, and most importantly the nation won the battle against the most brutal terrorist organization LTTE.&lt;br /&gt;I am not singing praises for president Mahinda or Gotabhaya, lets say they didn't do anything at all. But my question for General is that how the hell CBK and Ratwatte can be better than Gota or Mahinda? I have an answer which I believe is true, General sing praises for CBK and Ratwatte as CBK is using the voice of her to help General. This is totally unacceptable.&lt;br /&gt;&lt;br /&gt;2 &amp;amp; 3. Sunday leader reported some statement about Gotabhaya ordering the army (affective on the 58th division, Brig. Shawendra Silva - at that time) to kill the LTTE leaders whoever come to surrender with holding white flags or using some other means. Today I read an article on &lt;a href="http://lankatruth.com/index.php?option=com_content&amp;amp;view=article&amp;amp;id=4154:a-plan-to-broadcast-distorted-version-of-gen-fonsekas-interview-to-sunday-leader&amp;amp;catid=35:local&amp;amp;Itemid=50"&gt;this website&lt;/a&gt; saying that the Editor of the Sunday Leader newspaper with the GOV are planning to issue a distorted version of a audio clip to prove General did such a statement. I am not going to talk about that incident. He is said no, he has been misquoted. OKAY we trust you. Now General go to Ratnapura and say a similar thing, he 100% proves that's his decision to reveal such a thing, though it is justifiable or not, but accepted by the nation. So I think he didn't betray Gota or Mahinda alone, but the wish or the whole nation.&lt;br /&gt;As a true Sri Lankan if or if not Gota gave such an order to kill the LTTE leaders, I love what happened. If I could I will join the army to kill them. (I don't know what others think, but I think this is the love towards the country). If someone give an order like this I will not reveal it in any case. Lets see we keep secrets for our friends, family, etc. Do we reveal them if we are having some bad blood. This is very &lt;span style="font-weight: bold;"&gt;amateurish&lt;/span&gt;. Can't believe being a former General he could do this. And my question for General is that why do you reveal such things targeting a presidential election? this is not election campaigning, for me this is like revealing you have a brain filled up with SHIT.&lt;br /&gt;Also, General you could go to courts and had time for that against Gotabhaya to seek justice about but why dont you do something like that to prove you didn't said such a thing.&lt;br /&gt;&lt;br /&gt;4. This is for me a joke, Ranil was very popular for a statement which is about bracelets and gold chains. This sounds the same. Though he plans to limit the number of ministers to 35, and save some money which are used as commissions can he pay the whole lot of GOV workers 10,000 more.&lt;br /&gt;Working for a BOI company which is in the IT industry I know that they come to Sri Lanka passing India as well, is because of the low cost. So General say that he is going to raise salaries of private sector employees too. I wish this wont happen, as our investors will go to somewhere else as they are going to miss their key benefits (General you have to know, Salaries are not what we take home, but EPF, ETF, Tax have to be included too). It is too simple to make such statements, yet the fact is that they expose that General doesn't have any sense of what he is talking about.&lt;br /&gt;&lt;br /&gt;5. This is again I never want in my country. He has no plan which is to raise the country. He just blames presidents Mahina Chinthanaya, and he narrate statements made by someone else.&lt;br /&gt;And he clearly said he is in this election as a candidate, because he is not treated well and he hates the way Gota and Mahinda work. This cannot be the starting point for such an intention. If he really need to serve the motherland he has to have such an ambition from the very first secod he was born, he said he was drived to take part as he is not treated well.&lt;br /&gt;Lets think a little other way round. What will happen is the government presented him with a large plot of land, some better position, 600 troupe of army soldiers as his care takers, some women soldiers (i dont know for what), a house, vehicles, and hmmm what else, yes approved to close the roads when he travels, etc etc etc etc.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;HE WILL NEVER BECOME A PRESIDENTIAL CANDIDATE.&lt;/span&gt; He says so.....&lt;br /&gt;&lt;br /&gt;I got these intentions not being influenced by the current President nor by Gotabhaya. Yet I got them by listening to the things what have been happening in the past few days.&lt;br /&gt;&lt;br /&gt;Anyway I wish you wont fill my blog with spam about General SF.&lt;br /&gt;&lt;br /&gt;It has been quite a pain these days, the General Spamming :)&lt;br /&gt;&lt;br /&gt;Think of this a little.&lt;br /&gt;&lt;br /&gt;watch these for more&lt;br /&gt;&lt;br /&gt;&lt;a href="http://sarathfonseka.com/mediamain.html"&gt;http://sarathfonseka.com/mediamain.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://dzoneonline.com/2009/12/25/exclusive-interview-with-sarath-fonseka/"&gt;http://dzoneonline.com/2009/12/25/exclusive-interview-with-sarath-fonseka/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-8844823569692186456?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/12/my-views-over-general-sarath-fonseka.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>6</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-6446294672590244508</guid><pubDate>Wed, 23 Dec 2009 06:05:00 +0000</pubDate><atom:updated>2009-12-22T22:14:48.620-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>open source</category><category domain='http://www.blogger.com/atom/ns#'>web development</category><category domain='http://www.blogger.com/atom/ns#'>cms</category><category domain='http://www.blogger.com/atom/ns#'>interests</category><category domain='http://www.blogger.com/atom/ns#'>silverstripe</category><category domain='http://www.blogger.com/atom/ns#'>internet</category><category domain='http://www.blogger.com/atom/ns#'>php</category><category domain='http://www.blogger.com/atom/ns#'>FOSS</category><category domain='http://www.blogger.com/atom/ns#'>hacking</category><title>Customizing the comments forms in SilverStripe</title><description>I came across some development stuff this week. I had to install a SilverStripe blog, yet the client needed some customizations for the Page Comments, also to change the form with which you can comment.&lt;br /&gt;&lt;br /&gt;I always like to extend the core codes of SilverStripe but not to change them as it always helps when updating the CMS + the Framework.&lt;br /&gt;&lt;br /&gt;Anyway this is what I did about the commenting, I had to extend the PageCommentInterface.php, I created a new child class of PageCommentInterface, called CustomPageCommentsInterface ( this is in &lt;span style="font-weight: bold;"&gt;./mysite/code/CustomPageCommentsInterface.php &lt;/span&gt;).&lt;br /&gt;&lt;br /&gt;There I only had to override the method &lt;span style="font-weight: bold;"&gt;PostCommentForm&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;This method creates a form, adds and Spam protection modules, MathSpamProtection, and the needed fields. Okay now I did one thing, I wanted to hide the Name and the URL fields of the comments. what I did is that I replaced them with hidden fields, and by the time it creates the form I assigned values to it by retrieving the logged in users details.&lt;br /&gt;&lt;br /&gt;One more thing, for my requirement I didnt need any new fields to be introduced to comments, if  you need any you can add them by a DataObjectDecorator, and create your field as you need.&lt;br /&gt;&lt;br /&gt;Hope this information will be useful.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-6446294672590244508?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/12/customizing-comments-forms-in.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-9122816619522948337</guid><pubDate>Mon, 14 Dec 2009 05:22:00 +0000</pubDate><atom:updated>2009-12-13T22:07:22.873-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>open source</category><category domain='http://www.blogger.com/atom/ns#'>web development</category><category domain='http://www.blogger.com/atom/ns#'>cms</category><category domain='http://www.blogger.com/atom/ns#'>interests</category><category domain='http://www.blogger.com/atom/ns#'>silverstripe</category><category domain='http://www.blogger.com/atom/ns#'>internet</category><category domain='http://www.blogger.com/atom/ns#'>php</category><category domain='http://www.blogger.com/atom/ns#'>FOSS</category><category domain='http://www.blogger.com/atom/ns#'>hacking</category><title>SiteWide publishing for SilverStripe new concept.</title><description>This is a new concept which I started working on and have done the stuff for some extent.&lt;br /&gt;&lt;br /&gt;The goal is that on sites which have sub sites, we will need to run sections like news, customer testimonials, which probably common to all the subsites as well, yet there might be pages which are not needed to published on all the sub sites. Let me explain this more. Think of an organization which has many departments, and all these departments have their own news as well as common news. Now if we are to run a news section for this sort of a website we will have to duplicate content, which consumes time, and sometimes can cause errors. I am trying to address such a problem with this extension.&lt;br /&gt;&lt;br /&gt;Surely you might think why do we need a new module for this as the &lt;a href="http://doc.silverstripe.org/doku.php?id=modules:subsites"&gt;SubSiteVirtualPage&lt;/a&gt; is there. Yes true you can make use of it. But the fact is that the &lt;a href="http://doc.silverstripe.org/doku.php?id=modules:subsites"&gt;SubSiteVirtualPage&lt;/a&gt; doesn't handle relationships among data objects (has_one / has_many / many_many). And the most hard question is how to have the same template and tags. Okay I think my approach can fix this up.&lt;br /&gt;&lt;br /&gt;I am extending the SubsiteVirtualPage, and the module has two page types, one is SiteWidePage, the other one extends SiteWideHolder.&lt;br /&gt;&lt;br /&gt;Now in the news module which we are trying to build we are going to extend the SiteWidePage as a NewsItem, and SiteWideHolder as NewsHolder, and we will be creating respective templates, NewsItem.ss and NewsHolder.ss. This solves the problem of having the same layout.&lt;br /&gt;&lt;br /&gt;Now what the SiteWidePage does is that it has a new field called publishing, which has a check-box group with the names of the SubSites to publish. Once you select the sub domains and publish the page, it creates needed pages (SiteWidePage) on the subsites and take the content from the source. Okay we have it then, about the has_one relationships I am doing every time the source page is published it updates the pages which are taking its content. It is like cloning the database record. This solves the problem of the has_one relationships.&lt;br /&gt;&lt;br /&gt;To make this much useful I am having a solution for the has_many (many to one) relationship as well. The below image illustrate the many -&gt; one relationship.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_9LKuLNTKtQs/SyXTw8mOvXI/AAAAAAAAAJI/QtPW6QB8Nto/s1600-h/has_many.gif"&gt;&lt;img style="cursor: pointer; width: 320px; height: 300px;" src="http://1.bp.blogspot.com/_9LKuLNTKtQs/SyXTw8mOvXI/AAAAAAAAAJI/QtPW6QB8Nto/s320/has_many.gif" alt="" id="BLOGGER_PHOTO_ID_5414966964836547954" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;Okay this is it, please be kind enough my graphics sucks :). Anyway note now that pages can have many images but a image can only have one page. Now as out login we have to add images to one page, and when we add an image it might be taken by the pages which get content from the source Page. OMG! we are ruining the logic of many -&gt; one. To avoid this I am doing something like this. I extended the DataObject and created a new one called CloningDataObject now what this does is, once the page is published it creates clones and let the other pages to refer to those clones. This way I thought we can keep the many -&gt; one relationship and proceed. As the SiteWidePage when the source dataobject is saved it writes all its content to its clones, on deletion it deletes all the clones as well.&lt;br /&gt;&lt;br /&gt;One thing you have to note about the CloningDataobject is that it has a defined has_one relationship to the Page class. So if you are going to use this in your NewsItem page you dont need to extend the CloningDataObject and create a new relationship as it is there.&lt;br /&gt;&lt;br /&gt;Now I still couldnt find a way to get on with the many -&gt; many relationship, SilverStripe does it in a nice way, what I have in my mind is we can create more records in the respective database relationships tables. Yet I am trying to find a better solution.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;I do think this can be a useful extension for the SilverStripe Open Source CMS, be glad if you can raise your thoughts about it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-9122816619522948337?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/12/sitewide-publishing-for-silverstripe.html</link><author>fonsekaean@gmail.com (Nivanka)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_9LKuLNTKtQs/SyXTw8mOvXI/AAAAAAAAAJI/QtPW6QB8Nto/s72-c/has_many.gif' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>7</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-309942083173683713</guid><pubDate>Mon, 14 Dec 2009 04:52:00 +0000</pubDate><atom:updated>2009-12-13T20:58:13.418-08:00</atom:updated><title>23 years completed!</title><description>December 11&lt;span style="font-size:100%;"&gt;th&lt;/span&gt; was my b'day, it was last Friday. So I just cut a cake at the office with my friends  there. In the evening though I didnt expect Veranga a senior member of the Street Play troupe came to my place to pick me up for a party.&lt;br /&gt;Damn! went to his place with my guitar and a drum. It was great and it was a real party. Singing till about 2 AM, and some booze was there too, he and his wife has arranged food too, and some friends of both came to the place.&lt;br /&gt;Ultimately after having a late dinner one of his friends dropped me home, so thats how it went.&lt;br /&gt;Its a good way to celebrate the b'day.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-309942083173683713?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/12/23-years-completed.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-6265416816053019113</guid><pubDate>Tue, 17 Nov 2009 04:35:00 +0000</pubDate><atom:updated>2009-11-16T20:40:42.639-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>open source</category><category domain='http://www.blogger.com/atom/ns#'>web development</category><category domain='http://www.blogger.com/atom/ns#'>office work</category><category domain='http://www.blogger.com/atom/ns#'>interests</category><category domain='http://www.blogger.com/atom/ns#'>website</category><category domain='http://www.blogger.com/atom/ns#'>silverstripe</category><category domain='http://www.blogger.com/atom/ns#'>internet</category><category domain='http://www.blogger.com/atom/ns#'>php</category><category domain='http://www.blogger.com/atom/ns#'>FOSS</category><category domain='http://www.blogger.com/atom/ns#'>hacking</category><title>Suggestion Field on SilverStripe website</title><description>Today morning when I was checking my emails I found that the Suggestion field is approved by the SilverStripe team to be listed as a module on the SilverStripe website. Really joyed about that, a good way to start the day too.&lt;br /&gt;&lt;br /&gt;The module is here on this page &lt;a href="http://silverstripe.org/suggestions-field-module/"&gt;http://silverstripe.org/suggestions-field-module/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I will be writing some documentation for the module later today on the SilverStripe docs. Also have some plans to release a new version of the module too, with some more enhancements etc.&lt;br /&gt;&lt;br /&gt;have a look.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-6265416816053019113?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/11/suggestion-field-on-silverstripe.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-5225922099019352371</guid><pubDate>Mon, 09 Nov 2009 14:04:00 +0000</pubDate><atom:updated>2009-11-09T06:15:52.109-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>open source</category><category domain='http://www.blogger.com/atom/ns#'>web development</category><category domain='http://www.blogger.com/atom/ns#'>web design</category><category domain='http://www.blogger.com/atom/ns#'>cms</category><category domain='http://www.blogger.com/atom/ns#'>website</category><category domain='http://www.blogger.com/atom/ns#'>silverstripe</category><category domain='http://www.blogger.com/atom/ns#'>internet</category><category domain='http://www.blogger.com/atom/ns#'>FOSS</category><category domain='http://www.blogger.com/atom/ns#'>html</category><category domain='http://www.blogger.com/atom/ns#'>hacking</category><title>Using commas in your SilverStripe templates.</title><description>I just had this problem when formatting dates of the SilverStripe Blog module on a new website project. Its true that you can do this by &lt;span style="color: rgb(51, 0, 0);font-family:courier new;" &gt;$Date.Format(d-m-Y)&lt;/span&gt; type of syntax. But what I needed was to add a comma to the date so the date was supposed to read like 09 November, 2009. To get this on the pages I had to use $Date.Format(d F, Y) type of thing. But unfortunately the SilverStripe's template parser doesn't allow commas.&lt;br /&gt;&lt;br /&gt;There was a patch but I was running out of time, and didnt have much time to go through them. So as a quick fix I added the HTML escape character of the comma to the argument which is &lt;span style="font-weight: bold;"&gt;&amp;amp;#44;&lt;/span&gt;. Now this worked for me.&lt;br /&gt;&lt;br /&gt;My code was&lt;br /&gt;&lt;br /&gt;$Date.Format(d F&amp;amp;#44; Y)&lt;br /&gt;&lt;br /&gt;Check it out, it can be useful for you to work with SilverStripe Dates.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-5225922099019352371?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/11/using-commas-in-your-silverstripe.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-6177527556789158002</guid><pubDate>Wed, 04 Nov 2009 03:41:00 +0000</pubDate><atom:updated>2009-11-03T20:11:03.839-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>open source</category><category domain='http://www.blogger.com/atom/ns#'>FOSS</category><category domain='http://www.blogger.com/atom/ns#'>ubuntu</category><title>Styling the Ubuntu desktop</title><description>I did some thing cool to my Ubuntu. Have a look, it is somewhat close a Mac, and to Windows vista. For me there is no doubt the interface of Mac and Windows Vista is sensational.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_9LKuLNTKtQs/SvD5_ivrlXI/AAAAAAAAAIo/SG74Z3SQfG8/s1600-h/screenshot-ubuntu.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 200px;" src="http://4.bp.blogspot.com/_9LKuLNTKtQs/SvD5_ivrlXI/AAAAAAAAAIo/SG74Z3SQfG8/s320/screenshot-ubuntu.png" alt="" id="BLOGGER_PHOTO_ID_5400090823271093618" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;What I did was this. i got a theme from the &lt;a href="http://www.bisigi-project.org/"&gt;Bisigi project&lt;/a&gt;; the one i have used is the tropical theme which is listed there.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;And after selecting followed the instructions on their website, which ran smoothly on my setting (I have Ubuntu 8.10 Ibex). The instructions are on &lt;a href="http://www.bisigi-project.org/?page_id=8&amp;amp;lang=en"&gt;this page&lt;/a&gt;. You might need to update your sources for this, dont worry it is too mentioned on the page, and instructions to do it. I am not going to repeat them over my blog :).&lt;br /&gt;&lt;br /&gt;Now after installing you might have to select the theme you installed.&lt;br /&gt;&lt;br /&gt;for that go to System &gt;&gt; Preferences &gt;&gt;Appearance in the new window you will find the new themes you have installed.&lt;br /&gt;&lt;br /&gt;Now when you select it the look and feel of your desktop will change. But note I have a Mac style navigator on the bottom of my screen.&lt;br /&gt;&lt;br /&gt;This is done with the Avant Window Navigator (AWN). Follow the instructions below to install it.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Go to System &gt;&gt; Preferences &gt;&gt; Appearance and to the Visual Effects tab. Then select Extra option there, and close.&lt;/li&gt;&lt;li&gt;Go to System &gt;&gt; Administration &gt;&gt; Software Sources, in that go to the Updates tab. See my setting in the following image.&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_9LKuLNTKtQs/SvD9_UEnX3I/AAAAAAAAAJA/_MQygZYDEec/s1600-h/Screenshot-Software+Sources.png"&gt;&lt;img style="cursor: pointer; width: 320px; height: 295px;" src="http://3.bp.blogspot.com/_9LKuLNTKtQs/SvD9_UEnX3I/AAAAAAAAAJA/_MQygZYDEec/s320/Screenshot-Software+Sources.png" alt="" id="BLOGGER_PHOTO_ID_5400095217378877298" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;With the following code you can install the AWN.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Then find it on the Applications &gt;&gt; Accessories and switch it on.&lt;/li&gt;&lt;li&gt;Remove the default tool bar on the desktop.&lt;/li&gt;&lt;li&gt;Add the AWN to your start up list.&lt;/li&gt;&lt;/ol&gt;Now you will have a pretty desktop with a AWN and with pretty theming, icons, and all. Customize the AWN as you need, it contains a lot of effects which can make it more pleasant.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-6177527556789158002?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/11/styling-ubuntu-desktop.html</link><author>fonsekaean@gmail.com (Nivanka)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_9LKuLNTKtQs/SvD5_ivrlXI/AAAAAAAAAIo/SG74Z3SQfG8/s72-c/screenshot-ubuntu.png' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-7118543403362773260</guid><pubDate>Sun, 04 Oct 2009 06:06:00 +0000</pubDate><atom:updated>2009-10-03T23:19:37.202-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>open source</category><category domain='http://www.blogger.com/atom/ns#'>javascript</category><category domain='http://www.blogger.com/atom/ns#'>web development</category><category domain='http://www.blogger.com/atom/ns#'>web design</category><category domain='http://www.blogger.com/atom/ns#'>interests</category><category domain='http://www.blogger.com/atom/ns#'>silverstripe</category><category domain='http://www.blogger.com/atom/ns#'>internet</category><category domain='http://www.blogger.com/atom/ns#'>FOSS</category><category domain='http://www.blogger.com/atom/ns#'>jQuery</category><category domain='http://www.blogger.com/atom/ns#'>hacking</category><title>Two new open source plugins</title><description>Hi, I could not write anything on my blog during the last month. Some huge projects kept me away from my blog, open source stuff, etc. But I could do some little things which turned out to plugins of jQuery and SilverStripe.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1. DPSPostPayment plugin for SilverStripe - &lt;/span&gt;&lt;a style="font-weight: bold;" href="http://open.whynotonline.com/dpspostpayment-extension-for-the-silverstripe-e-commerce/"&gt;click to see&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is a new plugin which I did with the help of &lt;a href="http://www.thewebmistress.co.nz/"&gt;Natalie Wright&lt;/a&gt;. She took part in giving me information and guiding me to do this. This plugin will be very useful for the owners of the e-commerce websites, who dont like to spend much on SSL certificates, as DPSPost works outside your website. It only redirects the client to the DPSPost website which accept the credit card details and process the payment, somewhat similar to the paypal. You can download this plugin from the &lt;a href="http://open.whynotonline.com/"&gt;open.whynotonline.com&lt;/a&gt; website.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2. Progressbar - &lt;/span&gt;&lt;a style="font-weight: bold;" href="http://open.whynotonline.com/progress-bar/"&gt;click to see&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is a handy plugin which can serve you as a progress bar. I suggest this will be really useful for Ajax based websites. To indicate the uploading / downloading progress. The progressbar is programmed to be much customizable.&lt;br /&gt;&lt;br /&gt;I did some examples on the same website. &lt;a href="http://open.whynotonline.com/progressbar/index.html"&gt;See it&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The plugin is available to download &lt;a href="http://open.whynotonline.com/progress-bar/"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I welcome you all to use the plugins.&lt;br /&gt;&lt;br /&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-7118543403362773260?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/10/two-new-open-source-plugins.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-75555663564097739</guid><pubDate>Fri, 21 Aug 2009 07:07:00 +0000</pubDate><atom:updated>2009-08-21T00:16:41.261-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>javascript</category><category domain='http://www.blogger.com/atom/ns#'>web development</category><category domain='http://www.blogger.com/atom/ns#'>web design</category><category domain='http://www.blogger.com/atom/ns#'>interests</category><category domain='http://www.blogger.com/atom/ns#'>website</category><category domain='http://www.blogger.com/atom/ns#'>internet</category><category domain='http://www.blogger.com/atom/ns#'>FOSS</category><category domain='http://www.blogger.com/atom/ns#'>html</category><category domain='http://www.blogger.com/atom/ns#'>jQuery</category><category domain='http://www.blogger.com/atom/ns#'>hacking</category><title>0.0.3 version of the Select Decorator plugin</title><description>I did some new modifications to the select decorator plugin. The plugin had a problem in the 0.0.2 release which is when you add two drop downs on the same web page the plugin didnt open the respective drop downs menu but the last drop down in the page. This was a serious problem, and with this new version I solved it. So you can make use of the plugin. Also this supports all the cross browsers including FF, IE 8, IE 7, IE 6, Safari, Google Chrome, and Opera.&lt;br /&gt;&lt;br /&gt;The new version of the plugin accepts a new JSON object as the argument, which has a property called onChange. Yes you might have got what it is for, its for the onchange event of the dropdown. You can have that included there either now, which makes if more useful.&lt;br /&gt;&lt;br /&gt;If you see the new &lt;a href="http://open.whynotonline.com/select_decorator/index.html"&gt;demo &lt;/a&gt;of the plugin you will find that there are two dropdowns there and which are different on styles, and the first on which is blue in color has its own onchange event call.&lt;br /&gt;&lt;br /&gt;See the demo for more information about setting up the plugin and using it.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://open.whynotonline.com/select_decorator/index.html"&gt;http://open.whynotonline.com/select_decorator/index.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;enjoy!!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-75555663564097739?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/08/003-version-of-select-decorator-plugin.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-963110391111806481</guid><pubDate>Sat, 25 Jul 2009 13:19:00 +0000</pubDate><atom:updated>2009-07-25T10:38:42.471-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>javascript</category><category domain='http://www.blogger.com/atom/ns#'>web development</category><category domain='http://www.blogger.com/atom/ns#'>web design</category><category domain='http://www.blogger.com/atom/ns#'>interests</category><category domain='http://www.blogger.com/atom/ns#'>website</category><category domain='http://www.blogger.com/atom/ns#'>internet</category><category domain='http://www.blogger.com/atom/ns#'>hacking</category><title>Navigation on Ajax websites using browser's next and previous buttons</title><description>On this post I am talking about some problem which I had and resolved myself while coding up Ajax websites. Normally when it comes to Ajax what comes to my mind is that removing page refreshes.  Ajax websites are websites which works more like web applications, the user interaction is handled using asynchronous calls to the respective servers. On this post I am talking about the navigation in a Ajax website using the next and the previous buttons of the browser.&lt;br /&gt;&lt;br /&gt;Lets assume we are working out a website for selling a particular product or service, which contains a form which we process in 4 different steps.  The first step might ask some questions from the user about what he needs. On the second step they will get a list of relevant products or service packages and hey selects one. Third step they will enter their details, fourth step they will do the payments and finish the deal. Now as we are using Ajax there will be no page refreshes in between these steps,  that means the browser just will stay on the same page or in other words the document.location will be the same.&lt;br /&gt;&lt;br /&gt;Lets assume a user comes to my website, and he goes to the second step, oh!! he realizes that he has not entered some data on the first step correctly, what I feel is that in this case he will click on the browser's back button though a back button is given on the form. Wow lets say the first step form is the first page of the website as well, and then what happens is once the user clicks the back button he will get some other website which he was viewing previously without getting the first step of the form.&lt;br /&gt;&lt;br /&gt;Now what can we do about this situation? This can be answered. Now if you use Gmail you will see a very complex Ajax application, and when you click something note that the browsers hash is being changed, it is the same thing which happens when you click on an anchor in the same page. I will make it more simple, our approach should be like this,&lt;br /&gt;&lt;br /&gt;URL of our website = http://mysite.com&lt;br /&gt;URL of our second step = http://mysite.com#product_options&lt;br /&gt;&lt;br /&gt;The text which comes after the hash is called the URL hash, and it can be accessed by javascript using the following&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;document.location.hash&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The advantage is that if you change the hash dynamically your web page will not be refreshed. And the changes to the hash will be in the history. So using next and previous buttons of the browser you will be able to navigate among the respective hashes.&lt;br /&gt;&lt;br /&gt;To program such a thing what you have to do is to have a listener for the browser hash, easily you can do it with a code like below.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;$current_hash = '';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;function hash_listener(){&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;      $new_hash = document.location.hash;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;      if($new_hash != $current_hash){&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;              $current_hash = $new_hash;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;           // Do whatever javascript functions you need to.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;          // After that remember to change the hash of the browser.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;           window.location.hash = 'second_step';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;      }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;              &lt;br /&gt;okay!! now above is our listener, and still we have to bind it, we shall use the setInterval function for that.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;font-size:85%;" &gt;window.setInterval("hash_listener", 500);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now our Ajax website's users will be able to navigate using the browser's next and previous buttons.&lt;br /&gt;&lt;br /&gt;If you carefully look at the listener you will find that I am updating the hash from my javascript. but if you are going to use anchor tags you will be able to achieve the same thing.&lt;br /&gt;&lt;br /&gt;I wish this information will be useful for you.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-963110391111806481?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/07/navigation-on-ajax-websites-using.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-4946901360201466141</guid><pubDate>Wed, 24 Jun 2009 09:31:00 +0000</pubDate><atom:updated>2009-06-24T03:27:35.063-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>open source</category><category domain='http://www.blogger.com/atom/ns#'>javascript</category><category domain='http://www.blogger.com/atom/ns#'>web design</category><category domain='http://www.blogger.com/atom/ns#'>interests</category><category domain='http://www.blogger.com/atom/ns#'>website</category><category domain='http://www.blogger.com/atom/ns#'>internet</category><category domain='http://www.blogger.com/atom/ns#'>FOSS</category><category domain='http://www.blogger.com/atom/ns#'>html</category><category domain='http://www.blogger.com/atom/ns#'>jQuery</category><category domain='http://www.blogger.com/atom/ns#'>hacking</category><title>Image Transitions</title><description>&lt;iframe src="http://open.whynotonline.com/simple-transitions/iframe.html" style="width: 410px; height: 170px;" scrolling="no" frameborder="0"&gt;&lt;/iframe&gt;&lt;p style="text-align: center; font-size: 11px; font-style: italic;"&gt;Do you think this is flash? My answer is no it is not. It is pure javascript, and css.&lt;/p&gt;&lt;p style="text-align: left;"&gt;So that's true, the animation on the top is not a flash movie, but a javascript. Okay enough talking, this is the newest javascript extension I did for the jQuery Javascript library. You can use this to make transitions like above on your websites, also using any number of images. It is light weight, normally compared to other libraries jQuery is light weight. As this plugin runs on jquery and it is built not to be much complex it is pretty light weight and will not make your browser stuck on a point. :D&lt;/p&gt;&lt;p style="text-align: left;"&gt;So just a note, this is my 3rd plugin which I am publishing for the jQuery community, also my 18th open source plugin. (i am not sure where I will end, started with SilverStripe Open Source CMS. lol!)&lt;/p&gt;&lt;p style="text-align: left;"&gt;Talking about this one, it is a ready made extension for you to download and plug to your website. View the documentation page for more information &lt;a href="http://open.whynotonline.com/simple-transitions/index.html"&gt;http://open.whynotonline.com/simple-transitions/index.html&lt;/a&gt; you'll see more transitions there, I have some ideas to implement more to this. The web page which is mentioned above contains the link to download the plugin, and there is a little documentation at the very bottom of the page.&lt;/p&gt;&lt;p style="text-align: left;"&gt;&lt;a href="http://open.whynotonline.com/simple-transitions-for-jquery/"&gt;Check it out.&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/8402275079014235468-4946901360201466141?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/06/image-transitions.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-9129807741518162489</guid><pubDate>Mon, 08 Jun 2009 15:29:00 +0000</pubDate><atom:updated>2009-06-08T08:38:27.914-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>javascript</category><category domain='http://www.blogger.com/atom/ns#'>web development</category><category domain='http://www.blogger.com/atom/ns#'>web design</category><category domain='http://www.blogger.com/atom/ns#'>interests</category><category domain='http://www.blogger.com/atom/ns#'>internet</category><category domain='http://www.blogger.com/atom/ns#'>silverstripe</category><category domain='http://www.blogger.com/atom/ns#'>whynotonline.com</category><category domain='http://www.blogger.com/atom/ns#'>FOSS</category><category domain='http://www.blogger.com/atom/ns#'>cms</category><category domain='http://www.blogger.com/atom/ns#'>php</category><category domain='http://www.blogger.com/atom/ns#'>html</category><category domain='http://www.blogger.com/atom/ns#'>hacking</category><category domain='http://www.blogger.com/atom/ns#'>jQuery</category><title>Suggestion Field Module for SilverStripe</title><description>This post is about a new module which I coded up. I named the module as Suggestion Field (I dont know how relevant it is, usually I am stupid in naming stuff.). Anyway the reason I named it is that this module provides you with a text area which fetch some helpful suggestions when you start typing inside it.&lt;br /&gt;&lt;br /&gt;The module can be used as two ways, one is to make a search box, which provides some suggestions with links pointed to the working URLs, (if you have used SilverStripe doc, you might have seen this).&lt;br /&gt;&lt;br /&gt;The other one is to use it as a normal text field, when you click on a suggestion it will automatically fill your input box.&lt;br /&gt;&lt;br /&gt;Anyway if this is not clear for you please see the demo here &lt;a href="http://open.whynotonline.com/suggestion-field/"&gt;http://open.whynotonline.com/suggestion-field/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope this will be a useful plugin, I will be writing some documentation for this soon, and will post this to the SilverStripe website as well, yet you can download it from the &lt;a href="http://open.whynotonline.com"&gt;whynotonline.com&lt;/a&gt; open source portal. If you go here you will find the file which you can download &lt;a href="http://open.whynotonline.com/suggestion-form-field/"&gt;http://open.whynotonline.com/suggestion-form-field/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please let me hear your views about this new module.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-9129807741518162489?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/06/suggestion-field-module-for.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-8000963529480675127</guid><pubDate>Fri, 22 May 2009 13:41:00 +0000</pubDate><atom:updated>2009-07-27T02:30:43.707-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>open source</category><category domain='http://www.blogger.com/atom/ns#'>javascript</category><category domain='http://www.blogger.com/atom/ns#'>web development</category><category domain='http://www.blogger.com/atom/ns#'>interests</category><category domain='http://www.blogger.com/atom/ns#'>website</category><category domain='http://www.blogger.com/atom/ns#'>internet</category><category domain='http://www.blogger.com/atom/ns#'>FOSS</category><category domain='http://www.blogger.com/atom/ns#'>html</category><category domain='http://www.blogger.com/atom/ns#'>jQuery</category><category domain='http://www.blogger.com/atom/ns#'>hacking</category><category domain='http://www.blogger.com/atom/ns#'>css</category><title>Two JQuery Plugins</title><description>The last few weeks I have been snowed under a lot of interesting work. Mostly I got a chance to work with a nice server, which is a dedicated and having Free BSD Installed. Also I was working hard on an online app which works on top of jQuery and SilverStripe. So I have been doing a lot of jQuery related stuff to make my app to work handy, and efficiently.&lt;br /&gt;&lt;br /&gt;Also I had some good time with coding up two little plugins to jQuery as well. One is a  plugin which enables you to do bulk uploading and the other one is for styling HTML Select boxes.  Below you will find a little description about the new plugins.&lt;br /&gt;&lt;p style="font-size: 130%;"&gt;Bulk uploader for jQuery&lt;/p&gt;&lt;br /&gt;With this plugin you can make your HTML to accept multiple files using one file input. The plugin automatically maintains a list which allows the users to arrange their uploads.&lt;br /&gt;You can see the demo of the plugin follow this link &lt;a href="http://open.whynotonline.com/bulkuploader/index.html"&gt;http://open.whynotonline.com/bulkuploader/index.html&lt;/a&gt;&lt;br /&gt;&lt;p style="font-size: 130%;"&gt;Select Decorator for jQuery&lt;/p&gt;This is the next plugin, while I was working on my app, I had to style some select boxes / html drop downs. I found some plugins which acts as select boxes but not really select boxes. I couldn't use and lists as I needed to handle the change event of the select box. So I had to code up my own plugin to style select options. To see a working demo and a download like for this one please follow this like, &lt;a href="http://open.whynotonline.com/select_decorator/index.html"&gt;http://open.whynotonline.com/select_decorator/index.html&lt;/a&gt;.&lt;br /&gt;Still its a pitty that this plugin works on any browser except Internet Explorer. I still couldnt find a solution for that, sometimes readers of this post might have, if so please share.&lt;br /&gt;&lt;br /&gt;I wish that the two plugins will make your life easier as web developer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-8000963529480675127?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/05/two-jquery-plugins.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-869046873463985172</guid><pubDate>Mon, 27 Apr 2009 18:18:00 +0000</pubDate><atom:updated>2009-04-27T11:39:43.313-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>open source</category><category domain='http://www.blogger.com/atom/ns#'>web development</category><category domain='http://www.blogger.com/atom/ns#'>mysql</category><category domain='http://www.blogger.com/atom/ns#'>asf</category><category domain='http://www.blogger.com/atom/ns#'>php</category><category domain='http://www.blogger.com/atom/ns#'>ubuntu</category><title>Setting up LAMP on ubuntu</title><description>As I can remember (though I have a bad memory) I think that I have mentioned that I am an Ubuntu user for at least about 100 times on this blog. To read about why I use Ubuntu please see the posts which I have posted here.&lt;br /&gt;&lt;br /&gt;I thought of writing a post to explain how to set up a working LAMP (Linux Apache PHP MySQL) server (I will call it a server ;)) on ubuntu.&lt;br /&gt;&lt;br /&gt;And from here onwards I am talking about the terminal, sometimes it may be boring but yet I believe that being simple is very helpful to be flexible.&lt;br /&gt;&lt;br /&gt;Okay now the first step must be the install Apache on your Ubuntu installation,&lt;br /&gt;&lt;br /&gt;For that you will have to use the apt, paste the following command in your terminal.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;sudo apt-get install apache2&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;okay here you installed Apache on your computer.&lt;br /&gt;&lt;br /&gt;now what? PHP I think&lt;br /&gt;&lt;br /&gt;run the following commands in your terminal one after the other.&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;sudo apt-get install php5&lt;br /&gt;sudo apt-get install libapache2-mod-php5&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;these will install php and the mod_php for Apache,&lt;br /&gt;&lt;br /&gt;then restart your webserver, use the following command,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;font-size:85%;" &gt;sudo /etc/init.d/apache2 restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now you have installed PHP and Apache, okay lets do install MySQL use the following command to do it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;font-size:85%;" &gt;sudo apt-get install mysql&lt;br /&gt;sudo apt-get install php5-mysql&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;now again restart your webserver and all wil run good.&lt;br /&gt;&lt;br /&gt;is this post useful? any comments highly appreciated.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-869046873463985172?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/04/setting-up-lamp-on-ubuntu.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-8730423785324030378</guid><pubDate>Mon, 13 Apr 2009 03:29:00 +0000</pubDate><atom:updated>2009-04-12T20:49:09.793-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>open source</category><category domain='http://www.blogger.com/atom/ns#'>web development</category><category domain='http://www.blogger.com/atom/ns#'>office work</category><category domain='http://www.blogger.com/atom/ns#'>interests</category><category domain='http://www.blogger.com/atom/ns#'>website</category><category domain='http://www.blogger.com/atom/ns#'>silverstripe</category><category domain='http://www.blogger.com/atom/ns#'>whynotonline.com</category><category domain='http://www.blogger.com/atom/ns#'>FOSS</category><title>we opened a new website for open source</title><description>On the very first post I wrote about the twitter module on my blog here, I mentioned that the team at &lt;a href="http://whynotonline.com/"&gt;whynotonline.com&lt;/a&gt; including me; are planning to open up a new website for the open source contributions we do. As I mentioned we agreed to use the URL &lt;a href="http://open.whynotonline.com/"&gt;http://open.whynotonline.com&lt;/a&gt; for the website.&lt;br /&gt;&lt;br /&gt;I did the designing and the coding for the website, and Dasun my best friend and my business partner filled the website with content. As being the owners of the company we had to do some extra work on the website and had to be awakened for a couple of nights.&lt;br /&gt;&lt;br /&gt;The goal of the website is that to make people more passionate on open source software. Open source has been helping whynotonline.com to be successful in business, we spend 20% of our time in open source developments. Though whynotonline.com is new to the web development business (10 months) it has done a lot, and has managed to build a huge client base which includes clients from all around the world. My thought is that such a website will help the developers at whynotonline.com to build up good profiles individually, as well as the company will benefit from it too.&lt;br /&gt;&lt;br /&gt;At last the website is for you all, and we will be really happy to see more and more traffic to the website. Have a look &lt;a href="http://open.whynotonline.com/"&gt;http://open.whynotonline.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-8730423785324030378?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/04/we-opened-new-website-for-open-source.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-5033541327412103426</guid><pubDate>Sat, 11 Apr 2009 01:20:00 +0000</pubDate><atom:updated>2009-04-10T18:43:17.000-07:00</atom:updated><title>An editor which make me happy</title><description>I am using Ubuntu for sometime now, but still I was feeling a bit unhappy about the editors I had to use for PHP, HTML, CSS editing. Before using ubuntu I used MS Windows, but it felt that I have to say goodbye to windows, after the launch of Windows Vista. To be frank at that moment I couldn't spend money for a high performing computer. So what I did is that I though of using Ubuntu. Ubuntu has been serving me for about two years now. And I dont have any complaint towards Ubuntu.&lt;br /&gt;&lt;br /&gt;But there was one thing I really missed when using Ubuntu, it was Adobe Dreamweaver, I used Adobe products including Adobe Dreamweaver for all sorts of web development. I could use it on Wine; but I was not that interested in that, because I didnt like the userinterface which I got, and there were some performance issues.&lt;br /&gt;&lt;br /&gt;I tried a few editors, actually I am not that much interested to use IDEs. For me what I think is that IDEs are good for a person who is having a super fast computer. I used &lt;a href="http://quanta.kdewebdev.org/"&gt;Quanta Plus&lt;/a&gt;, I was a bit happy about it. But again with time I used gEdit. Which is the defalult editor for Ubuntu. It is a very simple editor. But I had to spend some more time to keep my codes clean and tidy, with indentations and all.&lt;br /&gt;&lt;br /&gt;Anyway now I have found an editor which suites me a lot, and which can serve all my needs. It is &lt;a href="http://www.activestate.com/komodo_edit/"&gt;Komodo Edit&lt;/a&gt;. it has a lot of features including,&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Multilanguage support&lt;/li&gt;&lt;li&gt;Code folding&lt;/li&gt;&lt;li&gt;Code reuse&lt;/li&gt;&lt;li&gt;Multi document editing&lt;/li&gt;&lt;li&gt;Syntax coloring&lt;/li&gt;&lt;li&gt;Syntax checking&lt;/li&gt;&lt;/ul&gt;Alone with these features, I am really happy to use it for my developments.&lt;br /&gt;&lt;br /&gt;Before writing this post I did a lot of searches on google to find  out what is the best, and what other developers feel about different editors. Now I thought that I must write something about my favorite editor, so that others can try it.&lt;br /&gt;&lt;br /&gt;Good luck!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-5033541327412103426?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/04/editor-which-make-me-happy.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-2719153105183466268</guid><pubDate>Thu, 09 Apr 2009 04:34:00 +0000</pubDate><atom:updated>2009-04-11T11:30:44.233-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>open source</category><category domain='http://www.blogger.com/atom/ns#'>wordpress</category><category domain='http://www.blogger.com/atom/ns#'>web development</category><category domain='http://www.blogger.com/atom/ns#'>web design</category><category domain='http://www.blogger.com/atom/ns#'>interests</category><category domain='http://www.blogger.com/atom/ns#'>silverstripe</category><category domain='http://www.blogger.com/atom/ns#'>php</category><category domain='http://www.blogger.com/atom/ns#'>FOSS</category><category domain='http://www.blogger.com/atom/ns#'>hacking</category><title>More into Open Source</title><description>The Sinhala and Hindu New year is close by, I got leave from the 9th April to 20th April. This is going to be some good time for me, to take my head off from the office, and the stuff I do at whynotonline.com, and I can head into some more open source related work. I have several things in mind, I wrote a proposal to the GSoC 2009, its for WordPress, to make a new versioning system for templates. But still I am waiting for the results, they have to approve it anyway. And my other plan is to work on a new module for SilverStripe Open Source CMS, which enables to provide booking facilities. This can be a very highly useful one, as my wish is to make this useful for Hotels, Cabs, etc., etc.&lt;br /&gt;&lt;br /&gt;With these plans in mind I will be writing down my sketches about the booking module, as well as I am planning to read about various versioning systems, such as SVN, CVS, and GIT (which I use at whynotonline.com) for help my GSoC application.&lt;br /&gt;&lt;br /&gt;Wow at last, when I take a look at my plans, all my 10 days are packed up. I will be going home, which is in the upcountry Sri Lanka, (on the mountains ;) ) and spend some time with my mom, dad, brother, and sister. Hope to finish most of the work possible from home anyway.&lt;br /&gt;&lt;br /&gt;Also with all these heaps of work I will be spending sometime with my girl too, to please her.&lt;br /&gt;&lt;br /&gt;Wish you a very happy and peaceful new year!!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-2719153105183466268?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/04/more-into-open-source.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-34272501962846848</guid><pubDate>Tue, 07 Apr 2009 05:55:00 +0000</pubDate><atom:updated>2009-04-07T09:00:50.112-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>open source</category><category domain='http://www.blogger.com/atom/ns#'>web development</category><category domain='http://www.blogger.com/atom/ns#'>cms</category><category domain='http://www.blogger.com/atom/ns#'>interests</category><category domain='http://www.blogger.com/atom/ns#'>website</category><category domain='http://www.blogger.com/atom/ns#'>silverstripe</category><category domain='http://www.blogger.com/atom/ns#'>php</category><category domain='http://www.blogger.com/atom/ns#'>FOSS</category><category domain='http://www.blogger.com/atom/ns#'>hacking</category><title>finally the twitter module got in to the module directory</title><description>Today again is a special one for me. If you are a frequent reader of my blog you might have seen that I wrote some posts about the twitter module. Today I managed to catch &lt;a href="http://silverstripe.com/andrew-oneil/"&gt;Andrew &lt;/a&gt;at &lt;a href="http://silverstripe.org/"&gt;SilverStipe Open Source CMS&lt;/a&gt;, and got his approval to have the module on the SilverStripe website.&lt;br /&gt;Now you can see the module on the pre-release list of the SilverStripe website, &lt;a href="http://www.silverstripe.org/modules/prerelease"&gt;click here&lt;/a&gt; to follow it. And &lt;a href="http://silverstripe.org/twitter-module-module/"&gt;this is the link&lt;/a&gt; for the modules page.&lt;br /&gt;&lt;br /&gt;I got some comments for the last post I wrote on adding an RSS feed for the module, I will be working on that too while preparing the codes for the next release.&lt;br /&gt;&lt;br /&gt;Hope this module will be a useful plug-in to your website. Welcome to use it and for any comments.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-34272501962846848?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/04/finally-twitter-module-got-in-to-module.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-611346079926939972</guid><pubDate>Fri, 13 Mar 2009 08:11:00 +0000</pubDate><atom:updated>2009-03-13T19:11:19.275-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>web development</category><category domain='http://www.blogger.com/atom/ns#'>web design</category><category domain='http://www.blogger.com/atom/ns#'>internationalization</category><category domain='http://www.blogger.com/atom/ns#'>cms</category><category domain='http://www.blogger.com/atom/ns#'>website</category><category domain='http://www.blogger.com/atom/ns#'>silverstripe</category><category domain='http://www.blogger.com/atom/ns#'>i18n</category><category domain='http://www.blogger.com/atom/ns#'>whynotonline.com</category><category domain='http://www.blogger.com/atom/ns#'>FOSS</category><category domain='http://www.blogger.com/atom/ns#'>hacking</category><title>Calendar Module relaunched as the Diary Module</title><description>After releasing the Calendar module for &lt;a href="http://silverstripe.org/"&gt;SilverStripe&lt;/a&gt;, we (me and the team at SilverStripe) discovered that naming the module as "Calendar Module" creates some naming conflicts, with another module which is coded by someone else.&lt;br /&gt;&lt;br /&gt;So as to avoid the conflicts my module is released as the &lt;a href="http://www.silverstripe.org/diary-module/"&gt;Diary Module&lt;/a&gt;, and if you click on the name you will be able to go to the official SilverStripe page of the module where you will be able to learn a lot about it. And I am really impressed that the module is listed under the supported list (&lt;a href="http://www.silverstripe.org/modules"&gt;http://www.silverstripe.org/modules&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;I will be talking to my partners at whynotonline.com and will arrange a new demo site where you will have a nice URL, most probably http://open.whynotonline.com/ will be that ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-611346079926939972?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/03/calendar-module-relaunched-as-diary.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>9</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-4885146649932277950</guid><pubDate>Wed, 04 Mar 2009 06:36:00 +0000</pubDate><atom:updated>2009-03-03T22:54:48.253-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>open source</category><category domain='http://www.blogger.com/atom/ns#'>web development</category><category domain='http://www.blogger.com/atom/ns#'>cms</category><category domain='http://www.blogger.com/atom/ns#'>interests</category><category domain='http://www.blogger.com/atom/ns#'>website</category><category domain='http://www.blogger.com/atom/ns#'>silverstripe</category><category domain='http://www.blogger.com/atom/ns#'>php</category><category domain='http://www.blogger.com/atom/ns#'>FOSS</category><category domain='http://www.blogger.com/atom/ns#'>hacking</category><title>First release of the Twitter module for SilverStripe</title><description>Dear all,&lt;br /&gt;&lt;br /&gt;You might remember I wrote something about a new addition to the &lt;a href="http://silverstripe.org/"&gt;SilverStripe Open Source CMS&lt;/a&gt; called the Twitter Module. If you have a bad memory or you didnt see my previous post here is the link to that "&lt;a href="http://nivanka.blogspot.com/2009/02/have-you-tried-to-merge-your-twitter.html"&gt;Have you tried to merge your twitter account with your SilverStripe website&lt;/a&gt;".&lt;br /&gt;&lt;br /&gt;Okay here we go, here is the first release of the module where you can have it installed it with your SilverStripe website.&lt;br /&gt;&lt;br /&gt;To download it &lt;a href="http://www.whynotonline.com/tempuploads/twitter.tar.gz"&gt;click here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I'd love to hear your views about the module, and if you have anything in your mind just post your comments here.&lt;br /&gt;The software is free, released under the &lt;a href="http://developments.whynotonline.com/cal/license/"&gt;Free BSD&lt;/a&gt; you can make use of it with out any hesitation.&lt;br /&gt;&lt;br /&gt;Have some nice experience with this new addition. To let you know about some stuff about the module it ships with some widgets, where you can have your twitter details in many pages. Also still you can have only one TwitterPage set up on your website. You can have many, but the widgets will not work as you need, I will be fixing this soon, and would like to hear how you need it on a next release. Also I will be posting the codes to the SilverStripe.org so you will be able to download it from there too.&lt;br /&gt;&lt;br /&gt;Thanks, I am going to have a beer today evening to celebrate the release, as this is something I was looking forward for sometime ;)&lt;br /&gt;GREETS!!!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-4885146649932277950?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/03/first-release-of-twitter-module-for.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>4</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-870389952965365642</guid><pubDate>Tue, 03 Mar 2009 06:13:00 +0000</pubDate><atom:updated>2009-03-03T22:25:52.684-08:00</atom:updated><title>What the hell has happened to this blog?</title><description>&lt;del&gt;Hey you might think so, yes I blacked out my blog, just to express my anger towards the grotesque attack to the Sri Lanka Cricket Team, at Pakistan.&lt;/del&gt; It was ruined as I did black out it, and now I have just replaced the blog's layout as I didnt want to make this hard to read ;).&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.theage.com.au/world/sri-lanka-cricketers-wounded-in-shooting-20090303-8n34.html"&gt;http://www.theage.com.au/world/sri-lanka-cricketers-wounded-in-shooting-20090303-8n34.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;What I feel is this is done by some terrorists, and the attack means that every terrorist organization hates our country. So, there are somethings to understand anyway, as a whole all the terrorists are just in the same bunch. And this is a time, that our military forceses are kicking the asses of the LTTE (terrorists again). So I believe that no other terrorist, can stand this out. This is well expressed on this attack where terrorists, show their grotesque nudity to the whole world.&lt;br /&gt;&lt;br /&gt;I as an innocent Sri Lankan citizen, pray for gods, that our cricketers will be in good health soon, and wish to see them on the playgrounds with their kicking performances.&lt;br /&gt;&lt;br /&gt;Also I am somewhat keen to see what the media's such as CNN, BBC will act on this.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-870389952965365642?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/03/what-hell-has-happened-to-this-blog.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-269033318886663644</guid><pubDate>Sat, 28 Feb 2009 12:25:00 +0000</pubDate><atom:updated>2009-02-28T04:56:33.783-08:00</atom:updated><title>Got my new baby!!!!</title><description>Hi friends,&lt;br /&gt;&lt;br /&gt;I got my new laptop yesterday, it an Acer Extensa 5630z, and has included some good configurations. I was in a hurry to buy one, before I spent all the money in my pocket. So yesterday evening after the office I went to the Unity Plaza, at Bambalapitiya and got it.&lt;br /&gt;&lt;br /&gt;Its cool, includes Intel Core2 Duo Processor, 2 GB DDR2, 320 GB HDD, DVD Super Multi DL, Bluetooth, Webcam, and some other cool features. So yesterday was a busy day for me, had to find an OS for the laptop, and had to install all the softwares which I need to carry on my work. So I went through my CD pack to find an Ubuntu CD, (yeah I use ubuntu, I dont want to spend any money to buy windows) but found only a 7.10, which doesnt have the drivers for the VGA, and hard times began, the installation never proceeded. Because of this, I just started downloading the new Ubuntu Ibex (8.10). Wow it blindly worked at last. Okay then the first I will do with a new computer is to test its sounds, as I am used to listen to music whenever I work. And I felt wow again, the sounds are really good, and the headphone made me deff.&lt;br /&gt;&lt;br /&gt;This is how it went yesterday. Until today morning I am up installing many softwares to the system. Apache, Php5, MySQL, FileZilla, are the mostly used ones.&lt;br /&gt;&lt;br /&gt;Now enjoying the internet with my new baby, also just to let you know I am writing this with my new laptop too ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-269033318886663644?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/02/got-my-new-baby.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-3494122310500101555</guid><pubDate>Fri, 20 Feb 2009 14:16:00 +0000</pubDate><atom:updated>2009-02-24T05:10:39.450-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>interests</category><title>I did sing a song</title><description>All of you might think what is this post about a song, as when ever you come to my blog you find some technical stuff. Okay now I'd say that this is something about my life. Today I sang a song with two of my colleagues at the office. It was a nice time, I could play some guitar, but I haven't  done any recordings. Anyway this time I sang a song. Find it below&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/pYKIb5-hP90&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0xe1600f&amp;amp;color2=0xfebd01"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/pYKIb5-hP90&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0xe1600f&amp;amp;color2=0xfebd01" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;To mention something about my friends, the one with the guitar is Kishantha (A software engineer at the office) and the one with a drum is Manju also my manager, and its me out there on the right hand side singing :) The song is originally sung by Priya Sooriyasena, a Sri Lankan mucisian.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-3494122310500101555?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/02/i-did-sang-song.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8402275079014235468.post-1798811464036069093</guid><pubDate>Fri, 20 Feb 2009 04:15:00 +0000</pubDate><atom:updated>2009-02-19T20:44:16.367-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>open source</category><category domain='http://www.blogger.com/atom/ns#'>cms</category><category domain='http://www.blogger.com/atom/ns#'>interests</category><category domain='http://www.blogger.com/atom/ns#'>silverstripe</category><category domain='http://www.blogger.com/atom/ns#'>internet</category><category domain='http://www.blogger.com/atom/ns#'>FOSS</category><category domain='http://www.blogger.com/atom/ns#'>hacking</category><title>Have you tried to merge your twitter account with your SilverStripe website</title><description>Have you tried that? If you have you might have definitely used the &lt;a href="http://silverstripe.org/twitter-status-widget/"&gt;Twitter Status Widget&lt;/a&gt; which can downloaded from the &lt;a href="http://silverstripe.org/"&gt;SilverStripe.org&lt;/a&gt;. Now that is something cool you can add your recent Twitter status messages on any web page of your SilverStripe website. So whats about this post anyway? Ah yeah I forgot I was just talking nothing, okay this is what I need to tell anyway,&lt;br /&gt;&lt;br /&gt;I developed a twitter module for &lt;a href="http://silverstripe.org/"&gt;SilverStripe Open Source CMS&lt;/a&gt; which is still in its development and testing age, you can find the a demo of it if you follow &lt;a href="http://developments.whynotonline.com/cal/twitter-demo/"&gt;this link&lt;/a&gt;. Now let me explain a little about the module till I write a proper user manual and a documentation.&lt;br /&gt;&lt;br /&gt;This module helps you to add your twitter messages on your website, you can embed your firends messages (just what you see when you go to your twitter home page), the public status messages to the website, as well as your Followers.&lt;br /&gt;&lt;br /&gt;How will this help me? okay if you havent heard anything about twitter or twitter on your website, I'd ask you to have a look at &lt;a href="http://twitter.com/"&gt;http://twitter.com&lt;/a&gt;. For me it is a place where I can build a nice community, and to get myself introduced to a lot of people. So all this I can find on twitter, but not on my own site. What I am trying to achieve with the Twitter module is that to display what we talk on my SilverStripe website, it can be about business, arts, music anything I believe.&lt;br /&gt;&lt;br /&gt;Have a look, I'd also like to hear your ideas about this new addition to SilverStripe. Welcome make your comments here.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8402275079014235468-1798811464036069093?l=nivanka.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://nivanka.blogspot.com/2009/02/have-you-tried-to-merge-your-twitter.html</link><author>fonsekaean@gmail.com (Nivanka)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item></channel></rss>