June 19, 2007

Resurrection Blues

Is there anyone out there in Munu land who would care to take a look at my old bit of fluff on the net and see what I have done to screw it up? I have "redesigned" the blog (changed the Index and stylesheet) and now am no longer able to post on the new version. The html seems to validate correctly and there are only some minor flaws in the css. The site meter is probably going to go so that code splotch on the bottom will be gone as well. Any help would be appreciated. Thanks

Posted by Guy S at June 19, 2007 01:29 AM | TrackBack
Comments
#1

Guy, you've left all the Movable Type tags out of your template. These tags are what tell the MT engine what bits of actual content to display where.

You can look at the default templates here to see the tags as they are used in the regular templates - tags look like variations of this:

<MTEntries>
<$MTEntryTrackbackData$>

In fact, the chunk of code and tags to display the basic post content with permalink/comment/trackback footer looks like this:

<MTEntries>
<$MTEntryTrackbackData$>

<MTDateHeader>

<h2 class="date">
<$MTEntryDate format="%x"$>
</h2>
</MTDateHeader>

<div class="blogbody">


<a name="<$MTEntryID pad="1"$>"></a>
<h3 class="title"><$MTEntryTitle$></h3>

<$MTEntryBody$>

<MTEntryIfExtended>

<span class="extended"><a href="<$MTEntryPermalink$>#more">Continue reading "<$MTEntryTitle$>"</a></span><br />
</MTEntryIfExtended>

<div class="posted">Posted by <$MTEntryAuthor$> at <a href="<$MTEntryPermalink$>"><$MTEntryDate format="%X"$></a>

<MTEntryIfAllowComments>
| <a href="<$MTCGIPath$><$MTCommentScript$>?entry_id=<$MTEntryID$>" onclick="OpenComments(this.href); return false">Comments (<$MTEntryCommentCount$>;) </a>

</MTEntryIfAllowComments>
<MTEntryIfAllowPings>
| <a href="<$MTCGIPath$><$MTTrackbackScript$>?__mode=view&entry_id=<$MTEntryID$>" onclick="OpenTrackback(this.href); return false">TrackBack (<$MTEntryTrackbackCount$>;) </a>

</MTEntryIfAllowPings>
</div>

</div>

</MTEntries> Without these tags in their proper places, you'll only see design elements without any content.

In addition, many of your address references are incorrect - they mix relative paths with absolute. eg http://snuggharbor.mu.nu/public_html/scripts/showHideComments.js can't be used. It's either /public_html/scripts/showHideComments.js or http://snuggharbor.mu.nu/scripts/showHideComments.js

Your Sitemeter code isn't displaying properly because it's missing the leading "A" in the href, ie it should read a href="http://s19.sitemeter.com...

I can see by the code commenting that someone built the template for you - is there any reason they didn't include the tags? Could you get them to put the tags in for you? There's actually quite a bit of work to do to get them in the correct places in your main content, sidebars, and all the other templates (archive templates, category templates, comment template etc.) It also appears custom CSS was used, so there will need to be some tweaking of the styling in the MT tags as well.

Paul

Posted by Light & Dark at June 19, 2007 03:42 AM
#2

Paul has it, as usual. :) Thanks Paul!

Guy, if you need a copy of the standard templates to work into your new design, let me know.

Posted by Pixy Misa at June 19, 2007 03:38 PM
#3

Just dropped by to give both Paul and Pixy a much belated but heart felt thanks. I have gone an started yet again on making the blog look shinny and new. This time I think I have it close to right. Still need a few odds and ends cleaned up, but for the most part Snugg Harbor is alive and well. Expect posting to begin at any time.

Posted by Guy S. at July 8, 2007 04:12 AM
Live Comment Preview
Post a comment









Remember personal info?