<?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>archGFX &#187; squible</title>
	<atom:link href="http://archgfx.net/tag/squible/feed" rel="self" type="application/rss+xml" />
	<link>http://archgfx.net</link>
	<description>Austin web designer - Adam Freetly</description>
	<lastBuildDate>Thu, 19 Apr 2012 18:01:04 +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>WordPress CMS: Sane Menus</title>
		<link>http://archgfx.net/blog/2006/geek/blogging/wordpress-cms-sane-menus</link>
		<comments>http://archgfx.net/blog/2006/geek/blogging/wordpress-cms-sane-menus#comments</comments>
		<pubDate>Sat, 19 Aug 2006 15:00:44 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[squible]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://archgfx.net/blog/2006/asides/wordpress-cms-sane-menus</guid>
		<description><![CDATA[Over the past couple days i've moved my entire portfolio from static HTML pages to wordpress pages. for the moment i'm using one template for all of them. With static HTML I was using 1 template per project, which let me show only the current project's pages in the side menu, and the list of [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past couple days i've moved my entire portfolio from static <acronym title='HyperText Markup Language'><span class='caps'>HTML</span></acronym> pages to wordpress pages.  for the moment i'm using one template for all of them.  With static <acronym title='HyperText Markup Language'><span class='caps'>HTML</span></acronym> I was using 1 template per project, which let me show only the current project's pages in the side menu, and the list of projects in the top menu.  (<a href="http://archgfx.net/redirection/modeling.html" title="a page in one of the projects">example</a>).  With Using 1 template, it's tempting to use <code>&lt;?php wp_list_pages() ?&gt;</code> to generate the side menu.  except that i have A LOT of pages.  38 at last count.  So I want the side menu to only show the list of projects, and the list of subpages for the current project.</p>
<p>While I could do something like hiding <code>.pagelist ul ul ul</code> in <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym>, and then making <code>.pagelist ul li.current_page_item</code> visible, the nexted lists under <code>.current_page_item</code> always looked kind of stupid, since there's no way to style them individually.  So I looked to <a href="http://www.squible.com" title="my still favorite theme for hacking">squible</a>.  because I remembered <a href="http://www.karrderized.com/" title="James Carppe, Code Guru for Squibble">karrde</a> dealing with a submenu that showed other children of the current page's parent.  so now my menu looks like this:</p>
<p><span id="more-772"></span><br />
<code>&lt;div class="floatmenu"&gt;<br />
&lt;h2 id="page-title""&gt;Mapping&lt;/h2&gt;<br />
&lt;ul class="pagelist"&gt;<br />
&lt;?php wp_list_pages('exclude=164,202&amp;sort_column=menu_order&amp;depth=2&amp;title_li='); ?&gt;<br />
&lt;/ul&gt;<br />
&lt;h2 id="page-title""&gt;Contents&lt;/h2&gt;<br />
&lt;ul class="pagelist"&gt;&lt;li&gt;&lt;ul&gt;<br />
&lt;?php /* karrde is a GOD.  this comes from squible */<br />
$kids = get_pages('child_of='. $post-&gt;ID);<br />
if (count($kids) &gt; 0) {<br />
wp_list_pages('depth=1&amp;sort_column=menu_order&amp;title_li=&amp;child_of='. $post-&gt;ID);<br />
} else {<br />
if ($post-&gt;post_parent != 0) {<br />
wp_list_pages('depth=1&amp;sort_column=menu_order&amp;title_li=&amp;child_of='. $post-&gt;post_parent);<br />
}<br />
}<br />
?&gt;<br />
&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;<br />
&lt;/div&gt;&lt;!-- floatmenu --&gt;<br />
</code></p>
<p>Now we get two menus, one of which shows projects and graphics, and their subpages (sortdepth=2 hides the subpages of the projects).  The second menu shows only the children the current page, or the children of current page's parent.  Works great for pages inside a project (<a href="http://www.archgfx.net/blog/index.php/projects/redirection/modeling/" title="the same page from before, inside wordpress">example</a>), or project pages (<a href="http://www.archgfx.net/blog/index.php/projects/redirection/" title="The front page of each project is a 2nd level page.">example</a>).  But when you're looking at Projects or Graphics, you get the same sub pages listed twice.  Fixing that also fixed the styling issues with having a nested list in <code>.current_page_item</code>:</p>
<p><code>.pagelist .current_page_item li {<br />
display: none;<br />
}</code></p>
<p>HA! I love it.  This won't work for every <acronym title='Content Management System'><span class='caps'>CMS</span></acronym> use of wordpress.  It works for me because i have relatively few 1st and 2nd level pages, and a whooooole lot of 3rd level pages.</p>
<h3>Bookmark This:</h3>
<p><a href="http://del.icio.us/post?url=http://sunburntkamel.archgfx.net/2006/08/19/wordpress-cms-sane-menus/;title=Wordpress+<acronym title='Content Management System'><span class='caps'>CMS</span></acronym>+Sane+Menus"><img src="http://sunburntkamel.wordpress.com/files/2006/11/delicious.gif" alt="add to del.icio.us" /></a> :: <a href="http://digg.com/submit?phase=2&amp;url=http://sunburntkamel.archgfx.net/2006/08/19/wordpress-cms-sane-menus/"><img src="http://sunburntkamel.wordpress.com/files/2006/11/digg.gif" alt="Digg it" /></a> :: <a href="http://ma.gnolia.com/bookmarklet/add?url=http://sunburntkamel.archgfx.net/2006/08/19/wordpress-cms-sane-menus/;title=Wordpress+<acronym title='Content Management System'><span class='caps'>CMS</span></acronym>+Sane+Menus"><img src="http://sunburntkamel.wordpress.com/files/2006/11/magnolia.gif" alt="add to ma.gnolia" /></a> :: <a href="http://www.stumbleupon.com/submit?url=http://sunburntkamel.archgfx.net/2006/08/19/wordpress-cms-sane-menus/;title=Wordpress+<acronym title='Content Management System'><span class='caps'>CMS</span></acronym>+Sane+Menus"><img src="http://sunburntkamel.wordpress.com/files/2006/11/stumbleit.gif" alt="Stumble It!" /></a> :: <a href="http://www.newsvine.com/_tools/seed&amp;save?url=http://sunburntkamel.archgfx.net/2006/08/19/wordpress-cms-sane-menus/;title=Wordpress+<acronym title='Content Management System'><span class='caps'>CMS</span></acronym>+Sane+Menus"><img src="http://sunburntkamel.wordpress.com/files/2006/11/newsvine.gif" alt="seed the vine" /></a> :: <a href="http://tailrank.com/share/?text=&amp;link_href=http://sunburntkamel.archgfx.net/2006/08/19/wordpress-cms-sane-menus/&amp;title=Wordpress+<acronym title='Content Management System'><span class='caps'>CMS</span></acronym>+Sane+Menus" title="TailRank"><img src="http://sunburntkamel.wordpress.com/files/2006/11/tailrank.gif" alt="TailRank"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://archgfx.net/blog/2006/geek/blogging/wordpress-cms-sane-menus/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>squible reboot</title>
		<link>http://archgfx.net/blog/2006/geek/blogging/squible-reboot</link>
		<comments>http://archgfx.net/blog/2006/geek/blogging/squible-reboot#comments</comments>
		<pubDate>Thu, 13 Jul 2006 14:57:42 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[archgfx]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[squible]]></category>

		<guid isPermaLink="false">http://archgfx.net/blog/2006/asides/squible-reboot</guid>
		<description><![CDATA[squiblereboot.png Originally uploaded by sunburntkamel. yeah, that whole idea of giving squible a sidebar is giving me second thoughts. i still love having a sidebar. but the way things are sliced, i have to be on tiptoes about not having my sidebar get longer than my content. that means i've already maxed out my neat [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/sunburntkamel/184565814/" title="photo sharing"><img src="http://static.flickr.com/70/184565814_54786aad3d_m.jpg" /></a><br />
<a href="http://www.flickr.com/photos/sunburntkamel/184565814/">squiblereboot.png</a></p>
<p>Originally uploaded by <a href="http://www.flickr.com/people/sunburntkamel/">sunburntkamel</a>.</p>
<p>yeah, that whole idea of giving squible a sidebar is giving me second thoughts.<br />
i still love having a sidebar.  but the way things are sliced, i have to be on tiptoes about not having my sidebar get longer than my content.  that means i've already maxed out my neat little friends area. boo.<br />
also, i have a very small amount of information i can store in my bottom block.  so i have 2 options:<br />
<b>option 1:</b><br />
keep the black sidebar, but split it at the seam in the main panel, so that i can fit more in the bottom block, and let the sidebar flow down past the bottom of the squiggly.<br />
problems:</p>
<ol>
<li>the bottom edge of the squiggly isn't clean.  i don't want to re-render to make it such</li>
<li>i have to double all of my <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> selectors.  the <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> is already 12Kb</li>
</ol>
<p><b>option 2:</b><br />
flip the sidebar to the left side, and widen the images.  dispose of the black section altogether.  despite the fact that i <i>really like</i> the black section, this will make the blog more aesthetically similar to other sections of the site.<br />
problems:</p>
<ol>
<li>requires re-slicing the images.</li>
<li>left sidebar on a right-weighted image:  might draw your eye to the content, might just be completely unbalanced.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://archgfx.net/blog/2006/geek/blogging/squible-reboot/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.0 Sucks</title>
		<link>http://archgfx.net/blog/2006/geek/blogging/wordpress-20-sucks</link>
		<comments>http://archgfx.net/blog/2006/geek/blogging/wordpress-20-sucks#comments</comments>
		<pubDate>Tue, 24 Jan 2006 23:30:58 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[2.0]]></category>
		<category><![CDATA[noteworthy]]></category>
		<category><![CDATA[squible]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://archgfx.net/blog/2006/asides/wordpress-20-sucks</guid>
		<description><![CDATA[i told myself i wouldn&#39;t upgrade my main blog. i told myself i was happy enough with the feature set of 1.5.2. since 2.0 fixed no security bugs, there was no reason to upgrade. especially after upgrading my test blog had gone so badly. (upgrading from 2.0 RC1). but then i found out that squible [...]]]></description>
			<content:encoded><![CDATA[<p>i told myself i wouldn&#39;t upgrade <a href="http://archgfx.net/blog" title="a laundry list of hand-wringing apologies">my main blog</a>.  i told myself i was happy enough with the feature set of 1.5.2.  since 2.0 fixed no security bugs, there was no reason to upgrade.  especially after upgrading my <a href="http://www.archgfx.net/test">test blog</a> had gone so badly. (upgrading from 2.0 RC1).<br />
but then i found out that squible beta 1 would be 2.0 only.  i love <a href="http://www.squible.com">squible</a>, and i wanted the new features beta 1 promised. so i upgraded.</p>
<p>fortunately, i fared better this time.  my upgrade actually took.  but saying it worked would be quite a stretch.  first thing to happen: <a href="http://wordpress.org/support/topic/53261?replies=49" title="wordpress support">none of my admin panels would open</a> (except the dashboard).  fortunately logging out and dumping the cache worked.</p>
<p>second thing i noticed:  my feed stopped working.  well, actually feedburner just says the root of the document is malformed.  what&#39;s a blog without a feed?  1999.</p>
<p>thrid thing i noticed:  squible is now spewing mySQL errors.  ok, switch to another theme.  k2 is spewing fewer errors.  but there are no post pages.  no, wait,  all of my permalinks are broken.  after a whole lot of futzing, i try editting the blog URI, because everything seems to be missing the &#39;index.php&#39; section of the address.</p>
<p>now my blog&#39;s completely fucked.  it can&#39;t read it&#39;s stylesheet, i can&#39;t use any of the admin pages, so i can&#39;t even fix the error.  i try digging through phpMyAdmin, but i&#39;m not an <acronym title='Structured Query Language'><span class='caps'>SQL</span></acronym> expert, so i have no idea where to find or how to fix the blog URI value.  as of writing, <a href="http://wordpress.org/support/topic/58004?replies=2" title="wordpress support">no one&#39;s responded</a> on the support forums.</p>
<p>the thing that pisses me off is posts like this by wordpress team members, who make it seem like there&#39;s something wrong with you if you&#39;re not upgrading.</p>
<p>i ran a test blog, i ran the release candidates, but what was released barely resembled the release candidates.  what was released was as stable as my ass after a couple burritos.</p>
<p>so as soon as i can, i&#39;ll be removing 2.0, reinstalling 1.5.2, and most likely having to wipe and re-import my database.  (the downgrade script notwithstanding)(i think if i try the downgrade script i&#39;ll have the same blog URI issue with 1.5.2).</p>
]]></content:encoded>
			<wfw:commentRss>http://archgfx.net/blog/2006/geek/blogging/wordpress-20-sucks/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Why i use squible, and how it could be better</title>
		<link>http://archgfx.net/blog/2005/geek/blogging/why-i-use-squible-and-how-it-could-be-better</link>
		<comments>http://archgfx.net/blog/2005/geek/blogging/why-i-use-squible-and-how-it-could-be-better#comments</comments>
		<pubDate>Thu, 15 Dec 2005 19:46:42 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[squible]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://archgfx.net/blog/2005/asides/why-i-use-squible-and-how-it-could-be-better</guid>
		<description><![CDATA[Dramaking Originally uploaded by OllyHart. despite being super slick looking, this image is a great example of what's wrong with 90% of blogs. scrolling. and scrolling. and more scrolling. it's the freebird of user interfaces. squible defaults to posting only an excerpt of one entry, and linking to the rest. i'm not sure about excerpting [...]]]></description>
			<content:encoded><![CDATA[<div><a title="photo sharing" href="http://www.flickr.com/photos/ollyhart/67214304/"><img src="http://static.flickr.com/31/67214304_570bada6ea_m.jpg" /></a><br />
<a href="http://www.flickr.com/photos/ollyhart/67214304/">Dramaking</a></p>
<p>Originally uploaded by <a href="http://www.flickr.com/people/ollyhart/">OllyHart</a>.</div>
<p>despite being super slick looking, this image is a great example of what's wrong with 90% of blogs.</p>
<p>scrolling.  and scrolling.  and more scrolling.<br />
it's the freebird of user interfaces.  squible defaults to posting only an excerpt of one entry, and linking to the rest.  i'm not sure about excerpting the post, but showing only one post at a time is much better.  linking to old articles in the next spot down ensures that anyone used to reading blogs will at least have something to click on, even if the miles of old entries aren't there.</p>
<p>still, there are some things that aren't intuitive.  when you go into any archive page, all you get are excerpts.  excerpts stripped of any formatting, and with no (read more...) link.  especially in the case of the asides category, this isn't the most usable.<br />
asides are generally a quick post with a link.  if there's no link, why are we reading it?  might as well just be a headline.<br />
simple enough to fix, i just need the time to do it.</p>
]]></content:encoded>
			<wfw:commentRss>http://archgfx.net/blog/2005/geek/blogging/why-i-use-squible-and-how-it-could-be-better/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>squible&#8217;s absent blogroll</title>
		<link>http://archgfx.net/blog/2005/geek/blogging/squibles-absent-blogroll</link>
		<comments>http://archgfx.net/blog/2005/geek/blogging/squibles-absent-blogroll#comments</comments>
		<pubDate>Mon, 28 Nov 2005 18:37:00 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[squible]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://archgfx.net/blog/2005/asides/squibles-absent-blogroll</guid>
		<description><![CDATA[wordpress is really excellent. so is squible's theme. it's so good, it makes me want more. since squible doesn't use a sidebar (which is a blessing and a curse), there's no place to put your blogroll. i built mine into the bottom section anyway, but i also added a friends page, a bit like livejournal. [...]]]></description>
			<content:encoded><![CDATA[<p>wordpress is really excellent.<br />
so is squible's theme.<br />
it's so good, it makes me want more.<br />
since <a title="squible theme" href="http://www.squible.com/my-work/squible/">squible</a> doesn't use a sidebar (which is a blessing and a curse), there's no place to put your blogroll.  i built mine into the bottom section anyway, but i also added a <a title="friends page" href="http://www.archgfx.net/blog/index.php/friends/">friends page</a>, a bit like livejournal.  but right now it's a manually editted list running through the CG-Feedreed plugin.  i need to find a way to make it automatic, have some wordpress tags in there to grab the rss feeds from my friends list.</p>
]]></content:encoded>
			<wfw:commentRss>http://archgfx.net/blog/2005/geek/blogging/squibles-absent-blogroll/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

