<?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>Symetrik Domino Consulting</title>
	<atom:link href="http://domino.symetrikdesign.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://domino.symetrikdesign.com</link>
	<description>Lotus Notes / Domino Consultant</description>
	<lastBuildDate>Thu, 18 Aug 2011 05:42:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Increasing the number of posts per page on category, tag, and archive pages in WordPress</title>
		<link>http://domino.symetrikdesign.com/2011/08/18/increasing-the-number-of-posts-per-page-on-category-tag-and-archive-pages-in-wordpress/</link>
		<comments>http://domino.symetrikdesign.com/2011/08/18/increasing-the-number-of-posts-per-page-on-category-tag-and-archive-pages-in-wordpress/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 05:38:36 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Theming]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://domino.symetrikdesign.com/?p=694</guid>
		<description><![CDATA[In WordPress, you can set the number of pages to display per page in the Administration settings. This is set in Admin/Settings/Reading. The issue with this is that this is a global setting. If you would like to set a different number of posts to display on the front page than on the category page, [...]]]></description>
				<content:encoded><![CDATA[<p>In WordPress, you can set the number of pages to display per page in the Administration settings.  This is set in Admin/Settings/Reading.</p>
<p>The issue with this is that this is a global setting.  If you would like to set a different number of posts to display on the front page than on the category page, you can do it by adding this code to functions.php in your theme.</p>
<p>The following code displays 20 posts per page on all pages that are not the front page (index).  This includes search results, categories, tag pages, archives, and author listings.</p>
<pre class="brush: php; title: ; notranslate">
function change_number_of_posts($query) {
	if ( ! is_front_page()) // Make sure it is not the front page
	$query-&gt;query_vars['posts_per_page'] = 20; // Change 20 to the number of posts you would like to show
	return $query; // Return our modified query variables
}
add_filter('pre_get_posts', 'change_number_of_posts'); // Hook our custom function onto the request filter
</pre>
<p>You can change this only for category pages for example with this code.</p>
<pre class="brush: php; title: ; notranslate">
function change_number_of_posts($query) {
	if ( $query-&gt;is_category ) // Make sure it is a category page
	$query-&gt;query_vars['posts_per_page'] = 20; // Change 20 to the number of posts you would like to show
	return $query; // Return our modified query variables
}
add_filter('pre_get_posts', 'change_number_of_posts'); // Hook our custom function onto the request filter
</pre>
<p>The result is that you can set the global setting in the WordPress admin page to 10 posts, which affects the front page (index).  You can then insert this code into functions.php and all other pages will display 20 posts.</p>
<p>Note:  You do not have to modify your theme other than functions.php for this to work.</p>
]]></content:encoded>
			<wfw:commentRss>http://domino.symetrikdesign.com/2011/08/18/increasing-the-number-of-posts-per-page-on-category-tag-and-archive-pages-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zero day vulnerability in many WordPress themes</title>
		<link>http://domino.symetrikdesign.com/2011/08/04/zero-day-vulnerability-in-many-wordpress-themes/</link>
		<comments>http://domino.symetrikdesign.com/2011/08/04/zero-day-vulnerability-in-many-wordpress-themes/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 16:06:41 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Theming]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://domino.symetrikdesign.com/?p=690</guid>
		<description><![CDATA[Mark Maunder announced a zero day vulnerability in many WordPress themes yesterday here on his blog. If you use any third party WordPress themes, you should check your server for the presence of timthumb.php or thumb.php. It is reported that several theme marketplace websites host common legitimate themes that utilize this library. The fix is [...]]]></description>
				<content:encoded><![CDATA[<p>Mark Maunder announced a zero day vulnerability in many WordPress themes yesterday <a href="http://markmaunder.com/2011/zero-day-vulnerability-in-many-wordpress-themes/">here</a> on his blog.</p>
<p>If you use any third party WordPress themes, you should check your server for the presence of timthumb.php or thumb.php.  It is reported that several theme marketplace websites host common legitimate themes that utilize this library.</p>
<p>The fix is to remove any allowed sites from the thumb.php or timthumb.php files as recommended below.</p>
<p><strong>BEFORE:</strong></p>
<pre class="brush: php; title: ; notranslate">
$allowedSites = array (
	'flickr.com',
	'picasa.com',
	'blogger.com',
	'wordpress.com',
	'img.youtube.com',
	'upload.wikimedia.org',
	'photobucket.com',
);
</pre>
<p><strong>AFTER:</strong></p>
<pre class="brush: php; title: ; notranslate">
$allowedSites = array ();
</pre>
<p>Please read the full technical details at Mark&#8217;s blog in the link above.</p>
]]></content:encoded>
			<wfw:commentRss>http://domino.symetrikdesign.com/2011/08/04/zero-day-vulnerability-in-many-wordpress-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress XML Sitemap Plugin Review</title>
		<link>http://domino.symetrikdesign.com/2011/08/03/wordpress-xml-sitemap-plugin-review/</link>
		<comments>http://domino.symetrikdesign.com/2011/08/03/wordpress-xml-sitemap-plugin-review/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 23:36:42 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[XML Sitemap]]></category>

		<guid isPermaLink="false">http://domino.symetrikdesign.com/?p=683</guid>
		<description><![CDATA[I have been building quite a few sites with WordPress lately. WordPress has quite a long list of 3rd party plugins developed for various tasks and functions. One downside to this is that there are several redundant WordPress plugins for common tasks, and their plugin search mechanism which is located at http://wordpress.org/extend/plugins/ is somewhat difficult [...]]]></description>
				<content:encoded><![CDATA[<p>I have been building quite a few sites with WordPress lately.  WordPress has quite a long list of 3rd party plugins developed for various tasks and functions.</p>
<p>One downside to this is that there are several redundant WordPress plugins for common tasks, and their plugin search mechanism which is located at <a href="http://wordpress.org/extend/plugins/">http://wordpress.org/extend/plugins/</a> is somewhat difficult to use.</p>
<p>I tend to search for the most installed or popular plugins and use the hive mind&#8217;s collective research to choose which plugin is the best, most robust, and best supported.  Installing the most installed plugin does not always ensure that it is the best plugin, so I tend to test different WordPress plugins from time to time.</p>
<p>Recently, I installed Khang Minh&#8217;s XML Sitemap plugin called <strong>&#8220;Better WordPress Google XML Sitemaps (with sitemapindex and Multi-site support).&#8221;</strong>  This creates a sitemapindex.xml file which references several other sub-sitemaps.  This is the new trend in XML sitemaps because there is a 50,000 entry limit for a single sitemap file.  By splitting the sitemaps into sub-sitemaps, you can broaden the number of items that you can index.</p>
<div align="center">
<a href="http://domino.symetrikdesign.com/wp-content/uploads/2011/08/wordpress_xml_sitemap_plugin.png" rel="lightbox[683]"><img src="http://domino.symetrikdesign.com/wp-content/uploads/2011/08/wordpress_xml_sitemap_plugin-300x166.png" alt="WordPress XML Sitemap Plugin" title="WordPress XML Sitemap Plugin" width="300" height="166" class="alignnone size-medium wp-image-684" /></a></div>
<p>You can get the plugin from the WordPress plugin project page <a href="http://wordpress.org/extend/plugins/bwp-google-xml-sitemaps/">here</a>.  You can also visit Khang Minh&#8217;s website at <a href="http://betterwp.net/">http://betterwp.net/</a> which also showcases his several other WordPress plugins.</p>
<p>I also want to note that I had a problem with the plugin.  The category sitemap wouldn&#8217;t generate.  I posted a bug report to the issue queue, and he contacted me via Skype and did some testing on my WordPress installation.  He found a bug with the code, fixed it, and created a new patch.  The problem was with my database, there were several posts had been deleted, but were still categorized as &#8220;Uncategorized&#8221; which is the default WordPress category for new posts.</p>
<p>This is absolutely the best support I have ever received from a WordPress plugin or Drupal module developer.  I have to say that he was a very nice guy, fixed the problem, and devoted his time to not only resolving my individual issue, but creating a patch to fix the particular scenario for the greater community as a whole.</p>
<p>I have not found any problems with any of the other WordPress XML sitemap plugins, but I will use the Better WordPress Google XML Sitemaps (with sitemapindex and Multi-site support) due to the high level of support that Khang Minh provides.  His plugins seem solid and he has written and maintains several, so he has a high familiarity with the WordPress framework.</p>
<p><strong><br />
Other XML Sitemap Plugins of note are as follows:</strong></p>
<ul>
<li><a href="http://wordpress.org/extend/plugins/google-sitemap-generator/">Google XML Sitemaps</a> &#8211; this is the most popular XML Sitemap plugin, but it creates a single sitemap.xml file.</li>
<li><a href="http://wordpress.org/extend/plugins/seo-ultimate/">Yoast&#8217;s SEO Ultimate</a> also includes an XML sitemap generator, with very few options.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://domino.symetrikdesign.com/2011/08/03/wordpress-xml-sitemap-plugin-review/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to display nicely formatted PHP code in a WordPress post</title>
		<link>http://domino.symetrikdesign.com/2011/07/21/how-to-display-nicely-formatted-php-code-in-a-wordpress-post/</link>
		<comments>http://domino.symetrikdesign.com/2011/07/21/how-to-display-nicely-formatted-php-code-in-a-wordpress-post/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 05:14:36 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Theming]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://domino.symetrikdesign.com/?p=661</guid>
		<description><![CDATA[I&#8217;ve been struggling for a while about how to embed PHP, HTML, or CSS code into WordPress posts so that they look good and are easy to understand. I found this list of 12 WordPress Plugins to Display and Highlight Code. I researched a few of them and finally settled on SyntaxHighlighter Evolved, which was [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been struggling for a while about how to embed PHP, HTML, or CSS code into WordPress posts so that they look good and are easy to understand.</p>
<p>I found this list of <a href="http://speckyboy.com/2009/02/19/12-wordpress-plugins-to-display-and-highlight-code-within-your-blog/">12 WordPress Plugins to Display and Highlight Code</a>.</p>
<p>I researched a few of them and finally settled on <a href="http://wordpress.org/extend/plugins/syntaxhighlighter/">SyntaxHighlighter Evolved</a>, which was simple to install, easy to use with short codes, formats nicely, and seems to have a large existing user base.</p>
<p>In your posts, you can simply use <strong>[php]</strong> and <strong>[/php]</strong> shortcodes around your actual PHP code and it does it&#8217;s trick.  You can review the plugin page for the many various types of languages/syntax that are available.</p>
<p>I will spare your eyes and use this for all embedded code from now on.</p>
]]></content:encoded>
			<wfw:commentRss>http://domino.symetrikdesign.com/2011/07/21/how-to-display-nicely-formatted-php-code-in-a-wordpress-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating Price PHP print statements in Ubercart</title>
		<link>http://domino.symetrikdesign.com/2011/07/19/updating-price-php-print-statements-in-ubercart/</link>
		<comments>http://domino.symetrikdesign.com/2011/07/19/updating-price-php-print-statements-in-ubercart/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 05:06:22 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[Theming]]></category>
		<category><![CDATA[Ubercart]]></category>

		<guid isPermaLink="false">http://domino.symetrikdesign.com/?p=649</guid>
		<description><![CDATA[Recently, I updated an Ubercart shopping cart system on Drupal that was very out of date. After the upgrade, the list price on the product pages had too many zeros. It looked like this. MSRP $ 49.99000 After a bit of research, I learned that Ubercart has been updated to include more decimal places to [...]]]></description>
				<content:encoded><![CDATA[<p>Recently, I updated an Ubercart shopping cart system on Drupal that was very out of date.</p>
<p>After the upgrade, the list price on the product pages had too many zeros.  It looked like this.</p>
<p>MSRP $ 49.99000</p>
<p>After a bit of research, I learned that Ubercart has been updated to include more decimal places to accommodate more International currencies.</p>
<p>I took a look at the node-product.tpl.php template and found that the print statement for the list price was using the out of date print statement.</p>
<p>The old print statement looked like:</p>
<pre class="brush: php; title: ; notranslate">&lt;?php print $node-&gt;list_price ?&gt;</pre>
<p>The new print statement looks like this:</p>
<pre class="brush: php; title: ; notranslate">&lt;?php print uc_currency_format($node-&gt;list_price); ?&gt;</pre>
<p>Now all is fine.</p>
<p>MSRP $ 49.99</p>
]]></content:encoded>
			<wfw:commentRss>http://domino.symetrikdesign.com/2011/07/19/updating-price-php-print-statements-in-ubercart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to dynamically set Facebook Opengraph Meta tags in WordPress headers</title>
		<link>http://domino.symetrikdesign.com/2011/07/15/how-to-dynamically-set-facebook-opengraph-meta-tags-in-wordpress-headers/</link>
		<comments>http://domino.symetrikdesign.com/2011/07/15/how-to-dynamically-set-facebook-opengraph-meta-tags-in-wordpress-headers/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 06:02:41 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://domino.symetrikdesign.com/?p=624</guid>
		<description><![CDATA[I recently developed a WordPress website where it was important that some pages could be liked and show up on a user&#8217;s Facebook status. The front page also had a Facebook fan page like box. This is getting to be pretty much the standard for most websites. Setting up the placement of the buttons is [...]]]></description>
				<content:encoded><![CDATA[<p>I recently developed a WordPress website where it was important that some pages could be liked and show up on a user&#8217;s Facebook status.  The front page also had a Facebook fan page like box.  This is getting to be pretty much the standard for most websites.</p>
<p>Setting up the placement of the buttons is pretty trivial.  This <a href="http://developers.facebook.com/docs/reference/plugins/like-box/">guide</a> shows you how to generate the widget code for the fan page like box, and this <a href="http://developers.facebook.com/docs/reference/plugins/like/">guide</a> shows you how to generate the widget code for the like/recommend button.</p>
<p>Embedded the widget code into the WordPress or Drupal theme is pretty straightforward, and placing it so that it looks right is a matter of simple CSS.</p>
<p>Getting the like/recommend buttons to function properly so that the like action shows up on the user&#8217;s Facebook status, which then leads that user&#8217;s friends to your website is the difficult part.  Additionally, what shows up in that link might not always be what you want.</p>
<p>Ideally, you want the proper page title, a short description under the page title, and a little image to the left of the title and description which is indicative of what the page is about.</p>
<p>You must add Facebook Opengraph meta tags to the pages header for this to work right.  This is done by adding the meta tags to the header.php file in your WordPress theme.</p>
<p>That&#8217;s easy to do if you just want to set a static image, title, and description for all pages on your site.  I&#8217;m going to show you how to do that dynamically.</p>
<p>First, let&#8217;s assume that we want to have something for the front page, something for pages that have featured images, and something for pages/posts that do not have a featured image.  This is done with a PHP if statement and few WordPress short codes.</p>
<p>The first thing that happens is that we set two tags that are always going to be the same no matter what &#8211; the fb:admin tag, which is the profile ID of one of the admins of the Facebook Fan Page.  The second tag is the URL of the link.</p>
<p>Next, if the front page is liked, then specify the title, default description, and logo.</p>
<p>The next part of the statement says that if the post is a page, and the page has a featured image attached, then use the post title, and featured image.  The description is taken from the body field.</p>
<p>The else statement says that for all other pages, use the post title, but use the site&#8217;s default logo and description.</p>
<p>You may want to play with these a little bit, but for my project this is what I needed.  I&#8217;m sure this will get you started and you can figure out the rest in getting the proper look you want on the user&#8217;s Facebook status.</p>
<p>See this example below:</p>
<pre class="brush: php; title: ; notranslate">
&lt;!-- Facebook Opengraph Meta Tags --&gt;
&lt;?php if (have_posts()):while(have_posts()):the_post();endwhile;endif;?&gt;
&lt;meta property=&quot;fb:admins&quot; content=&quot;#ninedigitprofileidnumber#&quot; /&gt;
&lt;meta property=&quot;og:url&quot; content=&quot;&lt;?php the_permalink() ?&gt;&quot; /&gt;
&lt;?php if (is_front_page()){ ?&gt; 
&lt;meta property=&quot;og:site_name&quot; content=&quot;Your Site's Title&quot; /&gt;
&lt;meta property=&quot;og:description&quot; content=&quot;This is where the description of your site goes, which shows up to the right of the image.&quot; /&gt;
&lt;meta property=&quot;og:type&quot; content=&quot;website&quot; /&gt;
&lt;meta property=&quot;og:image&quot; content=&quot;http://www.yourdomain.com/logo.jpg&quot; /&gt;
&lt;?php } elseif (is_page() &amp;&amp; has_post_thumbnail( $post_id ))  { ?&gt;
&lt;meta property=&quot;og:title&quot; content=&quot;&lt;?php single_post_title(''); ?&gt;&quot; /&gt;
&lt;meta property=&quot;og:type&quot; content=&quot;article&quot; /&gt;
&lt;meta property=&quot;og:image&quot; content=&quot;&lt;?php echo wp_get_attachment_thumb_url( get_post_thumbnail_id( $post-&gt;ID ) ) ?&gt;&quot; /&gt;
&lt;?php } else { ?&gt;
&lt;!-- For pages that do not have a thumbnail / featured image, set site's main logo image and default description --&gt;
&lt;meta property=&quot;og:title&quot; content=&quot;&lt;?php single_post_title(''); ?&gt;&quot; /&gt;
&lt;meta property=&quot;og:description&quot; content=&quot;This is where the description of your site goes, which shows up to the right of the image.&quot; /&gt;
&lt;meta property=&quot;og:type&quot; content=&quot;article&quot; /&gt;
&lt;meta property=&quot;og:image&quot; content=&quot;http://www.yourdomain.com/logo.jpg&quot; /&gt;
&lt;?php } ?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://domino.symetrikdesign.com/2011/07/15/how-to-dynamically-set-facebook-opengraph-meta-tags-in-wordpress-headers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Theming fields in Drupal 6</title>
		<link>http://domino.symetrikdesign.com/2011/07/07/theming-fields-in-drupal-6/</link>
		<comments>http://domino.symetrikdesign.com/2011/07/07/theming-fields-in-drupal-6/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 04:18:59 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Theming]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://domino.symetrikdesign.com/?p=616</guid>
		<description><![CDATA[I needed to figure out how to theme a field in Drupal 6. The use case was that I wanted to field to be a URL. This is pretty simple and straightforward by using the CCK Link module, which is a sub-module of CCK. I was able to input my URL, such as http://www.symetrikdesign.com with [...]]]></description>
				<content:encoded><![CDATA[<p>I needed to figure out how to theme a field in Drupal 6.  The use case was that I wanted to field to be a URL.  This is pretty simple and straightforward by using the <a href="http://drupal.org/project/link">CCK Link module</a>, which is a sub-module of CCK.</p>
<p>I was able to input my URL, such as http://www.symetrikdesign.com with no problem, and the CCK display options are pretty good.  However, I wanted to strip the &#8220;http://&#8221; part on the output display, but have the link remain the legitimate link of http://www.symetrikdesign.com</p>
<div align="center">
<a href="http://www.symetrikdesign.com/domino/wp-content/uploads/2011/07/cck_link_display.png" rel="lightbox[616]"><img src="http://www.symetrikdesign.com/domino/wp-content/uploads/2011/07/cck_link_display-300x83.png" alt="CCK Link Display field" title="CCK Link Display field" width="300" height="83" class="alignnone size-medium wp-image-617" /></a>
</div>
<p>Though, there are several options for outputting the display in the Admin/Content Type/&lt;content name&gt;/Display fields, there is nothing that handles stripping some characters from the title.</p>
<p>So I figured that I needed to theme the custom field.  I searched drupal.org and google.com far and wide and found that though the documentation was present, there wasn&#8217;t much of it and it wasn&#8217;t that clear.</p>
<p>Here&#8217;s what I did.</p>
<p>My field name was called artistwebsite, so I needed to make sure that there was a standard content-field.tpl.php in my theme&#8217;s directory and then copy/clone that and call the new file content-field-field_artistwebsite.tpl.php.  This works like other types of Drupal entity template files, but the tricky part is that you need to find content-field.tpl.php into your theme&#8217;s directory, because it probably isn&#8217;t there by default, depending on your theme.</p>
<p>I now have the following in my theme directory, and a field called field_artistwebsite in my content type.<br />
content-field.tpl.php<br />
content-field-field_artistwebsite.tpl.php</p>
<p>I was able to re-write the output of a CCK Link field so that it removes the &#8220;http://&#8221; on the display title on the node.</p>
<p>I did this by adding the following lines of code in place of the commented out print statement below:</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php $item['display_title'] = str_replace(&quot;http://&quot;,&quot;&quot;,$item['display_title']);
          echo &quot;&lt;a href=\&quot;&quot;.$item['url'].&quot;\&quot;&gt;&quot;.$item['display_title'].&quot;&lt;/a&gt;&quot;;
         
/* Here is the original PHP print statement line in the stock/default content-field.tpl.php
*  file that I commented out and replaced with what is above.
* &lt;?php print $item['view'] ?&gt;
*/
?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://domino.symetrikdesign.com/2011/07/07/theming-fields-in-drupal-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting the Delicious bookmarks add-on to work with Firefox 5.0</title>
		<link>http://domino.symetrikdesign.com/2011/07/07/getting-the-delicious-bookmarks-add-on-to-work-with-firefox-5-0/</link>
		<comments>http://domino.symetrikdesign.com/2011/07/07/getting-the-delicious-bookmarks-add-on-to-work-with-firefox-5-0/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 03:37:55 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://domino.symetrikdesign.com/?p=613</guid>
		<description><![CDATA[I figured out a simple trick to make the Delicious bookmarks Firefox add-on work after upgrading to Firefox 5.0. This assumes that you previously had the Delicious bookmarks add-on working in Firefox 3.6.x and you have just upgraded to Firefox 5.0 &#8211; which disables the add-on and states that it is incompatible with Firefox 5.0 [...]]]></description>
				<content:encoded><![CDATA[<p>I figured out a simple trick to make the <a href="https://addons.mozilla.org/en-US/firefox/addon/delicious-bookmarks/">Delicious bookmarks</a> Firefox add-on work after upgrading to Firefox 5.0.</p>
<p>This assumes that you previously had the Delicious bookmarks add-on working in Firefox 3.6.x and you have just upgraded to Firefox 5.0 &#8211; which disables the add-on and states that it is incompatible with Firefox 5.0</p>
<ul>
<li>Open Firefox</li>
<li>Goto &#8220;Help&#8221; in the Menu, then &#8220;Troubleshooting Information&#8221;</li>
<li>Click on the &#8220;Open Containing Folder&#8221; or &#8220;Show in Finder&#8221; button (within the box &#8220;Application Basics&#8221; on top of the page)</li>
<li>Close Firefox</li>
<li>Goto into directory &#8220;extensions\{2fa4ed95-0317-4c6a-a74c-5f3e3912c1f9}&#8221;</li>
<li>Edit install.rdf and change the following from the first line to the second line</li>
</ul>
<div class="symetrikcode"><span style="color: red;">em:maxVersion=&#8221;4.0b3pre&#8221; /&gt;</span><br />
<span style="color: lightgreen;">em:maxVersion=&#8221;5.0.*&#8221; /&gt;</span></div>
<ul>
<li>Restart Firefox</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://domino.symetrikdesign.com/2011/07/07/getting-the-delicious-bookmarks-add-on-to-work-with-firefox-5-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to format line breaks in custom fields in WordPress</title>
		<link>http://domino.symetrikdesign.com/2011/07/07/how-to-format-line-breaks-in-custom-fields-in-wordpress/</link>
		<comments>http://domino.symetrikdesign.com/2011/07/07/how-to-format-line-breaks-in-custom-fields-in-wordpress/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 01:01:43 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://domino.symetrikdesign.com/?p=608</guid>
		<description><![CDATA[I was working on a WordPress project where I needed to create some custom fields and format them for the user. I wanted to be able to create those fields so that the user only had to put a few bits of text into the fields and be done with it without having the need [...]]]></description>
				<content:encoded><![CDATA[<p>I was working on a WordPress project where I needed to create some custom fields and format them for the user.  I wanted to be able to create those fields so that the user only had to put a few bits of text into the fields and be done with it without having the need to know any HTML formatting.</p>
<p>I had this working fine for two fields called price and dimensions.  The issues was that the output is a line of text, so all of the items were being displayed on one line and then wrapping to the next line even though there were page breaks in the fields themselves.</p>
<p>For the price field.<br />
$159.99 for two nights.<br />
Add one more night for $49.99</p>
<p>The output looked like:<br />
$159.99 for two nights.  Add one more night for $49.99</p>
<p>I fixed this in the page template file by adding the following code around the get statement.</p>
<pre>wpautop</pre>
<p>So my statement looked like:</p>
<pre>&lt;div class="price"&gt;&lt;?php echo wpautop(get_post_meta($post->ID, 'Price', true)); ?&gt;&lt;/div&gt;</pre>
<p>Now the output looks like I want:<br />
$159.99 for two nights.<br />
Add one more night for $49.99</p>
]]></content:encoded>
			<wfw:commentRss>http://domino.symetrikdesign.com/2011/07/07/how-to-format-line-breaks-in-custom-fields-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fun Fact: How Lotus Notes got it&#8217;s name</title>
		<link>http://domino.symetrikdesign.com/2011/06/28/fun-fact-how-lotus-notes-got-its-name/</link>
		<comments>http://domino.symetrikdesign.com/2011/06/28/fun-fact-how-lotus-notes-got-its-name/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 00:03:04 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Non Tech]]></category>

		<guid isPermaLink="false">http://domino.symetrikdesign.com/?p=606</guid>
		<description><![CDATA[Mitch Kapor got the name for his company from &#8220;The Lotus Position&#8221; or &#8220;Padmasana&#8221;. Kapor used to be a teacher of Transcendental Meditation of Maharishi Mahesh Yogi.]]></description>
				<content:encoded><![CDATA[<p>Mitch Kapor got the name for his company from &#8220;The Lotus Position&#8221; or &#8220;Padmasana&#8221;.  Kapor used to be a teacher of Transcendental Meditation of Maharishi Mahesh Yogi.</p>
]]></content:encoded>
			<wfw:commentRss>http://domino.symetrikdesign.com/2011/06/28/fun-fact-how-lotus-notes-got-its-name/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
