Help - Search - Members - Calendar
Full Version: [resolved] build a blog-category archive help
Codegrrl.com Forums > Script Help > Tutorial Help
awwyeah
I just finished the Build a Blog tutorials, and all is well except I have a few questions.

1. Is there a way I can put a link on my sidebar to go to my category archives page? Like I have a link to my archives by month, but I want to be able to list all my categories as well.

2. How do I edit my comments form to match my layout? I know this is basic html, but I'm not sure how to do it. Here is my code:
CODE
<h2>Leave A Comment</h2>
<form method="post" action="process.php">

<p><input type="hidden" name="entry" id="entry" value="<?php echo $id; ?>" />
<input type="hidden" name="timestamp" id="timestamp" value="<?php echo $commenttimestamp; ?>">

<strong><label for="name">Name:</label></strong> <input type="text" name="name" id="name" size="25" /><br />
<strong><label for="email">E-mail:</label></strong> <input type="text" name="email" id="email" size="25" /><br />
<strong><label for="url">URL:</label></strong> <input type="text" name="url" id="url" size="25" value="http://" /><br />
<strong><label for="comment">Comment:</label></strong><br />
<textarea cols="25" rows="5" name="comment" id="comment"></textarea></p>

<p><input type="submit" name="submit_comment" id="submit_comment" value="Add Comment" /></p>

</form>


Thanks!
Amelie
For #1, please see Step 11 of the tutorials again - it tells you how to do this near the bottom.

For #2, CSS is your friend.
awwyeah
Oh, okay. I found it. Thanks! I must have missed it the first time!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.