<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cell Designs &#124; Creative Portfolio of Marcell Purham</title>
	<atom:link href="http://cell-designs.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cell-designs.com</link>
	<description></description>
	<lastBuildDate>Thu, 29 Dec 2011 08:03:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to Install image magick on mac os x for rails 3</title>
		<link>http://cell-designs.com/blog/how-to-install-image-magick-on-mac-os-x-for-rails-3/</link>
		<comments>http://cell-designs.com/blog/how-to-install-image-magick-on-mac-os-x-for-rails-3/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 15:35:02 +0000</pubDate>
		<dc:creator>Marcell</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[How to Install image magick on mac os x for rails 3]]></category>
		<category><![CDATA[how to install images on rails 3]]></category>
		<category><![CDATA[paperclip tutorial]]></category>
		<category><![CDATA[rails 3]]></category>
		<category><![CDATA[rmagick tutorial]]></category>
		<category><![CDATA[ror]]></category>
		<category><![CDATA[ror developer]]></category>
		<category><![CDATA[web developer]]></category>

		<guid isPermaLink="false">http://cell-designs.com/?p=686</guid>
		<description><![CDATA[I love coding but sometimes it just gets frustrating when you&#8217;re stuck on something particular for hours. In my case I were trying to add file uploads to my web app using paperclip and as soon as I were ready &#8230; <a href="http://cell-designs.com/blog/how-to-install-image-magick-on-mac-os-x-for-rails-3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I love coding but sometimes it just gets frustrating when you&#8217;re stuck on something particular for hours. In my case I were trying to add file uploads to my web app using paperclip and as soon as I were ready to upload an image rails returned an error saying I must install imagemagick. In today&#8217;s post I am going to share with you all how I have gotten this to work and hopefully this saves you hours of trying to find the right solution. </p>
<h2>Install gem</h2>
<p>First things first, open your gemfile located in your rails root directory then add the following to your gemfile. Though this tutorial is fairly new I recommend checking the latest version to see where rmagick is currently at.</p>
<pre>
gem 'rmagick', '2.13.1'
</pre>
<h2>Install Homebrew</h2>
<p>When getting your mac you notice mac&#8217;s come without tons of programs which means you have to install them manually. After you have added rgmagick to your gemfile go to homebrew homepage.</p>
<p>Open your terminal and add the following code:</p>
<pre>
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
</pre>
<p>After running the above command run this command. Should start installing imagmagick this take a bit of time.</p>
<pre>
brew install imagemagick
</pre>
<h2>Permission issues</h2>
<p>If you get an error in rails saying </p>
<pre>
Errno::EACCES: Permission denied - /Users/path
An error occured while installing rmagick (2.13.1), and Bundler cannot continue.
Make sure that `gem install rmagick -v '2.13.1'` succeeds before bundling.
</pre>
<p>Go to the path where rmagick is(gems folder) and pull the folder to your desktop then create a new folder with the same name and finally copy the content from the first folder to your newly created folder. After you have successfully done so you should now have full permission. Finally go into your terminal and run <strong>bundle install</strong> command and everything should work from there. Happy coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://cell-designs.com/blog/how-to-install-image-magick-on-mac-os-x-for-rails-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to tidy up your css(3) stylesheet without losing properties</title>
		<link>http://cell-designs.com/blog/how-to-tidy-up-your-css3-stylesheet-without-losing-properties/</link>
		<comments>http://cell-designs.com/blog/how-to-tidy-up-your-css3-stylesheet-without-losing-properties/#comments</comments>
		<pubDate>Mon, 05 Sep 2011 01:01:14 +0000</pubDate>
		<dc:creator>Marcell</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[clean ccs]]></category>
		<category><![CDATA[clean css code]]></category>
		<category><![CDATA[clean css tidy]]></category>
		<category><![CDATA[css tidy css3]]></category>
		<category><![CDATA[css tidy mac]]></category>
		<category><![CDATA[css tidy online]]></category>
		<category><![CDATA[css tidy tool]]></category>
		<category><![CDATA[css tidy up]]></category>
		<category><![CDATA[css3 tidy solution]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[tidy css]]></category>
		<category><![CDATA[tidy css3]]></category>

		<guid isPermaLink="false">http://cell-designs.com/?p=521</guid>
		<description><![CDATA[My story As as front end developer I tend to write an abundant amount of HTML and even more css. When I used to write code as a young developer I tend to put all of my styling properties anywhere &#8230; <a href="http://cell-designs.com/blog/how-to-tidy-up-your-css3-stylesheet-without-losing-properties/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>My story</h2>
<p>As as front end developer I tend to write an abundant amount of HTML and even more css. When I used to write code as a young developer I tend to put all of my styling properties anywhere and did not have a style for my css stylesheet. If you&#8217;re wondering what I mean by that I am referring to my sloppy code writing in css. Since my css code was not well organized I used css tidy software&#8217;s to tidy my css code and boom there it was, nice clean code. As time evolved I started getting into css3. After working with css3 for 1.5 years I loved it and it was amazing. As usual I would have sloppy css code just because I am lazy sometimes when writing it and do not feel like having everything neat. So what do I do? I return to my good old pal css tidy. I insert my code into the css tider and what do you know. It does not recognize some of my css3 syntax. I&#8217;m sure you have had prior experience with something like this. So there I was stuck, thinking to myself what can I do? I did not want to go through over 2000 lines of css code and re-arrange it all.  </p>
<h2>The Solution</h2>
<p>If you&#8217;re reading this line first you probably could care less about what I have to say and would like to just get to the solution. Nothing wrong with that <img src='http://cell-designs.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> !</p>
<p>So if you&#8217;re a web developer you often used a tool called <a href="http://getfirebug.com/" title="Firebug" target="_blank">firebug</a>. If you&#8217;re are not familiar with firebug it is a debugging tool that saves you a ton of time when developing websites since you can real time edit and it is just a cool plugin all around.   </p>
<p>So once you have <a href="http://getfirebug.com/" title="Firebug" target="_blank">firebug</a> installed right click>>Inspect element then select the css tabs. Now you will see your css in a neat and nicely formatted way.<br />
<a href="/wp-content/uploads/2011/07/final.jpg" target="_blank"><img src="/wp-content/uploads/2011/07/small.jpg"/></a></p>
<p>So the next time you&#8217;re writing css and you have sloppy or messy code just open up firebug and re-copy your css. Also the benefit of doing it this way is if you&#8217;re using css3 it will not remove your web properties so that is awesome. The downfall is it adds things like scroll to your code but you could remove that with ease. If this method helps let me know by leaving a comment below. </p>
]]></content:encoded>
			<wfw:commentRss>http://cell-designs.com/blog/how-to-tidy-up-your-css3-stylesheet-without-losing-properties/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0: How to add description text to menu navigation</title>
		<link>http://cell-designs.com/blog/wordpress-3-0-how-to-add-description-text-to-menu-navigation/</link>
		<comments>http://cell-designs.com/blog/wordpress-3-0-how-to-add-description-text-to-menu-navigation/#comments</comments>
		<pubDate>Mon, 05 Sep 2011 00:45:48 +0000</pubDate>
		<dc:creator>Marcell</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[menu navigation tutorial]]></category>
		<category><![CDATA[two tier menu nav]]></category>
		<category><![CDATA[walker_nav_menu]]></category>
		<category><![CDATA[wordpress description text tutorial]]></category>
		<category><![CDATA[wordpress walker_nav_menu]]></category>

		<guid isPermaLink="false">http://cell-designs.com/?p=512</guid>
		<description><![CDATA[The other day I were working on a website for a client and he wanted to have the ability to add a description to his menu items. In other words have a menu navigation with text under it. At first &#8230; <a href="http://cell-designs.com/blog/wordpress-3-0-how-to-add-description-text-to-menu-navigation/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The other day I were working on a website for a client and he wanted to have the ability to add a description to his menu items. In other words have a menu navigation with text under it. At first I was not sure how to approach this then I did a little research and found multiple solutions.</p>
<h2>First Solution</h2>
<p>If you&#8217;ve evered worked with wordpress you probably <del datetime="2011-07-22T16:20:08+00:00">have</del> not worked with the walker el function. The walker el function for WordPress allows you to use a description text or alt text for your WordPress menu items.</p>
<p>For the code below you can copy and paste it into your functions.php file. You can change the class nav-description to what ever you would like.</p>
<pre class="brush:php">add_filter('walker_nav_menu_start_el', 'bg_description_in_nav_with_qtranslate', 10, 4);
function bg_description_in_nav_with_qtranslate($item_output, $item, $depth, $args){
$desc = __($item-&gt;post_content); return preg_replace('/(&lt;a.*?&gt;[^&lt;]*?)&lt;/', '$1' . "&lt;span class="nav-description"&gt;{$desc}&lt;/span&gt;&lt;", $item_output);
}</pre>
<h2>Second Solution</h2>
<p>The second solution is a bit more but you have more customization over your menu nav(That is if you&#8217;re looking for more options).</p>
<p>Copy and paste the code below into your functions.php file. If you do not know what you&#8217;re doing do not tamper with the code below or else it can cause errors.</p>
<pre class="brush:php">class My_Walker extends Walker_Nav_Menu
{
	function start_el(&amp;$output, $item, $depth, $args) {
		global $wp_query;
		$indent = ( $depth ) ? str_repeat( "t", $depth ) : '';

		$class_names = $value = '';

		$classes = empty( $item-&gt;classes ) ? array() : (array) $item-&gt;classes;

		$class_names = join( ' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item ) );
		$class_names = ' class="' . esc_attr( $class_names ) . '"';

		$output .= $indent . '&lt;li id="menu-item-'. $item-&gt;ID . '"' . $value . $class_names .'&gt;';

		$attributes  = ! empty( $item-&gt;attr_title ) ? ' title="'  . esc_attr( $item-&gt;attr_title ) .'"' : '';
		$attributes .= ! empty( $item-&gt;target )     ? ' target="' . esc_attr( $item-&gt;target     ) .'"' : '';
		$attributes .= ! empty( $item-&gt;xfn )        ? ' rel="'    . esc_attr( $item-&gt;xfn        ) .'"' : '';
		$attributes .= ! empty( $item-&gt;url )        ? ' href="'   . esc_attr( $item-&gt;url        ) .'"' : '';

		$item_output = $args-&gt;before;
		$item_output .= '&lt;a'. $attributes .'&gt;';
		$item_output .= $args-&gt;link_before . apply_filters( 'the_title', $item-&gt;title, $item-&gt;ID ) . $args-&gt;link_after;
		$item_output .= '&lt;br /&gt;&lt;span class="sub"&gt;' . $item-&gt;description . '&lt;/span&gt;';
		$item_output .= '&lt;/a&gt;';
		$item_output .= $args-&gt;after;

		$output .= apply_filters( 'walker_nav_menu_start_el', $item_output, $item, $depth, $args );
	}
}</pre>
<p>Now that you have the function in your functions.php file you now have to call it via your header.php file. Copy and paste the code below into your header.php file.</p>
<pre class="brush:php">
     $walker = new My_Walker;
	wp_nav_menu(array(
	        'echo' =&gt; true,
		'container' =&gt; '',
		'theme_location' =&gt; 'primary',
		'menu_class' =&gt; 'grid-10 omega',
		'walker' =&gt; $walker
	));
</pre>
<h2>Conclusion</h2>
<p>If you were looking into adding text under your menu navigation then the above code should work for you. As for styling you will have style it yourself but that shouldn&#8217;t be very hard. If you&#8217;re haveing trouble check out this <strong>tutorial:</strong> <a href="http://www.webdevtuts.net/coding/css/create-a-speaking-block-navigation-menu-using-pure-css/" title="Create A Speaking Block Navigation Menu Using Pure Css" target="_blank">Create A Speaking Block Navigation Menu Using Pure Css</a> , it will help you create a two tier menu navigation. I hope this has helped you and saved you a ton of time from looking into the wordpress codex. </p>
]]></content:encoded>
			<wfw:commentRss>http://cell-designs.com/blog/wordpress-3-0-how-to-add-description-text-to-menu-navigation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Social Media Club Chicago: Entrepreneurpalooza! with Carol Roth &amp; Barry Moltz</title>
		<link>http://cell-designs.com/blog/social-media-club-chicago-entrepreneurpalooza-with-carol-roth-barry-moltz/</link>
		<comments>http://cell-designs.com/blog/social-media-club-chicago-entrepreneurpalooza-with-carol-roth-barry-moltz/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 00:17:19 +0000</pubDate>
		<dc:creator>Marcell</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Chicago events]]></category>
		<category><![CDATA[Chicago web designer]]></category>
		<category><![CDATA[Chicago web developer]]></category>
		<category><![CDATA[SMC Chicago]]></category>

		<guid isPermaLink="false">http://cell-designs.com/?p=504</guid>
		<description><![CDATA[The Event First off I like to say the event location was phenomenal! It was located at the Willis Tower in Chicago IL. When arriving to the event I and a friend were looking around, checking out the views and &#8230; <a href="http://cell-designs.com/blog/social-media-club-chicago-entrepreneurpalooza-with-carol-roth-barry-moltz/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>The Event</h2>
<p>First off I like to say the event location was phenomenal! It was located at the Willis Tower in Chicago IL. When arriving to the event I and a friend were looking around, checking out the views and greeting people. The people there were very friendly and had great advice.</p>
<h2>Carol Roth</h2>
<p><img class="alignright" title="Carol Roth" src="http://theentrepreneurequation.com/images/carol_about2.jpg" alt="SMC Chicago" width="146" height="152" />Carol Roth was one of the event speakers that I was looking forward to hearing. She has a tremendous story and stated that she has raised over 1BILLION dollars and capital funds for companies ranging from small size businesses to corporate businesses.</p>
<h4>My Thoughts</h4>
<p>Listening to Carol speak was great and I love her story but I felt as if she was holding back on the good information, which I do not blame because she has probably told us about it in her new book. As an individual who is looking to become a business owner, I expected to learn how to run or build my business from ground zero and not halfway there. Carol benefits a lot of business owners who are already successful or already running a business partially successful IMO. She was still great and a great speaker.</p>
<h2>Barry Moltz</h2>
<p><img class="alignleft" title="Barry Moltz" src="http://assets.bizjournals.com/washington/blog/2010/08/barryMoltz*280.jpg?v=1" alt="SMC Chicago" width="188" height="124" />Barry Moltz was a guy I knew just a tad bit about. I knew he was an entrepreneur and a successful business owner who has failed and succeeded with his business. With over 15 years of experience with business’s Barry is ready to speak to people and tell them how he has made it through a recession and his experience going through it all.</p>
<h4>My Thoughts</h4>
<p>Barry was a great speaker. Unlike many successful entrepreneurs, he had a sense of humor. Throughout Barry’s speech he talked about how to run a business of your own and things you should consider when running a business. He was a great speaker and was a great person to listen to.</p>
<h2>Barbara Rozgonyi</h2>
<p>Barbara is the founder of Social Media Club (SMC) and it is always a blast when I go to an event of hers (I’ve been to 2). She is a great speaker herself and has a lot to speak on whether it’s getting a job via linkedin or tackling social media websites. Usually I would feel uncomfortable at events like such but not at hers considering the community is very friendly. To keep up with Barbara check out here news feed via twitter <a href="http://twitter.com/wiredprworks">@wiredprworks</a>.</p>
<p>It was a great day I and my friend and I am pretty positive everyone who attended had a great time. I look forward to many more SMC meet ups and future gatherings. To see photos from the event check out the <a href="http://www.flickr.com/groups/smcchicago/" target="_blank">SMC Chicago Flickr Photo’s</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cell-designs.com/blog/social-media-club-chicago-entrepreneurpalooza-with-carol-roth-barry-moltz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

