About the Authors |
|
xv | |
About the Technical Reviewer |
|
xix | |
Acknowledgments |
|
xxi | |
Introduction |
|
xxiii | |
|
|
1 | (16) |
|
|
2 | (1) |
|
|
3 | (2) |
|
|
5 | (1) |
|
|
5 | (2) |
|
|
6 | (1) |
|
|
6 | (1) |
|
|
7 | (1) |
|
|
7 | (2) |
|
|
9 | (1) |
|
Really Simple Syndication (RSS) |
|
|
9 | (1) |
|
|
10 | (1) |
|
|
10 | (1) |
|
|
11 | (1) |
|
|
12 | (1) |
|
|
13 | (3) |
|
|
16 | (1) |
|
Creating a Local Test Environment for Your Blog |
|
|
17 | (60) |
|
Taking a quick look under the hood |
|
|
19 | (3) |
|
What you need to build a local test environment |
|
|
21 | (1) |
|
How much does it all cost? |
|
|
21 | (1) |
|
Why not use an all-in-one package? |
|
|
22 | (1) |
|
|
22 | (7) |
|
Getting Windows to display filename extensions |
|
|
23 | (1) |
|
Installing Apache on Windows |
|
|
23 | (1) |
|
Deciding which port to run Apache on |
|
|
24 | (1) |
|
Removing an existing installation of Apache 1.3 |
|
|
24 | (4) |
|
Starting and stopping Apache on Windows |
|
|
28 | (1) |
|
Changing startup preferences or disabling Apache |
|
|
28 | (1) |
|
Setting up PHP on Windows |
|
|
29 | (4) |
|
Configuring Apache to work with PHP |
|
|
33 | (5) |
|
``Cannot load mysqli extension'' |
|
|
38 | (1) |
|
Enabling support for CGI scripting on Windows |
|
|
38 | (3) |
|
Installing MySQL on Windows |
|
|
41 | (10) |
|
Changing the default table type on Windows Essentials |
|
|
48 | (1) |
|
Starting and stopping MySQL manually on Windows |
|
|
49 | (1) |
|
Using the MySQL monitor on Windows |
|
|
50 | (1) |
|
|
51 | (16) |
|
|
51 | (3) |
|
Where to locate your web files |
|
|
54 | (1) |
|
|
54 | (5) |
|
Enabling support for CGI scripting on Mac OS X |
|
|
59 | (1) |
|
Deciding where to locate CGI scripts |
|
|
59 | (1) |
|
Setting the correct permissions for CGI scripts |
|
|
60 | (1) |
|
Setting up MySQL on Mac OS X |
|
|
61 | (2) |
|
Adding MySQL to your Path |
|
|
63 | (2) |
|
Securing MySQL on Mac OS X |
|
|
65 | (2) |
|
Using MySQL with phpMyAdmin (Windows and Mac) |
|
|
67 | (9) |
|
Setting up your blog database with phpMyAdmin |
|
|
70 | (3) |
|
Backing up and transferring your blog to another server |
|
|
73 | (3) |
|
|
76 | (1) |
|
|
77 | (36) |
|
|
78 | (2) |
|
|
80 | (7) |
|
|
80 | (1) |
|
Configuring and installing Movable Type |
|
|
81 | (1) |
|
Windows paths on local servers |
|
|
82 | (1) |
|
Installing on a local server |
|
|
83 | (1) |
|
Installing on a remote server |
|
|
83 | (1) |
|
Running Movable Type for the first time |
|
|
84 | (3) |
|
|
87 | (5) |
|
Planning and the design brief |
|
|
87 | (1) |
|
Kick-starting the design process |
|
|
87 | (3) |
|
|
90 | (2) |
|
|
92 | (10) |
|
|
92 | (1) |
|
|
93 | (1) |
|
|
94 | (1) |
|
|
94 | (1) |
|
|
94 | (6) |
|
|
100 | (2) |
|
|
102 | (9) |
|
|
102 | (4) |
|
Master archive index template |
|
|
106 | (2) |
|
Category and date-based archives |
|
|
108 | (3) |
|
|
111 | (2) |
|
|
113 | (58) |
|
|
115 | (1) |
|
|
116 | (1) |
|
Installing ExpressionEngine |
|
|
116 | (4) |
|
|
116 | (1) |
|
|
117 | (1) |
|
|
117 | (1) |
|
|
118 | (1) |
|
|
118 | (1) |
|
Place the files on your server |
|
|
118 | (1) |
|
|
118 | (1) |
|
|
119 | (1) |
|
Install the Logical Blocks theme |
|
|
119 | (1) |
|
Run the Installation Wizard |
|
|
119 | (1) |
|
Define settings and user account |
|
|
120 | (1) |
|
Choose the appropriate template |
|
|
120 | (1) |
|
|
120 | (1) |
|
How does ExpressionEngine actually work? |
|
|
120 | (4) |
|
|
121 | (2) |
|
Blogs, custom fields, and categories |
|
|
123 | (1) |
|
|
124 | (1) |
|
|
124 | (9) |
|
|
125 | (1) |
|
Defining Template Group and Template |
|
|
125 | (2) |
|
|
127 | (1) |
|
|
127 | (1) |
|
Define custom blog fields |
|
|
128 | (1) |
|
|
129 | (1) |
|
Specify groups for your blog |
|
|
130 | (1) |
|
Default blog and preferences |
|
|
131 | (2) |
|
|
133 | (1) |
|
|
133 | (3) |
|
|
134 | (1) |
|
|
134 | (1) |
|
|
134 | (1) |
|
|
134 | (1) |
|
|
134 | (1) |
|
|
135 | (1) |
|
|
135 | (1) |
|
|
135 | (1) |
|
Showing data inside the {exp:weblog:entries} tags |
|
|
136 | (1) |
|
|
136 | (1) |
|
Some key {exp:weblog:entries} variables |
|
|
136 | (2) |
|
|
137 | (1) |
|
|
137 | (1) |
|
Custom entry field variables |
|
|
137 | (1) |
|
|
137 | (1) |
|
|
138 | (1) |
|
|
138 | (1) |
|
|
138 | (1) |
|
|
139 | (1) |
|
|
139 | (1) |
|
|
140 | (1) |
|
Showing your category list |
|
|
140 | (1) |
|
Using article titles as headlines |
|
|
141 | (1) |
|
Make it easier with embedding |
|
|
141 | (6) |
|
Embed the main navigation |
|
|
141 | (2) |
|
|
143 | (1) |
|
|
143 | (1) |
|
|
144 | (2) |
|
|
146 | (1) |
|
|
147 | (4) |
|
|
148 | (1) |
|
|
148 | (2) |
|
Comments and comments form |
|
|
150 | (1) |
|
|
150 | (1) |
|
Create some other useful templates |
|
|
151 | (1) |
|
Create the contact template |
|
|
151 | (1) |
|
Create the about template |
|
|
152 | (1) |
|
|
152 | (1) |
|
|
152 | (17) |
|
|
153 | (1) |
|
|
153 | (1) |
|
Ensuring that your CSS affects your templates |
|
|
153 | (1) |
|
|
154 | (1) |
|
|
155 | (1) |
|
Sorting out the masthead and navigation |
|
|
155 | (1) |
|
Locate the Logical Blocks images |
|
|
156 | (1) |
|
Two choices of header layout |
|
|
156 | (2) |
|
|
158 | (1) |
|
|
158 | (1) |
|
|
159 | (1) |
|
|
159 | (1) |
|
|
159 | (1) |
|
|
160 | (1) |
|
Understanding the sidebar links |
|
|
161 | (1) |
|
|
162 | (2) |
|
|
164 | (1) |
|
|
164 | (2) |
|
|
166 | (1) |
|
|
167 | (1) |
|
|
167 | (1) |
|
|
168 | (1) |
|
Strengthening your EE blog |
|
|
169 | (1) |
|
|
169 | (1) |
|
|
169 | (1) |
|
|
169 | (1) |
|
|
169 | (1) |
|
|
170 | (1) |
|
|
170 | (1) |
|
|
171 | (44) |
|
|
173 | (1) |
|
|
173 | (2) |
|
|
174 | (1) |
|
Understanding the WordPress Codex |
|
|
174 | (1) |
|
|
174 | (1) |
|
|
175 | (1) |
|
|
175 | (1) |
|
|
175 | (5) |
|
Downloading and installing WordPress |
|
|
175 | (5) |
|
|
180 | (3) |
|
Displaying your blog posts |
|
|
180 | (1) |
|
Advantages of pretty permalinks |
|
|
181 | (1) |
|
|
182 | (1) |
|
|
183 | (6) |
|
|
183 | (1) |
|
|
184 | (1) |
|
|
184 | (1) |
|
|
185 | (2) |
|
|
187 | (1) |
|
|
188 | (1) |
|
Content types in WordPress |
|
|
189 | (1) |
|
|
189 | (1) |
|
|
190 | (1) |
|
|
190 | (1) |
|
|
190 | (1) |
|
|
191 | (5) |
|
|
191 | (1) |
|
|
191 | (1) |
|
|
191 | (1) |
|
|
192 | (1) |
|
|
192 | (1) |
|
|
192 | (1) |
|
|
192 | (1) |
|
|
192 | (1) |
|
|
192 | (1) |
|
|
192 | (1) |
|
|
192 | (1) |
|
|
192 | (1) |
|
|
193 | (1) |
|
|
193 | (1) |
|
|
193 | (1) |
|
|
193 | (1) |
|
Taking a closer look at the code |
|
|
193 | (3) |
|
Working with template pages |
|
|
196 | (8) |
|
|
197 | (1) |
|
|
197 | (1) |
|
|
197 | (1) |
|
|
197 | (1) |
|
|
197 | (1) |
|
|
197 | (1) |
|
|
198 | (3) |
|
Customizing an existing template |
|
|
201 | (3) |
|
Advanced templating in WordPress |
|
|
204 | (9) |
|
Templates, posts, Pages, and plug-ins |
|
|
204 | (1) |
|
So let's get into some code |
|
|
204 | (1) |
|
|
205 | (1) |
|
|
205 | (1) |
|
|
205 | (1) |
|
Hidden spiffiness abounds |
|
|
206 | (1) |
|
Context-sensitive information is the bee's knees |
|
|
207 | (1) |
|
Let's write some code, shall we? |
|
|
207 | (2) |
|
Now for the payoff---making it all work |
|
|
209 | (1) |
|
There's no place like Home |
|
|
209 | (1) |
|
And that matters to me Why exactly? |
|
|
210 | (1) |
|
How am I displaying all this info if I am not hitting the database for it? |
|
|
210 | (1) |
|
|
210 | (3) |
|
And there you have it . . .a letter opener |
|
|
213 | (1) |
|
|
213 | (2) |
|
|
215 | (58) |
|
|
216 | (1) |
|
This chapter and the future of TxP |
|
|
217 | (1) |
|
|
217 | (1) |
|
|
217 | (1) |
|
|
218 | (9) |
|
Download and unzip the core files |
|
|
218 | (1) |
|
|
219 | (1) |
|
|
220 | (2) |
|
|
222 | (1) |
|
|
223 | (1) |
|
|
223 | (1) |
|
|
224 | (1) |
|
Creating the config.php file |
|
|
225 | (2) |
|
|
227 | (1) |
|
|
228 | (1) |
|
|
229 | (4) |
|
|
229 | (1) |
|
|
229 | (1) |
|
|
230 | (1) |
|
|
231 | (1) |
|
|
231 | (1) |
|
|
232 | (1) |
|
|
232 | (1) |
|
|
232 | (1) |
|
|
232 | (1) |
|
|
232 | (1) |
|
|
233 | (1) |
|
The site name and the site slogan |
|
|
233 | (1) |
|
|
234 | (1) |
|
What is the purpose of your blog? |
|
|
234 | (1) |
|
|
234 | (2) |
|
|
236 | (2) |
|
|
236 | (1) |
|
|
236 | (2) |
|
|
238 | (4) |
|
Modifying the page template |
|
|
239 | (3) |
|
|
242 | (1) |
|
|
243 | (1) |
|
Uploading the image slices |
|
|
244 | (2) |
|
Adding the image slices to the design |
|
|
245 | (1) |
|
More thoughts on semantics |
|
|
246 | (1) |
|
|
246 | (1) |
|
Rogue white space and other undesirable behavior |
|
|
247 | (1) |
|
A first look at a blog post |
|
|
247 | (2) |
|
|
247 | (1) |
|
Adding some extra content |
|
|
248 | (1) |
|
Why a browser with good CSS support is important |
|
|
249 | (1) |
|
Allowing for content length |
|
|
250 | (2) |
|
|
252 | (1) |
|
|
253 | (6) |
|
My Site and My Pithy Slogan |
|
|
253 | (1) |
|
Move browse and search forms |
|
|
254 | (1) |
|
Sort out links at bottom of the page |
|
|
255 | (2) |
|
Adding a little color to the text |
|
|
257 | (1) |
|
|
258 | (1) |
|
|
259 | (2) |
|
Messy permanent link mode |
|
|
260 | (1) |
|
Modify the httpd.conf file |
|
|
260 | (1) |
|
Creating an archive section and page template |
|
|
261 | (7) |
|
Page template and TxP forms |
|
|
262 | (3) |
|
|
265 | (3) |
|
A quick look at the default form |
|
|
268 | (1) |
|
|
269 | (1) |
|
|
269 | (1) |
|
|
269 | (1) |
|
|
270 | (1) |
|
|
270 | (1) |
|
|
270 | (1) |
|
|
270 | (1) |
|
|
270 | (1) |
|
|
271 | (2) |
|
Write Your Own Blog Engine |
|
|
273 | (66) |
|
A content management system |
|
|
274 | (4) |
|
|
274 | (1) |
|
|
275 | (1) |
|
|
275 | (1) |
|
|
276 | (2) |
|
Building the administration site |
|
|
278 | (19) |
|
Creating a screen for adding a post |
|
|
278 | (7) |
|
Creating a screen for updating a post |
|
|
285 | (7) |
|
Creating a screen for listing posts |
|
|
292 | (2) |
|
|
294 | (1) |
|
|
295 | (1) |
|
|
296 | (1) |
|
|
297 | (37) |
|
|
298 | (7) |
|
|
305 | (1) |
|
Automatically formatting posts |
|
|
306 | (2) |
|
Headers, footers, and other reusable elements |
|
|
308 | (2) |
|
|
310 | (2) |
|
|
312 | (6) |
|
|
318 | (7) |
|
Making your blog searchable |
|
|
325 | (3) |
|
Indexing your blog database |
|
|
328 | (1) |
|
|
329 | (5) |
|
|
334 | (2) |
|
|
334 | (2) |
|
|
336 | (1) |
|
|
336 | (1) |
|
|
336 | (1) |
|
Post and comment previews |
|
|
337 | (1) |
|
Advanced formatting of posts |
|
|
337 | (1) |
|
|
337 | (1) |
|
|
337 | (2) |
Index |
|
339 | |