<?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>Drew Frisk</title>
	<atom:link href="http://drewfrisk.com/feed" rel="self" type="application/rss+xml" />
	<link>http://drewfrisk.com</link>
	<description>Rich Media Architect</description>
	<lastBuildDate>Thu, 05 Apr 2012 02:52:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Finding All References Where File Is Used In SharePoint.</title>
		<link>http://drewfrisk.com/finding-all-references-where-file-is-used-in-sharepoint</link>
		<comments>http://drewfrisk.com/finding-all-references-where-file-is-used-in-sharepoint#comments</comments>
		<pubDate>Fri, 29 Apr 2011 16:40:37 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://drewfrisk.com/?p=324</guid>
		<description><![CDATA[Finding All References Where A File Is Used In SharePoint 2010. One of the biggest nuances with master pages and page layouts in SharePoint is trying to delete them.  There are a lot of times when trying to delete a master page of page layout, you’ll get the following error: So now what? You swear [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Finding All References Where A File Is Used In SharePoint 2010.</strong></p>
<p>One of the biggest nuances with master pages and page layouts in SharePoint is trying to delete them.  There are a lot of times when trying to delete a master page of page layout, you’ll get the following error:</p>
<p><img class="alignnone size-full wp-image-325" title="pageDeleteError_Sharepoint" src="http://drewfrisk.com/blog/wp-content/uploads/2011/04/pageDeleteError_Sharepoint.png" alt="" width="508" height="121" /></p>
<p>So now what? You swear you’ve gone through and disconnected the file where it’s been used, and you’ve probably done it 5 or 6 times.  Chances are you missed one (or two) of those filed.  The easiest way to determine where the file is being used is to go to the <strong>Site Content &amp; Structure </strong>page via <strong>Site Actions -&gt; Manage Content and Structure</strong>. Once there, open the <strong>Master Page Gallery. </strong>You’ll notice the option for <strong>Show Related Resources. </strong>Select the file you’re trying to delete, and then select the related resources tab.  It will display a split view, the bottom half containing a list of all the pages/files using the select file throughout the site collection.</p>
<p>From here you can go to each individual page and disconnect the page layout.</p>
<p><a rel="attachment wp-att-326" href="http://drewfrisk.com/finding-all-references-where-file-is-used-in-sharepoint/relatedresources_demo"><img class="alignnone size-medium wp-image-326" title="relatedResources_demo" src="http://drewfrisk.com/blog/wp-content/uploads/2011/04/relatedResources_demo-300x221.png" alt="" width="500" height="368" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://drewfrisk.com/finding-all-references-where-file-is-used-in-sharepoint/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Relative URLs</title>
		<link>http://drewfrisk.com/sharepoint-relative-urls</link>
		<comments>http://drewfrisk.com/sharepoint-relative-urls#comments</comments>
		<pubDate>Thu, 14 Apr 2011 06:40:20 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://drewfrisk.com/?p=318</guid>
		<description><![CDATA[I got stuck an a troubling predicament this week.  We&#8217;re currently going through the process of reorganizing the hiearchy of our SharePoint system.  Basically, the idea is to create one site collection and a series of subsites for each of the Universities departments.  In doing this we wanted to use one masterpage and one style sheet to [...]]]></description>
			<content:encoded><![CDATA[<p>I got stuck an a troubling predicament this week.  We&#8217;re currently going through the process of reorganizing the hiearchy of our SharePoint system.  Basically, the idea is to create one site collection and a series of subsites for each of the Universities departments.  In doing this we wanted to use one masterpage and one style sheet to apply the layout and core design to each site, and then create the possibility of using a secondary style sheet on each subsite.</p>
<p>I wanted to be able determine the subsite the masterpage was being viewed on and then reference a style sheet local to that subsite, generally that&#8217;s simple when your using a separate masterpage for each subsite&#8230;.but I wasn&#8217;t.  The style sheet is located in at &#8216;/SiteAssets/styles/customStyles.css&#8217; relative to each subsite, so placing that specific reference in the masterpage would unfortunately point to the site assets folder in the root site collection.  I didn&#8217;t want that.  So after some digging I found a pretty simple and slick solution using the $SPUrl syntax provided via the Microsoft.SharePoint.Publishing namespace.  The syntax to point to a subsite is as follows:</p>
<p>&lt;link href=&#8221;&lt;%$SPUrl:~site/SiteAssets/styles/customStyles.css%&gt;&#8221; type=&#8221;text/css&#8221; rel=&#8221;stylesheet&#8221; runat=&#8221;server&#8221; /&gt;</p>
<p>The $SPUrl syntax allow for you to point to a location thats relative to the current location, so say my site collection is at www.uwsp.edu and the subsite I want to view is at www.uwsp.edu/admissions, when I pull up the root site( www.uwsp.edu) the masterpage will look for a custom style sheet at &#8220;www.uwsp.edu/SiteAssets/styles/customStyles.css&#8221; and when I pull up &#8220;www.uwsp.edu/admissions&#8221; the masterpage will look for a style sheet at &#8221; www.uwsp.edu/admission/SiteAssets/styles/customStyles.css&#8221;.</p>
<p>It&#8217;s a really nifty solution, and allows for a lot of opportunities of customization.  This strategy can also be used for images, favicons, scripts, and other custom external links in a masterpage.  One thing to note, there is another $SPUrl tag as well &#8216;~sitecollection&#8217;.  Whereas &#8216;~site&#8217; will point to the location of the current subsite, &#8216;~sitecollection&#8217; will point to the root site collection a masterpage is located in.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://drewfrisk.com/sharepoint-relative-urls/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m Back!</title>
		<link>http://drewfrisk.com/im-back</link>
		<comments>http://drewfrisk.com/im-back#comments</comments>
		<pubDate>Thu, 14 Apr 2011 05:47:43 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Ramblings]]></category>

		<guid isPermaLink="false">http://drewfrisk.com/?p=313</guid>
		<description><![CDATA[Whew, it&#8217;s been a crazy couple months.  Lot&#8217;s of projects and not much sleep, the life of a college student I suppose. But I&#8217;ve learned some pretty sweet things while I&#8217;ve been off the web, and I&#8217;m dedicated to posting these new discoveries.  It&#8217;ll probably only be about once a week or so until life [...]]]></description>
			<content:encoded><![CDATA[<p>Whew, it&#8217;s been a crazy couple months.  Lot&#8217;s of projects and not much sleep, the life of a college student I suppose.</p>
<p>But I&#8217;ve learned some pretty sweet things while I&#8217;ve been off the web, and I&#8217;m dedicated to posting these new discoveries.  It&#8217;ll probably only be about once a week or so until life quiets down a little bit more, but it&#8217;s a good start.     Sadly though, my work with WordPress has stopped for the time being so I don&#8217;t have much to say in that regard.  However, the same cannot be said for SharePoint.  I&#8217;ve got a few things I want to get posted up, especially now I know I&#8217;ve got one or two readers out there.</p>
<p>If all goes well, I should have a post up in about an hour or two. <img src='http://drewfrisk.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Until then.</p>
]]></content:encoded>
			<wfw:commentRss>http://drewfrisk.com/im-back/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Vertical Global Navigation: SharePoint 2010</title>
		<link>http://drewfrisk.com/creating-vertical-global-navigation-sharepoint-2010</link>
		<comments>http://drewfrisk.com/creating-vertical-global-navigation-sharepoint-2010#comments</comments>
		<pubDate>Fri, 18 Feb 2011 22:23:25 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://drewfrisk.com/?p=256</guid>
		<description><![CDATA[There are a lot of design instances when vertical global navigation is required for a website.  Normally, is would be relatively easy to do such a task using standard web development techniques; however this is not possible by default with SharePoint. Last week I was given a project where the design of the website had [...]]]></description>
			<content:encoded><![CDATA[<p>There are a lot of design instances when vertical global navigation is required for a website.  Normally, is would be relatively easy to do such a task using standard web development techniques; however this is not possible by default with SharePoint.</p>
<p>Last week I was given a project where the design of the website had been created in Photoshop and needed to be implemented into SharePoint.  The site design required vertical navigation.  For those who are regular SharePoint users, you know the Quick Launch can be used as a “make-shift” vertical navigation, but it can be very convoluted, difficult to manage, and a monumental task to style with CSS.  I didn’t want to deal with the consequences of the Quick Launch since all lists/libraries and etc. would be added to the navigation list upon creation.  So I dug  into the menu CSS and discovered a solution to create vertical global navigation.</p>
<p>My final working result, with some added colors and styles looks like this:</p>
<p>﻿<a rel="attachment wp-att-257" href="http://drewfrisk.com/creating-vertical-global-navigation-sharepoint-2010/screen"><img class="alignnone size-full wp-image-257" title="screen" src="http://drewfrisk.com/blog/wp-content/uploads/2011/02/screen.png" alt="" width="418" height="456" /></a></p>
<p>For the purpose of this tutorial I’m going to assume that you have some experience customizing the global navigation.</p>
<p>A couple quick notes before I walk through the steps.  The design I’m working with for this site utilizes custom div elements inside the master page, if you are not comfortable working inside the master pages then I recommend not attempting this.   Secondly, I’ve already placed custom wrapping div containers inside my master page to adjust the page layout.  Creating the vertical navigation will still be possible if you haven’t created any custom div elements, it will just take a little extra work on your part (it’s worth it though).  My master page construction places all the content, as well as the navigation, inside of “MSO_ContentDiv”.   If your navigation is still in the default location, you should still be ok; you’ll just have to do a little div manipulation to get it working.</p>
<p>So for this tutorial, I’ll assume you have some experience with SharePoint master pages and that you’ve worked with custom div elements.</p>
<p>So on to the navigation!</p>
<p>The first step is to place the navigation into a wrapping div to allow for easy modifications to the layout. You’ll need to find the default div that holds the navigation.  Look for a div of the following:</p>
<p>&lt;div class=&#8221;s4-lp s4-toplinks&#8221;&gt;</p>
<div class="s4-lp s4-toplinks">
<p>If you’re in v4.master is should be roughly line 340.  If you’re using a customized master page, such a div may not exist.  If that is the case you’ll need to look for the SharePoint control with an ID of “TopNavigationMenuV4”.  Once you’ve located the top nav, you need to place it inside of a wrapping container.  For my master page, it was mainNav.  I’m using a custom master page, so my examples will only contain the SharePoint control; if you’re using the v4 you can still follow the steps, just place the “toplinks” div inside instead.   So once you’ve placed the navigation in a new div it should look something like this:</p>
<p><a rel="attachment wp-att-264" href="http://drewfrisk.com/creating-vertical-global-navigation-sharepoint-2010/codescreen"><img class="alignnone size-full wp-image-264" title="codescreen" src="http://drewfrisk.com/blog/wp-content/uploads/2011/02/codescreen.png" alt="" width="540" height="384" /></a></p>
<p>You can see my custom div wrappers I’ve created around the “TopNavigationMenuv4”.  I’ve placed it inside of a div called “left-column”.  Eventually, this will be floated left and the next div (“container”), which holds all the main content, will be floated right.</p>
<p>Now that it’s in a wrapping div, we can adjust the layout of the menu.  You’ll want either and external style sheet or a location for embedded styles in your master page.  I’ve created an external style sheet called “vertical-global-navigation.css” since it will be used on multiple site collections.</p>
<p>First thing that we’ll do is give a fixed with to #mainNav, and each of the links.  A fixed width of the links will force the navigation to stack.  We’re also going to use the !important declaration.  This is needed to override the default settings put in place by SharePoint.  For the purpose of my design, the width is 220 pixels.</p>
<pre class="brush: css; title: ; notranslate">

div #mainNav, .menu-horizontal, .menu-horizontal li.static, .menu-horizontal a.static, .menu-horizontal span.static{

width: 220px !important;

}
</pre>
<p>Once we have the width set, we need to remove the default height setting of 40px.  This is also the location where we’ll float the navigation to the left. To do this, we’ll place the following in our style sheet:</p>
<pre class="brush: css; title: ; notranslate">

div#mainNav{

background:inherit; /* Set main navigation wrapper to inherit background color of parent div */

float: left;

margin: auto;

height: auto !important;               /* override default menu height */

vertical-align:middle;

}
</pre>
<p>Once the width and height of the navigation is set, we’ll need to adjust the default positioning of the dropdown submenus.  To do this we’ll give them a left margin relative to the width of our menu (220px).  I’ve also added a negative top margin to force the dropdown to sit flush with the parent headings.  The css looks like this:</p>
<pre class="brush: css; title: ; notranslate">

.menu ul.dynamic {

margin: -25px 0 0 220px;

}
</pre>
<p>And that’s it.  If you haven’t created a wrapping container for the content of your pages, you should do that as well.</p>
<p>The css I’ve provided is very minimal, and it will essentially just give you the basic layout.  If your menu was previously styled, then you should be good to go.  Otherwise, you’ll need to determine the basic selector for the menu.  I’ve uploaded the full style sheet for the vertical dropdown menu as an attachment to this post which includes styles for background colors, font colors, text positioning, and etc.</p>
<p>I hope this was useful for those who read,  I’d like to write a more detailed tutorial in the future on specific menu customization.  Check back in the future for more updates.  Right now I’m working on enabling a dropdown feature on the quick launch.</p>
<p>Until next time, happy coding!</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://drewfrisk.com/creating-vertical-global-navigation-sharepoint-2010/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Site Updates</title>
		<link>http://drewfrisk.com/site-updates</link>
		<comments>http://drewfrisk.com/site-updates#comments</comments>
		<pubDate>Fri, 04 Feb 2011 07:25:20 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://drewfrisk.com/?p=243</guid>
		<description><![CDATA[Rather than being a good student tonight and working on homework, I decided to do some mass updates to my website.  You&#8217;ll notice the site has a new design.  This design is the WordPress theme I created in January for WDMD 346: Web Content Management Systems (project info).  In addition to the new design, I [...]]]></description>
			<content:encoded><![CDATA[<p>Rather than being a good student tonight and working on homework, I decided to do some mass updates to my website.  You&#8217;ll notice the site has a new design.  This design is the WordPress theme I created in January for WDMD 346: Web Content Management Systems (<a href="http://drewfrisk.com/a-reflection-on-creating-a-custom-wordpress-theme">project info</a>).  In addition to the new design, I created an artifact section.</p>
<p>This new section houses a fair number of projects that I&#8217;ve been working on.  Currently, I have a list of 5.  Each of them are a little different in terms of techniques and practices used for them; but each are equally valuable to my experience.</p>
<p>I&#8217;m hoping to start posting a few times a week over the course of the semester, if time allows.</p>
<p>So until next time,</p>
<p>happy coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://drewfrisk.com/site-updates/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A reflection on creating a custom WordPress Theme</title>
		<link>http://drewfrisk.com/a-reflection-on-creating-a-custom-wordpress-theme</link>
		<comments>http://drewfrisk.com/a-reflection-on-creating-a-custom-wordpress-theme#comments</comments>
		<pubDate>Thu, 20 Jan 2011 05:58:30 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[Coursework]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://drewfrisk.com/?p=163</guid>
		<description><![CDATA[For those who have been reading my previous posts, you would know that I've been posting to this blog as part of a class I'm currently taking.  This class is called "Web Content Management Systems", and as the name suggests we study and work with a series of WCMS's; specifically WordPress, Joomla! and Drupal.  Tomorrow morning is the last day of the winterim class and consequently the "semester projects" are due.  Now, it's not really a semester project because the class only lasts for 13 days.  There is a very limited amount of material that can be covered in that period of time, and even less time to do a massive project.

For my semester project I chose WordPress as my CMS of choice.  The primary decision for this was to create a way to showcase my knowledge and experience in WordPress.  Since there is a high potential that I will be doing a lot of WordPress development in the coming months I came to the conclusion that my personal site should exemplify such abilities.  As a "sub-cateogry" of a WordPress project I decided I would create a custom WordPress theme, mainly because I want to have “my design” as the appearance of my WordPress site.  I've gotten quite partial to the original design I had on my website before winterim, and I wanted to implement that design into a WordPress site.  Since I couldn’t find a theme remotely close to the design I wanted, I was resorted to building my own.]]></description>
			<content:encoded><![CDATA[<p>For those who have been reading my previous posts, you would know that I&#8217;ve been posting to this blog as part of a class I&#8217;m currently taking.  This class is called &#8220;Web Content Management Systems&#8221;, and as the name suggests we study and work with a series of WCMS&#8217;s; specifically WordPress, Joomla! and Drupal.  Tomorrow morning is the last day of the winterim class and consequently the &#8220;semester projects&#8221; are due.  Now, it&#8217;s not really a semester project because the class only lasts for 13 days.  There is a very limited amount of material that can be covered in that period of time, and even less time to do a massive project.</p>
<p>For my semester project I chose WordPress as my CMS of choice.  The primary decision for this was to create a way to showcase my knowledge and experience in WordPress.  Since there is a high potential that I will be doing a lot of WordPress development in the coming months I came to the conclusion that my personal site should exemplify such abilities.  As a &#8220;sub-category&#8221; of a WordPress project I decided I would create a custom WordPress theme, mainly because I want to have “my design” as the appearance of my WordPress site.  I&#8217;ve gotten quite partial to the original design I had on my website before winterim, and I wanted to implement that design into a WordPress site.  Since I couldn’t find a theme remotely close to the design I wanted, I was resorted to building my own.</p>
<p>As I expected, creating a custom theme is/was a very monumental task.  There are a lot of little pieces that need to fit together properly in order for the theme to function within the site.  As such, this played into the overall structure of my files.  There were of course a certain number of files that needed to be included in the theme structure in order for it function properly.  But, there are a series of files that aren’t necessary for a functioning theme.  However, I decided that I would create all functionality for my theme and include all the necessary files.</p>
<p>I decided to go with this choice mainly because “developers suck at designing”. Meaning, most FREE themes are created by developers and as such have a tendency to be boxy and not appealing.  Whereas on the other hand, themes created by designers don’t necessarily function all that well.  I&#8217;d like to think that I can consider myself both a developer and a designer. Now I’m not saying I’m a great designer, but I do understand and appreciate design so I keep it in mind when I’m developing.  I think this helped a lot in my overall theme construction.</p>
<p>The main aspect of this theme that I take pride in is the implementation of CSS3.  It was an interesting experience trying to get CSS3 to work properly with everything I wanted, mainly for browser reasons.  Originally I was going to lack support for Internet Explorer, however I decided against it.  Making that decision proved interesting.  My finished design is primarily CSS3 (which I&#8217;ll explain shortly) and CSS3 is not natively supported in IE.  As such, I had to spend a large amount of time researching hack implementations for IE.  In the end I found a solution called “PIE”, which stands for progressive internet explorer.  Essentially, PIE makes IE compatible with CSS3 by using an htc script file.  I’m not entirely sure how it works, I just know it does, and it does it very well.  So if you were to look at my design in an IE browser it would look relatively the same, some features of CSS3 don&#8217;t work with this hack (element rotation) so there are a few aspects that are off.  However, I was willing to make this compromise.</p>
<p>A second major decision I made in the design/construction of this theme was the ability for dynamic appearance changing.  With a WordPress theme there is the ability to create an admin menu for site administrators to interact with.  This admin menu creates a space for site administrators to make changes to certain areas of the theme, anything from design to functionality.  I took a big interest in this capability and decided to implement it into my theme construction.  The ending result is the ability for site administrators to significantly change the appearance of the site design.  However, that significance is still limited.  I created the ability for admins to change the color scheme of the site, as well as the font associated with the site title and description.</p>
<p>The font changing uses the @font-face css control by creating custom font types.  I pre-populated the template with font files and gave the theme options page access to theme.  The ending result is the ability to change the appearance of the site title via the click of a button.  I did this for 2 main reasons.  The first, and possibly the most obvious, is that it’s incredibly easy for me and saved me TONS of time.  Since the font is controlled with font type rather than images I didn’t have to spend any time creating banners in Photoshop.  The 2<sup>nd</sup> is pretty similar to the first.  The site administrators can change the site title appearance with the click of a button; which means they don’t have to stick to one custom design, they can have options, and options are a good thing.  Options equal dynamic content and dynamic content equals a reliable site; which yields happy users.</p>
<p>I’ve always been a fan of dynamic capabilities in a website, especially from an administrative standpoint.  It makes implementing solutions a lot easier and efficient.  In addition it’s a lot less complicated.  I’m very pleased with the way content management systems handle this aspect.  I haven’t worked a ton with Joomla! or Drupal, but as far as WordPress is concerned it’s handled very well.  As such it is really easy to implement custom functionality into the core installation.  This is a major aspect of a custom theme, and eventually is something I plan expanding more on with my theme as time allows.</p>
<p>I was really pleased with the capabilities of CSS3, since that was the major component of my design I spent a lot of time working with it.  To say the least, my theme doesn’t use images.  That statement has one exception though; the social media bar and the RSS icon use images because it’s the only way possible; the images are links, so they’re kind of necessary.  Because of the lack of images in the design I had to rely heavily on the powers off CSS3, and those powers suited me well.  Even with the frustrations of IE it was a very pleasant experience and all of my future website projects will be affected by it.</p>
<p>If anything, I think that is one of the most satisfying results of this project.  I feel that having discovered new techniques in design and development is one of the best things that can come out of a class such as this, even if those techniques aren’t directly related.  The two things I can take out of this are the design powers of CSS3 and the benefit to creating dynamic content.  Granted, both of those “lessons” have their place in a site design.  They won’t always be possible, but they are nonetheless there when needed.</p>
<p>There are quite a few things that I still want to do with my design, but time just didn’t allow for me to complete them.  I one was to browse through the various posts they’ll notice that there are some sections of content that look kind of “blah”.  There is a lot of styling that takes place to get everything to work just right, and I didn’t have time to work out some of it.  I would also like to build in some more custom functionality on the administrator side; mainly for site appearance and theme features.  Each of have specific elements and procedures that I need to incorporate into them, so it will take more time.  I would also like to convert the theme to HTML5, I have no idea what that will all entail, but I’ve very intrigued to find out.</p>
<p>I eventually want to launch the theme on this site (since it&#8217;s my site and all), but I want to first work out the kinks with the design that are still there.  However, if you would like to take a look at what I&#8217;m considering a &#8220;finished product&#8221; for the assignment you can visit this link: www.wiknights.com/wordpress.  This is a 2nd domain that I own and primarily use for hosting development content.  I imported default WordPress test content and posts, so feel free to browse through the posts and get a feel for the overall layout and design.</p>
<p>If you decide to take a look at the design I would really appreciate any feedback that you would be willing to give.  I&#8217;m always looking to make improvements on my work and feedback is the best way to do it.  My goal is to eventually release the theme for public download, but for all intensive purposes it&#8217;s still currently in beta.</p>
<p>So thanks for reading, and stay tuned for next time!</p>
]]></content:encoded>
			<wfw:commentRss>http://drewfrisk.com/a-reflection-on-creating-a-custom-wordpress-theme/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Implementing @font-face Cross Browser</title>
		<link>http://drewfrisk.com/implementing-font-face-cross-browser</link>
		<comments>http://drewfrisk.com/implementing-font-face-cross-browser#comments</comments>
		<pubDate>Wed, 19 Jan 2011 05:29:09 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://drewfrisk.com/?p=153</guid>
		<description><![CDATA[In the past when making banner images and titles for websites, we&#8217;ve been stuck to making images in Photoshop if we wanted something fancy.  Thankfully those days are over!  I&#8217;ve recently started using @font-face in my css styles, which enables designers and developers to use custom fonts in their designs.  Such a practice can work [...]]]></description>
			<content:encoded><![CDATA[<p>In the past when making banner images and titles for websites, we&#8217;ve been stuck to making images in Photoshop if we wanted something fancy.  Thankfully those days are over!  I&#8217;ve recently started using @font-face in my css styles, which enables designers and developers to use custom fonts in their designs.  Such a practice can work wonders on a site design, however it can be tricky to get your design to work cross browser when using it.  For those who haven&#8217;t used @font-face before the style tag looks like this:</p>
<pre class="brush: css; title: ; notranslate">
@font-face{
    font-family: Offset;
    src: url( 'Offset.otf');
}
</pre>
<p>Basically, it defines a new font family to use in css and gives a relative location to the font file.  You&#8217;ll notice that the example I provided is in the &#8216;otf&#8217; format.  OTF refers to a font that is created as an &#8220;OpenType&#8221; Font.  There are 4 font types, defined as &#8220;TTF&#8221;, &#8220;EOT&#8221;, &#8220;OTF&#8221;, and &#8220;SVG&#8221;; and unfortunately not every browser supports all 4.  The rundown of browser support is as follows:</p>
<ul>
<li>Internet Explorer only supports <strong>EOT</strong></li>
<li>Mozilla browsers support <strong>OTF and TTF</strong></li>
<li>Safari and Opera support <strong>OTF, TTF and SVG</strong></li>
<li>Chrome supports <strong>TTF and SVG.</strong></li>
<li>Mobile browsers require<strong> SVG</strong></li>
</ul>
<p>So as you can most likely tell, this can get incredibly confusing; and confusing in the world of web development is never fun.  Thankfully there are some brilliant developers out there who have found quick and easy solutions to this, which I will show momentarily; but first let&#8217;s take a look at how to get these custom fonts to work cross browser.</p>
<p>The bulletproof way for cross browser consistency is to define multiple source files to the font type.  Each browser will pass over each line of the @font-face tag until if finds a format it can read.  So let&#8217;s take a look at it:</p>
<pre class="brush: css; title: ; notranslate">
@font-face {
font-family: 'Offset';&lt;/div&gt;
       src: url('fonts/offset/offset.eot');&lt;/div&gt;
       src: local('☺'),&lt;/div&gt;
            url('fonts/offset/offset.woff') format('woff'),&lt;/div&gt;
            url('fonts/offset/offset.ttf') format('truetype'),&lt;/div&gt;
            url('fonts/offset/offset.svg') format('svg');&lt;/div&gt;
&lt;div id=&quot;_mcePaste&quot;&gt;            font-weight: normal;&lt;/div&gt;
&lt;div id=&quot;_mcePaste&quot;&gt;            font-style: normal;&lt;/div&gt;
}
</pre>
<p>You&#8217;ll notice in the code we added there is a src: local.  This line looks a little strange, but I&#8217;ll explain why.   This is a small css hack that ignores locally-installed fonts with the same name.  It essentially tells the browser to use a fictional font name that won’t be present on your machine so there is no mess from the wrong font being displayed.   Lastly, after the source files are declared we set font-weight and font-style so all browsers will default to the same values.  This allows for late declarations of Faux Bold or Italic later in the style sheet.  Keep in mind that <strong>web-kit browsers will ignore any style or weight commands without these last 2 lines</strong>.</p>
<p>Also, one additional consideration is that there is no guarantee these custom fonts will display properly in each browser.  So before making the final decision to take this approach make sure you test the appearance of each font.</p>
<p><img class="size-medium wp-image-158 alignright" title="font2web" src="http://drewfrisk.com/blog/wp-content/uploads/2011/01/font2web-300x270.png" alt="" width="300" height="270" /></p>
<p>At this point you&#8217;re probably asking where you can get all these font types.  I struggled for a while trying to find a solution to this, and finally stumbled on  <a href="http://www.font2web.com/">http://www.font2web.com/</a>.  It&#8217;s a handy little site that allows you to upload any ttf or otf font file and it will convert it to each font type you need AND create the styles you need for that particular font; in the format described above.  It takes roughly 10 seconds for the whole process (assuming you have high speed internet).  However, make sure before you convert your font files that you check the associated copyrights.  In order to legally convert the font files they need to allow for web publishing in their copyright.  If such conditions don&#8217;t exist, don&#8217;t consider following these steps.</p>
<p>So in a nutshell, @font-face can be incredibly useful for  a site design as long as all aspects of it are incorporated.  Make sure your design works well with custom fonts, confirm you have all possible font type formats, and be sure to double check that the fonts you want to use are released under such a copyright.  DO NOT use fonts that don&#8217;t allow for public, commercial, or web publishing or file conversion and redistribution.</p>
<p>So until next time, happy developing!</p>
]]></content:encoded>
			<wfw:commentRss>http://drewfrisk.com/implementing-font-face-cross-browser/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FoxyPress: A quick start to FoxyCart inside WordPress</title>
		<link>http://drewfrisk.com/foxypress-a-quick-start-to-foxycart-inside-wordpress</link>
		<comments>http://drewfrisk.com/foxypress-a-quick-start-to-foxycart-inside-wordpress#comments</comments>
		<pubDate>Tue, 18 Jan 2011 06:11:18 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[E-Commerce]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://drewfrisk.com/?p=134</guid>
		<description><![CDATA[For the last few weeks I&#8217;ve been enhancing a plugin for Web Movement LLC called FoxyPress.  In short, FoxyPress is a plugin that enables site owners to connect their FoxyCart account to their WordPress site.  It uses WP shortcode to insert products into pages or posts, from which users of the site can click links [...]]]></description>
			<content:encoded><![CDATA[<p>For the last few weeks I&#8217;ve been enhancing a plugin for <a href="http://www.webmovementllc.com" target="_blank">Web Movement LLC</a> called FoxyPress.  In short, FoxyPress is a plugin that enables site owners to connect their <a href="http://www.foxycart.com" target="_blank">FoxyCart </a>account to their WordPress site.  It uses WP shortcode to insert products into pages or posts, from which users of the site can click links or images to purchase the item.  If you would like more information of FoxyPress you can visit the official site here: <a title="Foxypress Home Page" href="http://www.foxy-press.com" target="_blank">http://www.foxy-press.com</a></p>
<p>A few weeks ago my updated work on the project was released in version 0.1.6.  With this update site owners are now able to manage a basic inventory of items or products and publish them to their posts and/or pages.  In addition to these updates I&#8217;ve also created a quick start guide to using FoxyPress.  It is still a little convoluted and cluttered, but its a first draft and only covers the basic.  With the next release update ( 0.1.7 ) I plan to created more in depth documentation, but until then I have the current version.<a rel="attachment wp-att-136" href="http://drewfrisk.com/foxypress-a-quick-start-to-foxycart-inside-wordpress/foxyquickstart"><img class="aligncenter size-large wp-image-136" title="foxyQuickStart" src="http://drewfrisk.com/blog/wp-content/uploads/2011/01/foxyQuickStart-776x1024.png" alt="" width="550" height="725" /></a></p>
<p>A pdf of the guide can be found here: <a href="http://www.drewfrisk.com/downloads/docs/foxypressQuickStart.pdf">FoxyPress Quick Start Guide &#8211; PDF</a></p>
]]></content:encoded>
			<wfw:commentRss>http://drewfrisk.com/foxypress-a-quick-start-to-foxycart-inside-wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Presentation of SharePoint</title>
		<link>http://drewfrisk.com/a-presentation-on-sharepoint</link>
		<comments>http://drewfrisk.com/a-presentation-on-sharepoint#comments</comments>
		<pubDate>Sat, 15 Jan 2011 03:25:01 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[Coursework]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://drewfrisk.com/?p=131</guid>
		<description><![CDATA[So today I gave a co-lecture on SharePoint 2010 with some of my co-workers, Bryan Novak and Kaytee Quast.  It went a lot better than I expected.  Since I&#8217;m currently in a Open Source CMS class it was a nice change from the material we&#8217;ve been covering for the last 2 weeks.  I wasn&#8217;t sure [...]]]></description>
			<content:encoded><![CDATA[<p>So today I gave a co-lecture on SharePoint 2010 with some of my co-workers, Bryan Novak and Kaytee Quast.  It went a lot better than I expected.  Since I&#8217;m currently in a Open Source CMS class it was a nice change from the material we&#8217;ve been covering for the last 2 weeks.  I wasn&#8217;t sure what to expect for peoples reactions or their takes and opinons on SharePoint, but they seems to understand everything well, which I was please with.  I think that goes to show that once you understand the fundamental concepts of a CMS (open source or commercial), and one that you look at are going to be functionally the same in their operations.</p>
<p>I ended up discussing the process of back-end customization for SharePoint.  Meaning, the customization of Master Pages and page templates.  In addition I also discussed the differences between manual creations and automations of site collections.  In doing so I walked through the basics of setting up a site collection manually and the steps it took to apply features and settings as we needed them to be.  With this I explained the time that&#8217;s involved, roughly 2-3 hours depending on the site.  Once I went through this I created a site collection using my PowerShell script that I just finished writing last week.   This allowed me to show a finished site after about 3 minutes.  That 2 hour to 3 minute difference is huge, and it was pretty cool showing it.</p>
<p>So in retrospect, I was very happy with the outcome of the presentation.  I think it even got a couple people &#8220;excited&#8221; about SharePoint, or at least intrigued.  I&#8217;m glad to know I understand it well enough to give such a presentation.  It helps to be confident. =]</p>
]]></content:encoded>
			<wfw:commentRss>http://drewfrisk.com/a-presentation-on-sharepoint/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automating SharePoint 2010: Part 1</title>
		<link>http://drewfrisk.com/automating-sharepoint-2010-part-1</link>
		<comments>http://drewfrisk.com/automating-sharepoint-2010-part-1#comments</comments>
		<pubDate>Thu, 13 Jan 2011 06:35:25 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://drewfrisk.com/?p=127</guid>
		<description><![CDATA[Part 1: Introduction For the last 5 or 6 months I&#8217;ve been working on automating certain aspects of configuration and set-up for SharePoint 2010 using PowerShell.  The biggest challenge I&#8217;ve had with this is the necessity to learn PowerShell throughout the process.  Sometime back in December of 2010 my boss asked me to start looking into PowerShell [...]]]></description>
			<content:encoded><![CDATA[<p>Part 1: Introduction</p>
<p>For the last 5 or 6 months I&#8217;ve been working on automating certain aspects of configuration and set-up for SharePoint 2010 using PowerShell.  The biggest challenge I&#8217;ve had with this is the necessity to learn PowerShell throughout the process.  Sometime back in December of 2010 my boss asked me to start looking into PowerShell and determine the capabilities it had to automate different things within SharePoint.  Needless to say, after about 200 hour of coding I&#8217;ve managed to create 4 PowerShell scripts that save a combined total of about 3 hours of work per site collection, which for us is a pretty spectacular time saver, considering we have 200+ site collections.</p>
<p>So, partly as a resource to myself I&#8217;m going to document each of these scripts into a short series.  I&#8217;ve developed them in such a way that they can easily be taken apart and used for someone&#8217;s specific needs, and I hope they can be of some use  I&#8217;m not sure how many posts the entire series will be, I&#8217;m hoping for around 5 or so.  The tentative plan is as follows:</p>
<ol>
<li>Introduction</li>
<li>Preparing Active Directory for use</li>
<li>Creating and configuring a Site Collection</li>
<li>Changing features and document libraries in bulk ( multiple site collections )</li>
<li>Migrating a Site or Subsite</li>
<li>Conclusion</li>
</ol>
<p>I have no guarantee the subsequent posts will be in that order or contain that specific content, it&#8217;s just more of a guideline.  So thanks for reading, and check back in the near future for the first bit of SharePoint 2010 automation.</p>
]]></content:encoded>
			<wfw:commentRss>http://drewfrisk.com/automating-sharepoint-2010-part-1/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

