Jump to content

julie

Members
  • Posts

    39
  • Joined

  • Last visited

Everything posted by julie

  1. I'd like my Individual archive pages to look just like my main page (with the sidebar), but I'm confused about which sections I should by copying, what needs to be changed around. Here is my code for the main index: ><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" /> <meta name="generator" content="http://www.movabletype.org/" /> <title><$MTBlogName encode_html="1"$></title> <link rel="stylesheet" href="<$MTBlogURL$>styles-site.css" type="text/css" /> <link rel="alternate" type="application/atom+xml" title="Atom" href="<$MTBlogURL$>atom.xml" /> <link rel="alternate" type="application/rss+xml" title="RSS 1.0" href="<$MTBlogURL$>index.rdf" /> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<$MTBlogURL$>index.xml" /> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="<$MTBlogURL$>rsd.xml" /> <MTBlogIfCCLicense> <$MTCCLicenseRDF$> </MTBlogIfCCLicense> </head> <body> <div id="container"> <body> <div id="banner"> <img src="images/mtbanner2.gif"></img> </div> <div id="center"> <div class="content"> <MTEntries> <$MTEntryTrackbackData$> <MTDateHeader> <h2><$MTEntryDate format="%x"$></h2> </MTDateHeader> <h3 id="a<$MTEntryID pad="1"$>"><$MTEntryTitle$></h3> <$MTEntryBody$> <MTEntryIfExtended> <p class="extended"><a href="<$MTEntryPermalink$>#more">Continue reading "<$MTEntryTitle$>"</a></p> </MTEntryIfExtended> <p class="posted">Posted by <$MTEntryAuthor$> at <a href="<$MTEntryPermalink valid_html="1"$>"><$MTEntryDate format="%X"$></a> <MTEntryIfAllowComments> | <a href="<$MTEntryPermalink archive_type="Individual"$>#comments">Comments (<$MTEntryCommentCount$>)</a> </MTEntryIfAllowComments> <MTEntryIfAllowPings> | <a href="<$MTEntryPermalink archive_type="Individual"$>#trackbacks">TrackBack (<$MTEntryTrackbackCount$>)</a> </MTEntryIfAllowPings> </p> </MTEntries> </div> </div> <div id="right"> <div class="sidebar"> <$MTInclude module="Sidebar Main"$> </div> </div> <div style="clear: both;"> </div> </div> </body> </html> and the code for my individual entry archive: ><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" /> <meta name="generator" content="http://www.movabletype.org/" /> <title><$MTBlogName encode_html="1"$>: <$MTEntryTitle$></title> <link rel="stylesheet" href="<$MTBlogURL$>styles-site.css" type="text/css" /> <link rel="alternate" type="application/rss+xml" title="RSS" href="<$MTBlogURL$>index.rdf" /> <link rel="alternate" type="application/atom+xml" title="Atom" href="<$MTBlogURL$>atom.xml" /> <link rel="start" href="<$MTBlogURL$>" title="Home" /> <MTEntryPrevious> <link rel="prev" href="<$MTEntryPermalink$>" title="<$MTEntryTitle encode_html="1"$>" /> </MTEntryPrevious> <MTEntryNext> <link rel="next" href="<$MTEntryPermalink$>" title="<$MTEntryTitle encode_html="1"$>" /> </MTEntryNext> <MTInclude module="Remember Me"> <$MTEntryTrackbackData$> <MTBlogIfCCLicense> <$MTCCLicenseRDF$> </MTBlogIfCCLicense> </head> <body> <div id="container"> <div id="banner"> <a href="http://www.aftertastebliss.com"> <img src="http://www.aftertastebliss.com/images/mtbanner2.gif" border=0"></a> </div> <div class="content"> <p align="right"> <MTEntryPrevious> <a href="<$MTEntryPermalink$>">« <$MTEntryTitle$></a> | </MTEntryPrevious> <a href="<$MTBlogURL$>">Main</a> <MTEntryNext> | <a href="<$MTEntryPermalink$>"><$MTEntryTitle$> »</a> </MTEntryNext> </p> <h2><$MTEntryDate format="%x"$></h2> <h3><$MTEntryTitle$></h3> <$MTEntryBody$> <div id="a<$MTEntryID pad="1"$>more"><div id="more"> <$MTEntryMore$> </div></div> <p class="posted">Posted by <$MTEntryAuthor$> at <$MTEntryDate$></p> <MTEntryIfAllowPings> <h2 id="trackbacks">Trackback Pings</h2> <p class="techstuff">TrackBack URL for this entry:<br /> <$MTEntryTrackbackLink$></p> <MTIfNonZero tag="MTEntryTrackbackCount"> <p>Listed below are links to weblogs that reference <a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a>:</p> <MTPings> <p id="p<$MTPingID$>"> » <a href="<$MTPingURL$>"><$MTPingTitle$></a> from <$MTPingBlogName$><br /> <$MTPingExcerpt$> <a href="<$MTPingURL$>">[Read More]</a> </p> <p class="posted">Tracked on <$MTPingDate$></p> </MTPings> </MTIfNonZero> </MTEntryIfAllowPings> <MTEntryIfAllowComments> <h2 id="comments">Comments</h2> <MTComments> <div id="c<$MTCommentID$>"> <$MTCommentBody$> </div> <p class="posted">Posted by: <$MTCommentAuthorLink default_name="Anonymous" spam_protect="1"$> <MTCommentAuthorIdentity> at <$MTCommentDate$></p> </MTComments> <MTEntryIfCommentsOpen> <MTIfCommentsAllowed> <h2>Post a comment</h2> <MTIfRegistrationRequired> <MTIfNonEmpty tag="MTTypeKeyToken"> <div id="thanks"> <p>Thanks for signing in, <script type="text/javascript" src="<MTCGIPath><MTCommentScript>?__mode=cmtr_name_js"></script ><script>document.write(commenter_name);</script>. Now you can comment. (<a href="<$MTRemoteSignOutLink static="1"$>">sign out</a>)</p> (If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.) <form method="post" action="<$MTCGIPath$><$MTCommentScript$>" name="comments_form" onsubmit="if (this.bakecookie[0].checked) rememberMe(this)"> <input type="hidden" name="static" value="1" /> <input type="hidden" name="entry_id" value="<$MTEntryID$>" /> <p><label for="url">URL:</label><br /> <input tabindex="1" type="text" name="url" id="url" /> Remember me? <input type="radio" id="remember" name="bakecookie" /><label for="remember">Yes</label><input type="radio" id="forget" name="bakecookie" onclick="forgetMe(this.form)" value="Forget Info" style="margin-left: 15px;" /><label for="forget">No</label><br style="clear: both;" /> </p> <p><label for="text">Comments:</label><br /> <textarea tabindex="2" id="text" name="text" rows="10" cols="50"></textarea></p> <div align="center"> <input type="submit" tabindex="3" name="preview" value=" Preview " /> <input style="font-weight: bold;" tabindex="4" type="submit" name="post" value=" Post " /> </div> </form> </div> <script language="javascript" type="text/javascript"> <!-- if (commenter_name) { document.getElementById('thanks').style.display = 'block'; } else { document.write('You are not signed in. You need to be registered to comment on this site. <a href="<$MTRemoteSignInLink static="1"$>"> Sign in</a>'); document.getElementById('thanks').style.display = 'none'; } // --> </script> <MTElse> ¡Comment registration is required but no TypeKey token has been given in weblog configuration! </MTElse> </MTIfNonEmpty> <MTElse> <MTTemplateNote value="Case of comments not required"> <MTIfNonEmpty tag="MTTypeKeyToken"> <script type="text/javascript" src="<MTCGIPath><MTCommentScript>?__mode=cmtr_name_js"></script > <script language="javascript" type="text/javascript"> <!-- if (commenter_name) { document.write('Thanks for signing in, ', commenter_name, '. Now you can comment. (<a href="<$MTRemoteSignOutLink static="1"$>">sign out</a>)'); } else { document.write('If you have a TypeKey identity, you can <a href="<$MTRemoteSignInLink static="1"$>"> sign in</a> to use it here.'); } // --> </script> </MTIfNonEmpty> <form method="post" action="<$MTCGIPath$><$MTCommentScript$>" name="comments_form" onsubmit="if (this.bakecookie[0].checked) rememberMe(this)"> <input type="hidden" name="static" value="1" /> <input type="hidden" name="entry_id" value="<$MTEntryID$>" /> <div id="name_email"> <p><label for="author">Name:</label><br /> <input tabindex="1" id="author" name="author" /></p> <p><label for="email">Email Address:</label><br /> <input tabindex="2" id="email" name="email" /></p> </div> <MTIfNonEmpty tag="MTTypeKeyToken"> <script language="javascript" type="text/javascript"> <!-- if (commenter_name) { document.getElementById('name_email').style.display = 'none'; } // --> </script> </MTIfNonEmpty> <p><label for="url">URL:</label><br /> <input tabindex="3" type="text" name="url" id="url" /> Remember Me? <input type="radio" id="remember" onclick="rememberMe(this.form)" name="bakecookie" /><label for="remember">Yes</label><input type="radio" id="forget" name="bakecookie" onclick="forgetMe(this.form)" value="Forget Info" style="margin-left: 15px;" /><label for="forget">No</label><br style="clear: both;" /> </p> <p><label for="text">Comments:</label> <MTIfAllowCommentHTML> (you may use HTML tags for style)</MTIfAllowCommentHTML><br/> <textarea tabindex="4" id="text" name="text" rows="10" cols="50"></textarea></p> <div align="center"> <input type="submit" name="preview" tabindex="5" value=" Preview " /> <input style="font-weight: bold;" type="submit" name="post" tabindex="6" value=" Post " /> </div> </form> </MTElse> </MTIfRegistrationRequired> </MTIfCommentsAllowed> <script type="text/javascript" language="javascript"> <!-- if (document.comments_form.email != undefined) document.comments_form.email.value = getCookie("mtcmtmail"); if (document.comments_form.author != undefined) document.comments_form.author.value = getCookie("mtcmtauth"); if (document.comments_form.url != undefined) document.comments_form.url.value = getCookie("mtcmthome"); if (getCookie("mtcmtauth") || getCookie("mtcmthome")) { document.comments_form.bakecookie[0].checked = true; } else { document.comments_form.bakecookie[1].checked = true; } //--> </script> </MTEntryIfCommentsOpen> </MTEntryIfAllowComments> </div> </div> </body> </html> I'm sure this is simple, but I just can't get it right. Any tips? Thanks so much.
  2. i guess i should also point out that i have been using code for two sidebars - one to go on the main page and one to go on the category archive pages. they look identical with the exception that the category tags are MTTopLevelCategories on the archive pages and MTSubCategories on the main page, as per the suggestion i received here. so on the category archive page i refer to the sidebar with the top level categories and on the main page i refer to the sidebar with the subcategories in my MTInclude. Could this be causing some of my anguish? I tried just making them both MTTopLevelCategories, but that didn't seem to fix the problem.
  3. well, i'm back. and you were right. it seemed to me that things looked like they were working out, but i am still having the comments / disappearing categories problem. i actually did try the PHP include, but that didn't work out for me either. what happened was new posts would not show up on the main index page - only on their category archive pages. it was kind of the opposite problem of what was happening before. very frustrating... can you think of anything else i can try? i might just end up designing the site differently so i don't even have to deal with the stupid sidebar problems anymore. but i do like it how it looks now. *sigh*
  4. I think I figured out how to do the MTInclude on my own... hopefully this works. Thanks very much for the idea!
  5. Could you help me out with this part a little bit? So, this is what my sidebar code looks like ><div id="right"> <div class="sidebar"> <div id="categories"> <h2>Restaurants</h2> <MTTopLevelCategories> <MTSubCatIsFirst><ul></MTSubCatIsFirst> <MTIfNonZero tag="MTCategoryCount"> <li><a href="<$MTCategoryArchiveLink$>" title="<$MTCategoryDescription$>"><MTCategoryLabel> (<$MTCategoryCount$>)</a> <MTElse> <li><MTCategoryLabel> </MTElse> </MTIfNonZero> <MTSubCatsRecurse max_depth="3"> </li> <MTSubCatIsLast></ul></MTSubCatIsLast> </MTTopLevelCategories> </div> <div class = "archiveyear"> <h2>About the Site</h2> <font size = 1><font face="verdana">This site is a listing of various restaurants in the Pittsburgh area. Please leave comments often!</font></font> <h2>About the Authors</h2> <font size = 2><font face="verdana"> <a href="http://www.aftertastebliss.com/eatit/nate.html">Nate</a> / <a href="http://www.aftertastebliss.com/eatit/jess.html">Jess</a> / <a href="http://www.aftertastebliss.com/eatit/julie.html">Julie</a> / <a href = "http://www.aftertastebliss.com/eatit/kim.html">Kim</a> </font></font> <h2>Most Recent Comments</h2> <ul><li> <MTComments lastn="10" sort_order="descend"> <p><$MTCommentAuthorLink show_email="0"$> on <MTCommentEntry> <a href="<MTEntryPermalink>#c<$MTCommentID$>"><$MTEntryTitle$></a> </MTCommentEntry> </MTComments> </li></ul> </div> <P> <h2>Ads</h2> <script type="text/javascript"><!-- google_ad_client = "pub-1496540983920775"; google_ad_width = 180; google_ad_height = 150; google_ad_format = "180x150_as"; google_ad_type = "text_image"; google_ad_channel =""; google_color_border = "000066"; google_color_bg = "FFFFFF"; google_color_link = "0000FF"; google_color_url = "008000"; google_color_text = "000000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <p> <script type="text/javascript"><!-- google_ad_client = "pub-1496540983920775"; google_ad_width = 180; google_ad_height = 150; google_ad_format = "180x150_as"; google_ad_type = "text_image"; google_ad_channel =""; google_color_border = "000066"; google_color_bg = "FFFFFF"; google_color_link = "0000FF"; google_color_url = "008000"; google_color_text = "000000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <P> <h2>Search</h2> <div class="link-note"> <form method="get" action="<$MTCGIPath$><$MTSearchScript$>"> <input type="hidden" name="IncludeBlogs" value="<$MTBlogID$>" /> <label for="search" accesskey="4">Search this site:</label><br /> <input id="search" name="search" size="20" /><br /> <input type="submit" value="Search" /> </form> </div> <div class="link-note"> <a href="<$MTBlogURL$>index.rdf">Syndicate this site (XML)</a> </div> <MTBlogIfCCLicense> <div class="link-note"> <a href="<$MTBlogCCLicenseURL$>"><img alt="Creative Commons License" src="<$MTBlogCCLicenseImage$>" /></a><br /> This weblog is licensed under a <a href="<$MTBlogCCLicenseURL$>">Creative Commons License</a>. </div> </MTBlogIfCCLicense> <div id="powered"> Powered by<br /><a href="http://www.movabletype.org">Movable Type <$MTVersion$></a><br /> </div> </div> </div> Should I copy that whole thing into a new index template called Sidebar Index or something like that? Then how would I link the output file to my other templates? Sorry, I have never done that in MT before (I don't think!). Thanks for your help so far!
  6. My site is organized with many categories - on some of the Categories links, when I click on the link, some of the links to the other categories will disappear. The Category name itself will still be there, but it won't be a link anymore. The site is here: http://www.aftertastebliss.com/eatit For example, if you click on the "Aladdin's" category on the left, the Categories "Baja Fresh" and "Vento's Pizza" stop being links and appear as text only. Any ideas why? Those seem to be the only two. Also, I am using Recent Comments. Whenever I click on older entries, it seems like some of the newer comments are dropped off. Is this because they weren't comments yet when that entry was made? Is there any way around this so that I can always list the most recently made comments no matter what entry you are looking at? THANKS!
  7. Hi - I'd like to get a list of my recent entries on my Date-Based Archive Template. I tried copying the code from the main index, but nothing shows up in the actual list. This was the code: ><div class = "recententries"> <h2>Recent Entries</h2> <ul> <MTEntries lastn="8"> <a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a><br> </MTEntries> </ul> </div> I assume it has something to do with the tags, but I'm not sure what I'd have to change. Any tips? Thanks!!
  8. thank you so much! i never would have figured that out on my own.
  9. Hi - I'm trying to change my category archive page to look just like my main index (with the same sidebars, links, etc...) Right now when you click on the category in the main page, it just opens up a plainish page with the posts in that category. I tried copying and pasting the code from my main index page to the category archive page - everything looked fine except that the actual list of categories doesn't show up in the left sidebar. Any thoughts? edit: the actual blog can be found here: http://www.aftertastebliss.com/eatit when you click on one of the categories, it takes you to the category archive page but with no listing of the categories.
  10. ok great, i figured it out. however, i read on another forum that the guy uses: <MTArchiveList archive_type="Monthly"> <MTArchiveDateHeader> <span class="archiveyear"><MTArchiveDate format="%Y"></span> </MTArchiveDateHeader> <a href="<$MTArchiveLink$>"><MTArchiveDate format="%b "></a> </MTArchiveList> with the following styling CODE .archiveyear {font-weight:bold; display:block} where do i put the styling snippet of code in?
  11. Hi everyone, I am trying to get my entries in MT to archive by year so that it looks like the following: 2004: Jan Feb Mar Apr May, etc. 2003: Jan Feb Mar Apr May, etc. i have seen several snippits of code around that will do this and i've seen it done successfully on several sites, but i can't seem to work it out myself. i tried using the Archive Date Header plugin found here http://www.kalsey.com/2002/08/archive_date_header_plugin/ but my results keep looking like the following: 2004: December 2004: November 2004: October etc etc. Anyone have a clue why this isn't working as it should for me?
  12. ok, i got my main site to work... all i did was go to the templates section and rebuilt. now my archives aren't working... any hints?
  13. hi, i just installed movable type today and i'm having similar issues... when i go to my website, i just see the list of files (no index file or anything). i am able to edit entries in movable type, but when i click on "view entry" i get a 404 error. what should my local site path be? the default when i set up my blog was: /home/afterta/public_html/cgi-bin/mt is this right, or should it be something else?
  14. hi, i have sort of a similar question. i've been hosting a site at freeservers.com for a few years and i decided to switch to TCH. Monday evening, I purchased the plan and transferred my domain. Do I have to do anything else or will my address eventually point to my TCH account instead of my old freeservers account? I was just worried that it has been 3 days and nothing seems to have happened yet.
×
×
  • Create New...