Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-11-10 22:20:09

transformer
New Member
Registered: 2007-11-05
Posts: 2

Text Pattern Solutions

Hi there,
I’m loving this book; it’s really motivated me to buckle down and learn TXP! Maybe I fully missed something in it; I’m following along in the development of the Buzz Bomb site. I d’loaded the files from the FofEd website. (I located the missing images in this forum).

Anyone who’s read or is reading the book: Chapter 8 keeps referencing the ‘prototype’ html to use for the site. Is this a file that should have been included in the downloads? Or is this file one that the reader is expected to write? I don’t want to waste a lot of time starting from scratch and not using tags that aren’t referenced elsewhere in TXP; will if I have to, of course …

Any pointers or suggestions are welcome. Thanks for your help!
Bill Scheider

Offline

#2 2007-11-10 23:13:49

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: Text Pattern Solutions

I believe its found on page 194 but i quickly (so hopefully correctly) replicated it here as a copy-and-paste-ready version of it. just refer to the same page to get a more complete picture as to where your reusable static, and dynamic list/article content areas are.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<title></title>
	<meta name="description" content="" />
	<meta name="keywords" content="" />
	<style type="text/css" media="screen,projection">
		@import 'buzzbomb.css';
	</style>
	<link rel="stylesheet" type="text/css" href="#.css" media="print" />
	<link rel="home" title="Home" href="/" />
	<link rel="search" title="Search this site" href="#" />
	<link rel="author" title="Send feedback" href="#" />
	<link rel="contents" title="Site Map" href="#" />
	<link rel="shortcut icon" type="image/ico" href="#" />
</head>
<body>

<div id="frame">

<div id="header">
	<h1>Buzzbomb</h1>
	<ul>
		<li class="first"><a href="#">Home</a></li>
		<li><a href="#">BuzzBlog</a></li>
		<li><a href="#">Tunes</a></li>
		<li><a href="#">Pics</a></li>
		<li><a href="#">Live</a></li>
		<li><a href="#">Contact</a></li>
	</ul>
</div><!-- ends header -->

<div id="center">
	<div id="content">
		<div id="buzzbloghead">
			<h2>The Latest from the Buzzblog</h2>
			<p><a href="#">Subscribe to the BuzzBlog</a></p>
		</div><!-- ends buzzbloghead -->
		<div class="buzzblogentry">
			<p class="date">November 20, 2007</p>
			<h3>Viva La Baltimore</h3>
			<p>Just got back from the show in Baltimore. What a trip. Broken amps, a missing promoter and some dude with a shotgun, and that was only the opening act. Amazingly, we all made it out alive.</p>
			<p><a href="#">Read the whole sordid tale.</a></p>
		</div><!-- ends buzzblogentry -->

	</div> <!-- ends #content -->
	<div id="sidebar">

		<h4>The Fat Shrapnel Tour</h4>
		<dl class="nextgig">
			<dt>November, 25, 2007</dt>
			<dd>The Trocadero, Philadelphia<br />
			Doors at 8 PM </dd>
		</dl>
		<dl class="upcominggig">
			<dt>November 28, 2007</dt>
			<dd>Washington, DC</dd>
			<dt>Dec 1, 2007</dt>
			<dd>Boston</dd>
			<dt>Dec 3, 2007</dt>
			<dd>NYC</dd>
		</dl>

		<h4>Get "Monkey Funk"</h4>
		<p>Get the <a href="#">latest album</a> from Buzzbomb Monkey Funk, featuring the single "You Dropped a Buzz on Me."</p>
		<h4>Friends</h4>
		<ul class="linklist">
			<li><a href="http://www.m-tronic.com" title="seriously one of the best dark drum'n'bass / industrial / mental music ever created.">Kalteglas</a></li>
		</ul>
	</div> <!-- ends sidebar -->
</div> <!-- ends #center -->

<div id="footer">
	<p>Buzzbomb is built with <a href="http://www.textpattern.com">Textpattern</a>. The band is fake, but the CMS is real. <a href="#">Terms of Use</a></p>
</div> <!-- ends footer -->

</div> <!-- ends frame -->

</body>
</html>

Last edited by iblastoff (2007-11-10 23:16:25)

Offline

#3 2007-11-11 00:51:19

transformer
New Member
Registered: 2007-11-05
Posts: 2

Re: Text Pattern Solutions

iblastoff,
Thanks so much for your quick response — and your heads up on the other caveats! I just stopped looking in the book too quickly, I guess; it is right there two pages further along. I apologize for my impatience — not fully impatient, though. THis book has me very excited about my possibility for finally learning a standards compliant cms. I’ve looked at, and been mostly overwhelmed by a host of cmss over the past year — I’m a designer, not a coder. I kept thinking I’d learn the code I need to learn but, when push came to shove, it just wasn’t my cup o’ tea! The past couple of weeks with TXP has given me new hope that I’ve found something even a non-geek (not that you coders out there are geeks in any objective sense — just relative to me :-))

Again, thanks for taking the time to write out that html.
Bill Scheider

Offline

Board footer

Powered by FluxBB