Blog Master G

Word. And photos, too.

Blog Master G random header image

Entries Tagged as 'site features'

Category Subset Template

Friday, January 23rd, 2004 · 2 Comments

The Objective: Create a page that displays the full text of entries X, Y, and Z, which are a subset of category A. The Problem: Existing category display templates are designed to show only a listing of contents with links to individual posts. Additionally, the need is to display a subset of the category and […]

[Read more →]

Tags: site features

Restricting Blog Access

Wednesday, October 15th, 2003 · 2 Comments

Drastic life changes call for drastic site measures. If you’re reading this today or soon hereafter, either you have the full and direct URL to my blog bookmarked (gabeanderson.com/life/index.php), you’ve stumbled across my home page after finding one of my archives through a Google search, or you’ve contacted me to request site access. I spent […]

[Read more →]

Tags: site features

Random Photos

Wednesday, September 10th, 2003 · 3 Comments

For some reason, I’ve been really into revamping my sidebar lately. The latest addition: Random photos now appear at the top of the sidebar throughout my site. Leveraging my existing random entries script and the thumbnail photos already in my photos section, I created a new table in my database and threw together the following […]

[Read more →]

Tags: site features

My New Home

Tuesday, September 9th, 2003 · 1 Comment

“The homepage is dead, long live the Blog!” –Jordan Reed My site’s primary index template (index.php) now contains the following code (thanks, Ben, for pointing me to the PHP header redirect after realizing that a modification of my .htaccess file would not work for this tweak, due to site content leveraging the /index.php?id=XX format): <?php […]

[Read more →]

Tags: site features

Home Page

Wednesday, September 3rd, 2003 · 4 Comments

Lately, I’ve been questioning the purpose of having a “home page” of my site when my blog is the area of the site that’s updated the most and contains the most content (and, arguably, is the most interesting). Of course, the home page gives the site context and describes each section. But is that necessary? […]

[Read more →]

Tags: site features

MT Random Entries

Friday, August 29th, 2003 · 19 Comments

After using David Raynes’ MTRandomEntries plugin for about a day, I decided I wanted a truly dynamic randomly-generated list of blog entries (especially now that I have more than 700 archives from which to draw). I also wanted to be able to include the list throughout my site, and not just in my blog, which […]

[Read more →]

Tags: site features

Web Hosting

Sunday, April 27th, 2003 · Comments Off on Web Hosting

I recently launched a new services section of my site. In it, I describe the Web consulting and Web hosting services that I now offer. I’m a reseller for TotalChoice Hosting, so if you need your site hosted but need some hand-holding for getting your domain name registered and your site set up, then Gabe […]

[Read more →]

Tags: site features

Counter Accuracy

Thursday, April 17th, 2003 · Comments Off on Counter Accuracy

Today I decided to place my Site Meter counter not only on my blog home page but also on all the other page types in my blog. Why? To get a better representation of the kind of traffic I actually get. People stumble across individual postings in my blog all the time by doing Web […]

[Read more →]

Tags: site features

Master Comments Archive

Wednesday, April 16th, 2003 · 10 Comments

Since one of the elements of my blog that I really value is its functioning as a forum for open discourse, I’ve created a new template to view a listing of all comments to date (link also accessible from right-hand navigation on blog main page and archives page).

[Read more →]

Tags: site features

MySQL/PHP Search with Paging

Monday, April 7th, 2003 · Comments Off on MySQL/PHP Search with Paging

If you want to do simple searches of the data in your MySQL database (and not necessarily static Web files on your site), then read on. This is best and simplest MySQL/PHP search with paging script I’ve come across: Using PHP to search a MySQL database and return paged results Very easy to implement and […]

[Read more →]

Tags: site features