<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Sanmugam&#039;s Blog</title>
	<atom:link href="http://gowithfoss.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://gowithfoss.wordpress.com</link>
	<description></description>
	<lastBuildDate>Fri, 24 Feb 2012 11:59:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='gowithfoss.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Sanmugam&#039;s Blog</title>
		<link>http://gowithfoss.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://gowithfoss.wordpress.com/osd.xml" title="Sanmugam&#039;s Blog" />
	<atom:link rel='hub' href='http://gowithfoss.wordpress.com/?pushpress=hub'/>
		<item>
		<title>inherited_resources In Rails 3.1</title>
		<link>http://gowithfoss.wordpress.com/2012/02/24/inherited_resources-in-rails-3-1/</link>
		<comments>http://gowithfoss.wordpress.com/2012/02/24/inherited_resources-in-rails-3-1/#comments</comments>
		<pubDate>Fri, 24 Feb 2012 11:59:05 +0000</pubDate>
		<dc:creator>sanmugasundaram</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gem]]></category>

		<guid isPermaLink="false">http://gowithfoss.wordpress.com/?p=484</guid>
		<description><![CDATA[hi, i am working with &#8220;inherited_resources&#8221; gem today. First read https://github.com/josevalim/inherited_resources. soon&#8230;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gowithfoss.wordpress.com&amp;blog=12992075&amp;post=484&amp;subd=gowithfoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>hi,</p>
<p>i am working with <strong>&#8220;inherited_resources&#8221;</strong> gem today. First read <a href="https://github.com/josevalim/inherited_resources">https://github.com/josevalim/inherited_resources</a>.</p>
<p>soon&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gowithfoss.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gowithfoss.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gowithfoss.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gowithfoss.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gowithfoss.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gowithfoss.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gowithfoss.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gowithfoss.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gowithfoss.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gowithfoss.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gowithfoss.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gowithfoss.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gowithfoss.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gowithfoss.wordpress.com/484/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gowithfoss.wordpress.com&amp;blog=12992075&amp;post=484&amp;subd=gowithfoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gowithfoss.wordpress.com/2012/02/24/inherited_resources-in-rails-3-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4452dc9886455702e9dd27c36ce7e2d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanmugasundaram</media:title>
		</media:content>
	</item>
		<item>
		<title>Create Nested Form in Rails 3.1</title>
		<link>http://gowithfoss.wordpress.com/2012/02/23/create-nested-form-in-rails-3-1/</link>
		<comments>http://gowithfoss.wordpress.com/2012/02/23/create-nested-form-in-rails-3-1/#comments</comments>
		<pubDate>Thu, 23 Feb 2012 13:06:14 +0000</pubDate>
		<dc:creator>sanmugasundaram</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://gowithfoss.wordpress.com/?p=463</guid>
		<description><![CDATA[Hi, While we creating some forms, also need to create some additional forms. In rails can easily create those type of form using gem &#8220;nested_form&#8221;. It can  manage multiple nested models in a single form. To know more https://github.com/ryanb/nested_form. can see how it works i have two model name Project,task. Project has many task. i [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gowithfoss.wordpress.com&amp;blog=12992075&amp;post=463&amp;subd=gowithfoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>While we creating some forms, also need to create some additional forms. In rails can easily create those type of form using<strong> gem &#8220;nested_form&#8221;</strong>. It can  manage multiple nested models in a single form. To know more <a href="https://github.com/ryanb/nested_form">https://github.com/ryanb/nested_form.</a></p>
<p>can see how it works</p>
<p>i have two model name Project,task. Project has many task. i want to create multiple task when create a project.</p>
<p>include gem in Gemfile</p>
<p><pre class="brush: ruby;">

gem &quot;nested_form&quot;, :git =&gt; 'https://github.com/ryanb/nested_form.git'

</pre></p>
<p>then run command in  project directory</p>
<p><strong>$ bundle install</strong></p>
<p>This gem add new  nested model by using JavaScript. it automatically create JavaScript file.To create JavaScript run this command</p>
<p>$ <strong>rails g nested_form:install</strong></p>
<p>now one file created in public/javascripts/nested_form.js</p>
<p>copy the nested_form.js  to app/assets/javascripts/</p>
<p>if your server is running restart to load new installation.</p>
<p>set controller and model like</p>
<p>projects_controller.rb</p>
<p><pre class="brush: ruby;">
class ProjectsController &lt; ApplicationController
def index
@projects=Project.all
end

def new
@project=Project.new
@project.tasks.build
end

def create
@project=Project.new(params[:project])
@project.save
flash[:notice] = &quot;Successfully Created project.&quot;
redirect_to projects_path
end

def edit
@project=Project.find(params[:id])
end

def update
@project=Project.find(params[:id])
@project.update_attributes(params[:project])
flash[:notice] = &quot;Record Successfully updated&quot;
redirect_to projects_path
end

def destroy
@project=Project.find(params[:id])
@project.destroy
redirect_to projects_path
end

end

</pre></p>
<p>in project.rb</p>
<p><pre class="brush: ruby;">
class Project &lt; ActiveRecord::Base
has_many :tasks, :dependent =&gt; :destroy
attr_accessible :tasks_attributes,:name, :description
accepts_nested_attributes_for :tasks, :allow_destroy =&gt; true

validates :name, :presence =&gt; true
end
</pre></p>
<p>in task.rb</p>
<p><pre class="brush: ruby;">

class Task &lt; ActiveRecord::Base
belongs_to :project
end

</pre></p>
<p>in my views/projects/_form.html.erb</p>
<p><pre class="brush: ruby;">

&lt;%= nested_form_for @project do |f| %&gt;

&lt;%= f.label :name %&gt;
&lt;%= f.text_field(:name) %&gt;&lt;br /&gt;
&lt;%= f.label :description %&gt;
&lt;%= f.text_field(:description) %&gt;&lt;br /&gt;
&lt;h3&gt; Tasks&lt;/h3&gt;
&lt;%= f.fields_for :tasks do |task| %&gt;
&lt;%= task.label :name %&gt;&lt;br /&gt;
&lt;%= task.text_field :name %&gt;&lt;br /&gt;
&lt;%= task.link_to_remove &quot;Remove this task&quot; %&gt;
&lt;% end %&gt;
&lt;p&gt;&lt;%= f.link_to_add &quot;Add a task&quot;, :tasks %&gt;&lt;/p&gt;
&lt;%= f.submit %&gt;
&lt;% end %&gt;

</pre></p>
<p>f.fields_for :tasks render the partial file &#8220;task_fields&#8221; create  partial file name as _task_fields.html.erb in views/projects/</p>
<p>and include the nested fields.</p>
<p>while click <strong>&#8220;link_to_add&#8217;, &#8220;link_to_remove&#8221; </strong>it calls the <strong>addField removeField</strong> in nested_forms.js file.</p>
<p>Nested form fields are added via javascript.</p>
<p><a href="http://gowithfoss.files.wordpress.com/2012/02/new.png"><img class="aligncenter size-full wp-image-468" title="new" src="http://gowithfoss.files.wordpress.com/2012/02/new.png?w=497" alt=""   /></a><a href="http://gowithfoss.files.wordpress.com/2012/02/destroy.png"><img class="aligncenter size-full wp-image-469" title="destroy" src="http://gowithfoss.files.wordpress.com/2012/02/destroy.png?w=497" alt=""   /></a></p>
<p>thanks..</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gowithfoss.wordpress.com/463/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gowithfoss.wordpress.com/463/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gowithfoss.wordpress.com/463/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gowithfoss.wordpress.com/463/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gowithfoss.wordpress.com/463/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gowithfoss.wordpress.com/463/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gowithfoss.wordpress.com/463/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gowithfoss.wordpress.com/463/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gowithfoss.wordpress.com/463/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gowithfoss.wordpress.com/463/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gowithfoss.wordpress.com/463/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gowithfoss.wordpress.com/463/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gowithfoss.wordpress.com/463/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gowithfoss.wordpress.com/463/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gowithfoss.wordpress.com&amp;blog=12992075&amp;post=463&amp;subd=gowithfoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gowithfoss.wordpress.com/2012/02/23/create-nested-form-in-rails-3-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4452dc9886455702e9dd27c36ce7e2d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanmugasundaram</media:title>
		</media:content>

		<media:content url="http://gowithfoss.files.wordpress.com/2012/02/new.png" medium="image">
			<media:title type="html">new</media:title>
		</media:content>

		<media:content url="http://gowithfoss.files.wordpress.com/2012/02/destroy.png" medium="image">
			<media:title type="html">destroy</media:title>
		</media:content>
	</item>
		<item>
		<title>Animeted Menu Bar</title>
		<link>http://gowithfoss.wordpress.com/2012/01/12/animeted-menu-bar/</link>
		<comments>http://gowithfoss.wordpress.com/2012/01/12/animeted-menu-bar/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 05:17:35 +0000</pubDate>
		<dc:creator>sanmugasundaram</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://gowithfoss.wordpress.com/?p=473</guid>
		<description><![CDATA[Hi, i am learning css, i created simple Animated menu bar, let see first create the menu link like i included here reset.css. This css used to reset all the default properties for the element. Then we write the our own css to over write the existing css setting. in my reset.css In my menu.css [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gowithfoss.wordpress.com&amp;blog=12992075&amp;post=473&amp;subd=gowithfoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>i am learning css, i created simple Animated menu bar, let see</p>
<p>first create the menu link like</p>
<p><pre class="brush: xml;">

&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Testing menu&lt;/title&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;reset.css&quot;&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;menu.css&quot;&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id='container'&gt;
&lt;div id='navbar'&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a id='image1' href='#'&gt;Image1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a id='image2' href='#'&gt;Image2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a id='image3' href='#'&gt;Image3&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a id='image4' href='#'&gt;Image4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a id='image5' href='#'&gt;Image5&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a id='image6' href='#'&gt;Image6&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a id='image7' href='#'&gt;Image7&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a id='image8' href='#'&gt;Image8&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;

</pre></p>
<p>i included here <strong>reset.css</strong>. This css used to reset all the default properties for the element. Then we write the our own css to over write the existing css setting.</p>
<p>in my reset.css</p>
<p><pre class="brush: css;">

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
body {
line-height: 1;
color: black;
background: white;
}
ol, ul {
list-style: none;
}
/* tables still need 'cellspacing=&quot;0&quot;' in the markup */
table {
border-collapse: separate;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: &quot;&quot;;
}
blockquote, q {
quotes: &quot;&quot; &quot;&quot;;
}

</pre></p>
<p>In my menu.css file</p>
<p><pre class="brush: css;">

#container{
width:500px;
margin:auto;
}
ul{
overflow:hidden;
line-height: 83px;
}
li{
float:left;
}
li a{
background:url(streaky.gif);
height:83px;
width:60px;
display:block;
text-indent: -999em;
}
li #image1{
background-position: 0px 0px;
width:46px;
}
li #image2{
background-position: -46px 0px;
width:52px;
}
li #image3{
background-position: -98px 0px;
width:73px;
}
li #image4{
background-position: -171px 0px;
width:72px;
}
li #image5{
background-position: -241px 0px;
width:59px;
}
li #image6{
background-position: -300px 0px;
width:82px;
}
li #image7{
background-position: -382px 0px;
width:56px;
}
li #image8{
background-position: -438px 0px;
width:44px;
}

li #image1:hover{
background-position: 0px -83px;
width:46px;
}
li #image2:hover{
background-position: -46px -83px;
width:52px;
}
li #image3:hover{
background-position: -98px -83px;
width:73px;
}
li #image4:hover{
background-position: -171px -83px;
width:72px;
}
li #image5:hover{
background-position: -241px -83px;
width:59px;
}
li #image6:hover{
background-position: -300px -83px;
width:82px;
}
li #image7:hover{
background-position: -382px -83px;
width:56px;
}
li #image8:hover{
background-position: -438px -83px;
width:44px;
}

</pre></p>
<p>This image i used to show animate</p>
<p><a href="http://gowithfoss.files.wordpress.com/2012/02/streaky.gif"><img class="aligncenter size-full wp-image-474" title="streaky" src="http://gowithfoss.files.wordpress.com/2012/02/streaky.gif?w=497" alt=""   /></a>It is not hard. First i set this image to link background, then i only change the image position for every link.</p>
<p>that&#8217;s it..:)</p>
<p><a href="http://gowithfoss.files.wordpress.com/2012/01/1.png"><img class="aligncenter size-full wp-image-477" title="1" src="http://gowithfoss.files.wordpress.com/2012/01/1.png?w=497&#038;h=70" alt="" width="497" height="70" /></a><a href="http://gowithfoss.files.wordpress.com/2012/01/2.png"><img class="aligncenter size-full wp-image-478" title="2" src="http://gowithfoss.files.wordpress.com/2012/01/2.png?w=497&#038;h=75" alt="" width="497" height="75" /></a><a href="http://gowithfoss.files.wordpress.com/2012/01/31.png"><br />
<img class="aligncenter size-full wp-image-480" title="3" src="http://gowithfoss.files.wordpress.com/2012/01/31.png?w=497&#038;h=70" alt="" width="497" height="70" /></a><a href="http://gowithfoss.files.wordpress.com/2012/01/4.png"><img class="aligncenter size-full wp-image-481" title="4" src="http://gowithfoss.files.wordpress.com/2012/01/4.png?w=497&#038;h=75" alt="" width="497" height="75" /></a>Do it while move mouse on the image it show as animation. like above images..</p>
<p>thanks&#8211;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gowithfoss.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gowithfoss.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gowithfoss.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gowithfoss.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gowithfoss.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gowithfoss.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gowithfoss.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gowithfoss.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gowithfoss.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gowithfoss.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gowithfoss.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gowithfoss.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gowithfoss.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gowithfoss.wordpress.com/473/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gowithfoss.wordpress.com&amp;blog=12992075&amp;post=473&amp;subd=gowithfoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gowithfoss.wordpress.com/2012/01/12/animeted-menu-bar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4452dc9886455702e9dd27c36ce7e2d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanmugasundaram</media:title>
		</media:content>

		<media:content url="http://gowithfoss.files.wordpress.com/2012/02/streaky.gif" medium="image">
			<media:title type="html">streaky</media:title>
		</media:content>

		<media:content url="http://gowithfoss.files.wordpress.com/2012/01/1.png" medium="image">
			<media:title type="html">1</media:title>
		</media:content>

		<media:content url="http://gowithfoss.files.wordpress.com/2012/01/2.png" medium="image">
			<media:title type="html">2</media:title>
		</media:content>

		<media:content url="http://gowithfoss.files.wordpress.com/2012/01/31.png" medium="image">
			<media:title type="html">3</media:title>
		</media:content>

		<media:content url="http://gowithfoss.files.wordpress.com/2012/01/4.png" medium="image">
			<media:title type="html">4</media:title>
		</media:content>
	</item>
		<item>
		<title>Create a Custom Blocks in Drupal6</title>
		<link>http://gowithfoss.wordpress.com/2011/10/04/create-a-custom-blocks-in-drupal6/</link>
		<comments>http://gowithfoss.wordpress.com/2011/10/04/create-a-custom-blocks-in-drupal6/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 17:14:26 +0000</pubDate>
		<dc:creator>sanmugasundaram</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://gowithfoss.wordpress.com/?p=454</guid>
		<description><![CDATA[Hi, i just go through the hook_block and create a custom block in drupal 6. The custom module file as follows, The custom.info file as The custom.module file as Make the both files in custom folder as past the module in /sites/all/modules/custom. Install the custom module, now the two custom block created in block like [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gowithfoss.wordpress.com&amp;blog=12992075&amp;post=454&amp;subd=gowithfoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>i just go through the <a href="http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hook_block/6">hook_block</a> and create a custom block in drupal 6. The custom module file as follows,</p>
<p>The custom.info file as</p>
<p><pre class="brush: php;">

; $Id: shan.info,v 1.0 2011/10/04 19:32:28 Exp $
name = custom
description = this is my custom test module.
package = custom modules
core = 6.x

</pre></p>
<p>The custom.module file as</p>
<p><pre class="brush: php;">

/**
* Implementation of hook_block()
*/
function custom_block($op='list', $delta=0, $edit=array()) {
switch ($op) {
// Declare the list of blocks to create
case 'list':
$blocks = array();
$blocks['custom_block1'] = array(
'info' =&gt; t('custom_block1 information'),
);
$blocks['custom_block2'] = array(
'info' =&gt; t('custom_block2 information'),
);

return $blocks;
// in this case assign the content for the listed block
case 'view':
switch ($delta) {
case 'custom_block1':
// assign the value for the custom blocak one.
$block = array(
'subject' =&gt; t('Title of custom block1'),
'content' =&gt; &quot;content of custom_block one&quot; ,
);
break;
case 'custom_block2':
// assign the value for the custom blocak two.
$block = array(
'subject' =&gt; t('Title of custom block2'),
'content' =&gt; &quot;content of custom_block two&quot; ,
);
break;
}
// all the value of the block passed in this variable $block
return $block;
}

}
</pre></p>
<p>Make the both files in custom folder as past the module in /sites/all/modules/custom. Install the custom module, now the two custom block created in block like</p>
<p><a href="http://gowithfoss.files.wordpress.com/2011/12/blocks-ubercart-e-shop_1322644424466.png"><img class="aligncenter size-full wp-image-455" title="Blocks | Ubercart E-shop_1322644424466" src="http://gowithfoss.files.wordpress.com/2011/12/blocks-ubercart-e-shop_1322644424466.png?w=497&#038;h=69" alt="" width="497" height="69" /></a>Now assign the blocks to region required region. i assigned the blocks to right slider bar it shows block content like</p>
<p><a href="http://gowithfoss.files.wordpress.com/2011/12/blocks-ubercart-e-shop_1322644615192.png"><img class="aligncenter size-full wp-image-456" title="Blocks | Ubercart E-shop_1322644615192" src="http://gowithfoss.files.wordpress.com/2011/12/blocks-ubercart-e-shop_1322644615192.png?w=497" alt=""   /></a>Thanks..</p>
<p>shan</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gowithfoss.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gowithfoss.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gowithfoss.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gowithfoss.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gowithfoss.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gowithfoss.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gowithfoss.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gowithfoss.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gowithfoss.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gowithfoss.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gowithfoss.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gowithfoss.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gowithfoss.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gowithfoss.wordpress.com/454/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gowithfoss.wordpress.com&amp;blog=12992075&amp;post=454&amp;subd=gowithfoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gowithfoss.wordpress.com/2011/10/04/create-a-custom-blocks-in-drupal6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4452dc9886455702e9dd27c36ce7e2d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanmugasundaram</media:title>
		</media:content>

		<media:content url="http://gowithfoss.files.wordpress.com/2011/12/blocks-ubercart-e-shop_1322644424466.png" medium="image">
			<media:title type="html">Blocks &#124; Ubercart E-shop_1322644424466</media:title>
		</media:content>

		<media:content url="http://gowithfoss.files.wordpress.com/2011/12/blocks-ubercart-e-shop_1322644615192.png" medium="image">
			<media:title type="html">Blocks &#124; Ubercart E-shop_1322644615192</media:title>
		</media:content>
	</item>
		<item>
		<title>Create a Custom Region in Drupal6</title>
		<link>http://gowithfoss.wordpress.com/2011/09/01/create-a-custom-region-in-drupal6/</link>
		<comments>http://gowithfoss.wordpress.com/2011/09/01/create-a-custom-region-in-drupal6/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 10:24:26 +0000</pubDate>
		<dc:creator>sanmugasundaram</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://gowithfoss.wordpress.com/?p=445</guid>
		<description><![CDATA[hi, i created a custom region in drupal6. i used the Zen based Airyblue Theme. Default available region in this theme included in themename.info file. If is not available in this file, you first include the available region. i add the new custom region in themename.info file name as &#8220;header-right&#8221; like below now the new region [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gowithfoss.wordpress.com&amp;blog=12992075&amp;post=445&amp;subd=gowithfoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>hi,</p>
<p>i created a custom region in drupal6. i used the <strong>Zen</strong> based <strong>Airyblue</strong> Theme.</p>
<p>Default available region in this theme included in <strong>themename.info</strong> file. If is not available in this file, you first include the available region.</p>
<p><pre class="brush: php;">

regions[sidebar_first]  = first sidebar
regions[sidebar_second] = second sidebar
regions[navbar]         = navigation bar
regions[content_top]    = content top
regions[content_bottom] = content bottom
regions[footer]         = footer
regions[closure_region] = closure

</pre></p>
<p>i add the new custom region in <strong>themename.info</strong> file name as &#8220;<strong>header-right</strong>&#8221; like below</p>
<p><pre class="brush: php;">

regions[sidebar_first]  = first sidebar
regions[sidebar_second] = second sidebar
regions[navbar]         = navigation bar
regions[content_top]    = content top
regions[content_bottom] = content bottom
regions[footer]         = footer
regions[closure_region] = closure
regions[header_right] = header-right

</pre></p>
<p>now the new region display in block. Then where you want the new custom region to appear in your page, included in <strong>page.tpl.php</strong>. i include the block below the header.</p>
<p><pre class="brush: php;">

&lt;?php if ($header_right): ?&gt;
&lt;div id=&quot;header-right&quot;&gt;&lt;div id=&quot;header-right-inner&quot;&gt;
&lt;?php print $header_right; ?&gt;
&lt;/div&gt;&lt;/div&gt; &lt;!-- /#header-right-inner, /#header-right --&gt;
&lt;?php endif; ?&gt;

</pre></p>
<p>Write the css for this</p>
<p><pre class="brush: php;">
#header-right
{
float: right; /* LTR */
width: 120px;
margin-top: -87px;
margin-left: 0; /* LTR */
padding: 0; /* DO NOT CHANGE. Add padding or margin to #header-right-inner. */

}

#header-right-inner
{
margin: 0 18px 0 0; /* LTR */
padding: 0;

}
</pre></p>
<p>Now the new region displayed in the top right corner like,</p>
<p><a href="http://gowithfoss.files.wordpress.com/2011/12/blocks-ubercart-e-shop_1322644077161.png"><img class="aligncenter size-full wp-image-446" title="Blocks | Ubercart E-shop_1322644077161" src="http://gowithfoss.files.wordpress.com/2011/12/blocks-ubercart-e-shop_1322644077161.png?w=497" alt=""   /></a></p>
<p>now assign the block for this region. It will show like</p>
<p><a href="http://gowithfoss.files.wordpress.com/2011/12/blocks-ubercart-e-shop_1322644339197.png"><img class="aligncenter size-full wp-image-449" title="Blocks | Ubercart E-shop_1322644339197" src="http://gowithfoss.files.wordpress.com/2011/12/blocks-ubercart-e-shop_1322644339197.png?w=497" alt=""   /></a>thanks,</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gowithfoss.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gowithfoss.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gowithfoss.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gowithfoss.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gowithfoss.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gowithfoss.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gowithfoss.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gowithfoss.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gowithfoss.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gowithfoss.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gowithfoss.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gowithfoss.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gowithfoss.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gowithfoss.wordpress.com/445/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gowithfoss.wordpress.com&amp;blog=12992075&amp;post=445&amp;subd=gowithfoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gowithfoss.wordpress.com/2011/09/01/create-a-custom-region-in-drupal6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4452dc9886455702e9dd27c36ce7e2d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanmugasundaram</media:title>
		</media:content>

		<media:content url="http://gowithfoss.files.wordpress.com/2011/12/blocks-ubercart-e-shop_1322644077161.png" medium="image">
			<media:title type="html">Blocks &#124; Ubercart E-shop_1322644077161</media:title>
		</media:content>

		<media:content url="http://gowithfoss.files.wordpress.com/2011/12/blocks-ubercart-e-shop_1322644339197.png" medium="image">
			<media:title type="html">Blocks &#124; Ubercart E-shop_1322644339197</media:title>
		</media:content>
	</item>
		<item>
		<title>Simple News and events in drupal block</title>
		<link>http://gowithfoss.wordpress.com/2011/08/08/simple-news-and-events-in-drupal-block/</link>
		<comments>http://gowithfoss.wordpress.com/2011/08/08/simple-news-and-events-in-drupal-block/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 16:53:43 +0000</pubDate>
		<dc:creator>sanmugasundaram</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://gowithfoss.wordpress.com/2011/11/20/simple-news-and-events-in-drupal-block/</guid>
		<description><![CDATA[hi, This is the php code for create a simple news and event in page or block in drupal. First create a content type name as &#8220;News&#8221;. Then create a pages in news content type. Now we want to get the news content type title (News event title) from the database,And display as block or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gowithfoss.wordpress.com&amp;blog=12992075&amp;post=437&amp;subd=gowithfoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>hi,</p>
<p>This is the php code for create a simple news and event in page or block in drupal.</p>
<p><pre class="brush: php;">
&lt;marquee direction=&quot;up&quot; width=&quot;20%&quot; height=&quot;30%&quot; onmouseover=&quot;this.setAttribute('scrollamount', 0, 0);&quot; onmouseout=&quot;this.setAttribute('scrollamount', 6, 0);&quot;&gt;
&lt;?php
global $base_path;
$res = db_query('SELECT title,nid FROM node WHERE type=&quot;image_gallery&quot; ORDER BY nid  DESC LIMIT 0 , 6');
$count=0;
$img=&quot;&lt;img src='http://cdachyd.in/new_icons_10.gif'/&gt;&quot;;
while ($row = db_fetch_array($res)) {
$count++;
if($count&gt;3){ $img=&quot;&quot;;}
echo &quot;&lt;a href='?q=node/&quot;.$row['nid'].&quot;'&gt;&quot;.$row['title'].$img.&quot;&lt;/a&gt;&quot;.&quot;&lt;br&gt;&quot;;

}
?&gt;
&lt;/marquee&gt;

</pre></p>
<p>First create a content type name as &#8220;News&#8221;. Then create a pages in news content type. Now we want to get the news content type title (News event title) from the database,And display as block or page. Enable the &#8220;Phpfilter&#8221; module, now we can see new input format, in a page or new block past the code and choose the input format as php. Now it will show as,</p>
<p><a href="http://gowithfoss.files.wordpress.com/2011/11/screenshot.png"><img class="aligncenter size-full wp-image-439" title="Screenshot" src="http://gowithfoss.files.wordpress.com/2011/11/screenshot.png?w=497" alt=""   /></a></p>
<p>நன்றி &#8230;</p>
<p>சண்முகசுந்தரம்.க</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gowithfoss.wordpress.com/437/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gowithfoss.wordpress.com/437/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gowithfoss.wordpress.com/437/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gowithfoss.wordpress.com/437/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gowithfoss.wordpress.com/437/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gowithfoss.wordpress.com/437/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gowithfoss.wordpress.com/437/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gowithfoss.wordpress.com/437/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gowithfoss.wordpress.com/437/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gowithfoss.wordpress.com/437/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gowithfoss.wordpress.com/437/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gowithfoss.wordpress.com/437/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gowithfoss.wordpress.com/437/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gowithfoss.wordpress.com/437/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gowithfoss.wordpress.com&amp;blog=12992075&amp;post=437&amp;subd=gowithfoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gowithfoss.wordpress.com/2011/08/08/simple-news-and-events-in-drupal-block/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4452dc9886455702e9dd27c36ce7e2d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanmugasundaram</media:title>
		</media:content>

		<media:content url="http://gowithfoss.files.wordpress.com/2011/11/screenshot.png" medium="image">
			<media:title type="html">Screenshot</media:title>
		</media:content>
	</item>
		<item>
		<title>Start to learn Drupal</title>
		<link>http://gowithfoss.wordpress.com/2011/07/12/create-a-page-in-drupal-7/</link>
		<comments>http://gowithfoss.wordpress.com/2011/07/12/create-a-page-in-drupal-7/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 18:23:40 +0000</pubDate>
		<dc:creator>sanmugasundaram</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://gowithfoss.wordpress.com/?p=382</guid>
		<description><![CDATA[hi, today i simply start to learn  Drupal. i download Drupal-6 from drupal site http://drupal.org/download. Then followed the necessary steps to install the Drupal  in my laptop. i hope, i will create a good  site soon&#8230;..<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gowithfoss.wordpress.com&amp;blog=12992075&amp;post=382&amp;subd=gowithfoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>hi,</p>
<p>today i simply start to learn  Drupal. i download Drupal-6 from drupal site <a href="http://drupal.org/download">http://drupal.org/download</a>.</p>
<p>Then followed the necessary steps to install the Drupal  in my laptop.</p>
<p>i hope, i will create a good  site soon&#8230;..</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gowithfoss.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gowithfoss.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gowithfoss.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gowithfoss.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gowithfoss.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gowithfoss.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gowithfoss.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gowithfoss.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gowithfoss.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gowithfoss.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gowithfoss.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gowithfoss.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gowithfoss.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gowithfoss.wordpress.com/382/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gowithfoss.wordpress.com&amp;blog=12992075&amp;post=382&amp;subd=gowithfoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gowithfoss.wordpress.com/2011/07/12/create-a-page-in-drupal-7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4452dc9886455702e9dd27c36ce7e2d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanmugasundaram</media:title>
		</media:content>
	</item>
		<item>
		<title>i completed MCA!!</title>
		<link>http://gowithfoss.wordpress.com/2011/06/25/i-completed-mca/</link>
		<comments>http://gowithfoss.wordpress.com/2011/06/25/i-completed-mca/#comments</comments>
		<pubDate>Sat, 25 Jun 2011 18:28:35 +0000</pubDate>
		<dc:creator>sanmugasundaram</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://gowithfoss.wordpress.com/?p=388</guid>
		<description><![CDATA[hi, i have completed my MCA Degree.. i enjoyed and learned lot of things in my college life. i do not know how college life moved. i miss my college life&#8230;.. i miss my college friends&#8230;.. !!!!!!!!!!!!!!!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gowithfoss.wordpress.com&amp;blog=12992075&amp;post=388&amp;subd=gowithfoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>hi,</p>
<p>i have completed my MCA Degree..</p>
<p><a href="http://gowithfoss.files.wordpress.com/2011/07/cap.jpg"><img class="aligncenter size-medium wp-image-390" title="cap" src="http://gowithfoss.files.wordpress.com/2011/07/cap.jpg?w=300&#038;h=219" alt="" width="300" height="219" /></a>i enjoyed and learned lot of things in my college life. i do not know how college life moved.</p>
<p>i miss my college life&#8230;..</p>
<p>i miss my college friends&#8230;..</p>
<p><a href="http://gowithfoss.files.wordpress.com/2011/07/college-friends-1.gif"><img class="aligncenter size-full wp-image-391" title="college-friends-1" src="http://gowithfoss.files.wordpress.com/2011/07/college-friends-1.gif?w=497" alt=""   /></a></p>
<p>!!!!!!!!!!!!!!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gowithfoss.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gowithfoss.wordpress.com/388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gowithfoss.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gowithfoss.wordpress.com/388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gowithfoss.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gowithfoss.wordpress.com/388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gowithfoss.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gowithfoss.wordpress.com/388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gowithfoss.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gowithfoss.wordpress.com/388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gowithfoss.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gowithfoss.wordpress.com/388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gowithfoss.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gowithfoss.wordpress.com/388/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gowithfoss.wordpress.com&amp;blog=12992075&amp;post=388&amp;subd=gowithfoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gowithfoss.wordpress.com/2011/06/25/i-completed-mca/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4452dc9886455702e9dd27c36ce7e2d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanmugasundaram</media:title>
		</media:content>

		<media:content url="http://gowithfoss.files.wordpress.com/2011/07/cap.jpg?w=300" medium="image">
			<media:title type="html">cap</media:title>
		</media:content>

		<media:content url="http://gowithfoss.files.wordpress.com/2011/07/college-friends-1.gif" medium="image">
			<media:title type="html">college-friends-1</media:title>
		</media:content>
	</item>
		<item>
		<title>Error while installing nokogiri gem</title>
		<link>http://gowithfoss.wordpress.com/2011/06/10/error-while-installing-nokogiri-gem/</link>
		<comments>http://gowithfoss.wordpress.com/2011/06/10/error-while-installing-nokogiri-gem/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 03:19:26 +0000</pubDate>
		<dc:creator>sanmugasundaram</dc:creator>
				<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://gowithfoss.wordpress.com/?p=368</guid>
		<description><![CDATA[I try to install nokogiri gem in rails3, i faced following error nokogiri requires two libraries as libxslt-dev,libxml2-dev sudo apt-get install libxslt-dev libxml2-dev Then install nokogiri, sudo gem install nokogiri now its installed fine. to know more visit here, http://nokogiri.org/tutorials/installing_nokogiri.html thanks&#8230; &#160; &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gowithfoss.wordpress.com&amp;blog=12992075&amp;post=368&amp;subd=gowithfoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I try to install nokogiri gem in rails3, i faced following error</p>
<p><a href="http://gowithfoss.files.wordpress.com/2011/06/screenshot.png"><img class="aligncenter size-full wp-image-369" title="Screenshot" src="http://gowithfoss.files.wordpress.com/2011/06/screenshot.png?w=497" alt=""   /></a></p>
<p>nokogiri requires <code>two libraries as libxslt-dev,libxml2-dev</code><code></code></p>
<p><code>sudo apt-get install libxslt-dev libxml2-dev</code></p>
<p>Then install nokogiri,<code></code></p>
<p><code>sudo gem install nokogiri</code></p>
<p>now its installed fine. to know more visit here,</p>
<p><a href="http://nokogiri.org/tutorials/installing_nokogiri.html">http://nokogiri.org/tutorials/installing_nokogiri.html</a></p>
<p>thanks&#8230;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gowithfoss.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gowithfoss.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gowithfoss.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gowithfoss.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gowithfoss.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gowithfoss.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gowithfoss.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gowithfoss.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gowithfoss.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gowithfoss.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gowithfoss.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gowithfoss.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gowithfoss.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gowithfoss.wordpress.com/368/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gowithfoss.wordpress.com&amp;blog=12992075&amp;post=368&amp;subd=gowithfoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gowithfoss.wordpress.com/2011/06/10/error-while-installing-nokogiri-gem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4452dc9886455702e9dd27c36ce7e2d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanmugasundaram</media:title>
		</media:content>

		<media:content url="http://gowithfoss.files.wordpress.com/2011/06/screenshot.png" medium="image">
			<media:title type="html">Screenshot</media:title>
		</media:content>
	</item>
		<item>
		<title>Destroy not working in rails</title>
		<link>http://gowithfoss.wordpress.com/2011/04/02/destroy-not-working-in-rails/</link>
		<comments>http://gowithfoss.wordpress.com/2011/04/02/destroy-not-working-in-rails/#comments</comments>
		<pubDate>Sat, 02 Apr 2011 05:03:08 +0000</pubDate>
		<dc:creator>sanmugasundaram</dc:creator>
				<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://gowithfoss.wordpress.com/?p=363</guid>
		<description><![CDATA[in my rails application i changed my JavaScript connection in my application.html.erb before i include my new jquery file like now in my application destroy function not working while i click destroy button it goes to edit page. then some struggle i got the inner JavaScript function need default JavaScript file such as jquery.js and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gowithfoss.wordpress.com&amp;blog=12992075&amp;post=363&amp;subd=gowithfoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>in my rails application i changed my JavaScript connection in my application.html.erb</p>
<p>before</p>
<p><pre class="brush: ruby;">

&lt;%= javascript_include_tag :default %&gt;

</pre></p>
<p>i include my new jquery file like</p>
<p><pre class="brush: ruby;">

&lt;%= javascript_include_tag 'jquery.mobile-1.0a1.min' %&gt;

</pre></p>
<p>now in my application destroy function not working while i click destroy button it goes to edit page.</p>
<p>then some struggle i got the inner JavaScript function need default JavaScript file such as jquery.js and rails.js .</p>
<p>just include the both file in application.html.erb file like</p>
<p><pre class="brush: ruby;">

&lt;%= javascript_include_tag 'jquery.mobile-1.0a1.min','jquery','rails' %&gt;

</pre></p>
<p>now its works successfully..</p>
<p>thanks&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gowithfoss.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gowithfoss.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gowithfoss.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gowithfoss.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gowithfoss.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gowithfoss.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gowithfoss.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gowithfoss.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gowithfoss.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gowithfoss.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gowithfoss.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gowithfoss.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gowithfoss.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gowithfoss.wordpress.com/363/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gowithfoss.wordpress.com&amp;blog=12992075&amp;post=363&amp;subd=gowithfoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gowithfoss.wordpress.com/2011/04/02/destroy-not-working-in-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4452dc9886455702e9dd27c36ce7e2d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanmugasundaram</media:title>
		</media:content>
	</item>
	</channel>
</rss>
