<?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>D-Allison.com  Portland Oregon Website Design &#187; Techniques</title>
	<atom:link href="http://www.d-allison.com/category/techniques/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.d-allison.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 12 Oct 2011 06:39:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WordPress Portfolio using custom fields and templates</title>
		<link>http://www.d-allison.com/wordpress-portfolio-using-custom-fields-and-templates/</link>
		<comments>http://www.d-allison.com/wordpress-portfolio-using-custom-fields-and-templates/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 23:40:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Techniques]]></category>
		<category><![CDATA[Categories]]></category>
		<category><![CDATA[Custom]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.d-allison.com/blog/?p=439</guid>
		<description><![CDATA[<img src="http://www.d-allison.com/wp-content/uploads/2008/11/picture-18.png"><p>I recently updated my portfolio page at www.d-allison.com, which took some pains to set up. I had very specific needs, some of which I still haven't completely figured out, but I think that it turned out nicely.</p>


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-449" style="border: 3px solid black; margin: 5px;" title="picture-2" src="http://www.d-allison.com/blog/wp-content/uploads/2008/10/picture-21.png" alt="" width="460" height="244" /></p>
<p>I recently updated my portfolio page at <a href="http://www.d-alison.com/blog/category/web-design">www.d-allison.com</a>, which took some pains to set up. I had very specific needs, some of which I still haven&#8217;t completely figured out, but I think that it turned out nicely.</p>
<p>Much of my website is done using WordPress, with a template that I&#8217;ve completely designed myself.  What I wanted to accomplish is to have my portfolio main page display a thumbnail of the website that I was featuring along with a title. When you click on it, it takes you to a another POST page which shows the portfolio item.</p>
<h3>Individual Pages</h3>
<p>To accomplish this, I had to create an individual <strong>post</strong> for each portfolio item. I included them into one specific category; in this case <strong><em>web design</em></strong>.  At this point, each page look like every other post in my blog which I did not want. To distinguish these pages from the others, I created a single post template based on the category.</p>
<h3>Custom Category &amp; Single Post Pages</h3>
<p>To find the category number in WordPress, go to the categories section in the WordPress administration panel, hover over the category that you&#8217;re working on, and you should see the category id in the status bar of your browser.  Now, armed with my category number, I take the single.php template in WordPress, copy it, and append the category id number to it. <em>Example: Copy of single.php becomes single-9.php.</em> WordPress will now look for the single-9.php template for individual Web Design posts rather than the default single.php template.  This should also be done for the category page as well. WordPress will automatically look for the archives template unless you specify <em>(ie. category-9, category-10, etc)</em>.  So now when a user goes to the <em>Web Design</em> category, a specific page will show the listings, and a specific page will show the individual posts. Now, you can format the single-9.php page (or something similar) to look how you want it to look.</p>
<h3><span id="more-356"></span></h3>
<p>Back to my site, I deleted the dates, comments, and other default options in the single template in favor of my own custom formatting.  Besides the changes I made in the style sheet, I have a custom sidebar, which includes a <strong>related posts</strong> listing and links to the rest of the site, and a description of the post, using the Custom Fields feature built into WordPress.</p>
<h3>Using Custom Fields</h3>
<p>I enter the name , type of project and other title information in the <em>&#8220;Key&#8221;</em> field, and the corresponding information, such as <em>&#8220;John Smith&#8221;</em> in the <em>&#8220;Value&#8221;</em> field, then click <strong>Add Custom Field</strong>. Keep adding as much information as you need. Those keys will be available for re-use on your next posting.  The information that you enter here wont be useful unless it corresponds to a value on your template.  To just have all the information show up in your template, simply place this code:</p>
<h4>&lt;?php the_meta(); ?&gt;</h4>
<p>Again this just displays all the information in alphabetical order. I&#8217;m sure there&#8217;s away besides CSS to format this but I don&#8217;t know how.  Anyway, to get a better grasp on the items, place this code:</p>
<h4>&lt;?php $values=get_post_custom_values(&#8220;ClientType&#8221;);echo $values[0];?&gt;</h4>
<p>where <em>&#8220;ClientType&#8221;</em> matches the item that you used as your <em>&#8220;Key&#8221;</em> in the custom field.  By placing this code in your template, you can arrange individual items in your post, style them however you please, and have more overall control of the look and feel of you custom fields.</p>
<h3>The Excerpt Field</h3>
<p>Next I include a link to an image file that Ive already created in the <em>&#8220;excerpt&#8221;</em> section, so that I can show that information on the category page. Here&#8217;s an example:</p>
<h4>&lt;a href=&#8221;http://www.d-allison.com/blog/chado-designs&#8221;&gt;&lt;img class=&#8221;alignnone size-thumbnail wp-image-429&#8243; title=&#8221;Chado Advertising &amp;amp; Designs&#8221; src=&#8221;http://www.d-allison.com/blog/wp-content/uploads/2008/09/picture-111-125&#215;125.png&#8221; alt=&#8221;" width=&#8221;125&#8243; height=&#8221;125&#8243; /&gt;&lt;/a&gt;</h4>
<p>When I have finished the look of the single-9.php page, I move to the category-9.php page. I design the page to look a certain way using CSS. I want to show the image that I placed in the <em>&#8220;excerpt&#8221;</em> of the posts, so I change the coding on the category-9.php page. Take this coding:</p>
<h4>&lt;?php the_content() ?&gt;</h4>
<p>and change it to</p>
<h4>&lt;?php the_excerpt(); ?&gt; .</h4>
<p>This will display the <em>excerpt</em> instead of the content.  Place a div or table around the posting on the category-9.php page that&#8217;s only slightly larger than the image, make sure it floats left and you can have a gallery that looks like mine! Here&#8217;s the link again: <a href="http://www.d-allison.com/blog/category/web-design">http://www.d-allison.com/blog/category/web-design</a></p>
<h3>Future Revisions</h3>
<p>The only things I wished I could do different is  to have images on my posts in the <em>&#8220;related posts&#8221;</em> area. Not quite sure how to do that, and suggestions here would certainly be welcomed!</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.d-allison.com/wordpress-portfolio-using-custom-fields-and-templates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Javascript Image Pop Ups for Websites</title>
		<link>http://www.d-allison.com/using-javascript-image-pop-ups-for-websites/</link>
		<comments>http://www.d-allison.com/using-javascript-image-pop-ups-for-websites/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 23:12:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Techniques]]></category>

		<guid isPermaLink="false">http://www.d-allison.com/blog/?p=216</guid>
		<description><![CDATA[There are lots of ways to show your imagery on your website, whether you have a photo blog, a photography website, or just a plain ole corporate site.  Traditionally, when one clicked on an image to see a larger view, it took you to a separate page, a new pop up window, or even worse, [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>There are lots of ways to show your imagery on your website, whether you have a photo blog, a photography website, or just a plain ole corporate site.  Traditionally, when one clicked on an image to see a larger view, it took you to a separate page, a new pop up window, or even worse, a new browser window or external application.</p>
<p>I am no expert at this, but I prefer Javascript pop ups that display images inline so that they don&#8217;t open a new window. There are still a few that will open a window that look really nice, and I will give space to those as well.</p>
<p>I use Dreamweaver and/ or WordPress to design most of my sites. In Dreamweaver, you can install extensions to give you added functionality.  The Just So PhotoAlbum3 from Valleywebdesigns is a great tool that allows you to specify a folder and automatically create thumbnails, and pop up images using Fireworks and Dreamweaver.<span id="more-170"></span></p>
<h3>Just So PhotoAlbum3</h3>
<div id="attachment_219" class="wp-caption alignnone" style="width: 510px"><a href="http://www.d-allison.com/blog/wp-content/uploads/2008/09/picture-12.png"><img class="size-full wp-image-219" title="Just So Photo Album 3 Window" src="http://www.d-allison.com/blog/wp-content/uploads/2008/09/picture-12.png" alt="Just So Photo Album 3 Window" width="500" height="296" /></a><p class="wp-caption-text">Just So Photo Album 3 Window</p></div>
<p>The first tab allows you to specify where you want to pull the images from, what size to make the thumbnails, how good you want the quality to be, etc. The second tab lets you choose from a few pre-made CSS templates already built in to spice up your thumbnails.  You can also choose to make them plain and apply your own styling and CSS later. The third tab allows you to specify the settings for the pop up; borders, backgrounds and other details.</p>
<p>This extension requires obviously Dreamweaver, but Fireworks as well. That make rule out some users unless you owned both packages.  It also opens a pop up window, which may not be seen by users with a pop up blocker turned on. The gallery&#8217;s can be very visually appealing however, which can outweigh all those other cons. <a href="http://www.valleywebdesigns.com/vwd_jspw3.asp" target="_blank">Go to the website here and see examples.<br />
</a></p>
<h3>Lightboxes, Thickboxes, Fancyboxes, Multiboxes&#8230;..</h3>
<p>This is where many designers are headed now.  I use a few of these quite frequently in my designs.  These are inline unobtrusive windows that can be altered with CSS to show images, video, inline content, html pages, pdf&#8217;s and more.  Generally, this is accomplished by downloading the code / files from a developer (listed below) and inserting the style sheets and scripts into your page. Most require a class or an ID to be attached to the text or image to trigger the effect.  I use Multibox on this website to show images in the portfolio page, as well as when you click to Contact link in the sidebar and footer.  The nice thing about these windows too are that some can darken the background of the page to give more focus to the image or item being displayed.</p>
<p>I won&#8217;t go into detail on how to install those items because they are tirelessly documented on the web already, but I will provide links and links to examples.</p>
<p>These don&#8217;t require any specific web design platform and there are many plugins available for WordPress that make these options even more user friendly.</p>
<ul>
<li><a href="http://jquery.com/demo/thickbox/" target="_blank">Thickbox 3.1</a> -ThickBox is a webpage UI dialog widget written in JavaScript on top of the <a href="http://www.jquery.com/">jQuery</a> library. Its function is to show a single image, multiple images, inline content, iframed content, or content served through <a href="http://en.wikipedia.org/wiki/AJAX">AJAX</a> in a hybrid <a href="http://en.wikipedia.org/wiki/Modal_window">modal</a>.</li>
<li><a href="http://www.huddletogether.com/projects/lightbox2/" target="_blank">Lightbox 2</a> &#8211; Lightbox is a <em>simple, unobtrusive</em> script used to overlay images on the current page. It&#8217;s a <em>snap to setup</em> and works on <em>all modern browsers</em>.</li>
<li><a href="http://www.cabel.name/2008/02/fancyzoom-10.html" target="_blank">FancyZoom</a> &#8211; Automatically scales large images to fit in window with a Mac like feel.</li>
<li><a href="http://www.phatfusion.net/multibox/" target="_blank">Multibox</a> &#8211; lightbox that supports images, flash, video, mp3s, html.</li>
<li>And LOTS of other clones with many, many options.  The place to see them all COMPARED is<a href="http://planetozh.com/projects/lightbox-clones/" target="_blank"> The Lightbox Clones Matrix.</a></li>
</ul>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.d-allison.com/using-javascript-image-pop-ups-for-websites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

