Search

Phrase

Display

 

Category

   

Order

 

Pagesize

Results

55 hits123

21. Comment Highlighting: Static or Dynamic

MovableTweak, Tutorials, 30 KB, 1649 words

You've seen it before. An article gets hot and soon you have 50 to 60 comments attached to it. Getting in on the tail end of the conversation can be annoying with that many posts to wade through. So we create a handy little convention that will highlight (change the class of) the comments posted by the author of the post.

There are many, many ways this can be done (plugins, php, etc.) and even more ways to implement it (mutliple author highlighting, specific images for certain commenters, etc.), but we're going to look at two important facets: static and dynamic.

Static vs. Dynamic

This is a debate which we will leave to the professionals. I will only...

continue reading ...

22. Breaking Plugins

Movalog, Tutorials, 29 KB, 1118 words

UPDATED 09/10: There was a problem with the files as phps so I've zipped them UPDATED 09/04: To fix SmartyPants

So you've downloaded the very new 3.1 with all the amazing features but you've found one problem, your plugins no longer work with the dynamic templating. Well its not only plugins, text filters also no longer work.... Here are some methods by which you can combat this problem, some may not work in all cases but its better than nothing for other cases.

• Text Filters In a previous tutorial I had linked to PHP Markdown, but a few people have contacted me about Textile as well. So I have collected PHP versions of Markdown, Textile and SmartyPants Just download the following...

continue reading ...

23. MT InlineEditor 1.1

Movalog, Tutorials, 31 KB, 993 words

This new version introduces inline editing for comments by the commenters. A cookie is set when the person hits the post button on the comment form. The cookie is set to expire in 5 minutes so the person must make any edits within five minutes.

Download MT-InlineEditor_1.1.zip. Preserve the directories in the zip starting from your root MT directory (therefore files in the extlib/ folder in the zip go into MT's extlib/ directory and mt-ie-cookiecheck.php goes into your root mt directory etc.)

For every blog you want this enabled on, you will need to create two index templates of the two text files in the zip (mt-inlineeditor.php and mt-inlineeditor.js) I've used MT Tags in those...

continue reading ...

24. MT-Notifier 2.4.1

Don't Back Down, News, 18 KB, 1108 words

Another update to MT-Notifier, which fixes a small bug with purging a user record from within the management screen. This worked okay if you were purging your own record, but if you were accessing the user interface from your Movable Type main menu (logged into the system), when you purged user data, you were kicked out of management mode and had to start over (the data was purged, however). This has been fixed. I also added a small log entry to record the number of notifications sent during any particular notification run. Thanks to Simon for another excellent (and easy to implement!) suggestion.

continue reading ...

26. Using PHP Code In Templates

Six Apart Knowledgebase, Manuals, 29 KB, 675 words

Question

Can I use PHP code in my templates?

Answer

Movable Type templates generate standard HTML pages; so any coding language which can be used in a standard web page can also be included in your templates.

Here are some important tips to remember about using PHP in your templates:

No shortcut tags in dynamic templates

If you are using PHP in a dynamic template, you should not use the "shortcut" opening tag: <?

Instead, you should use the full version: <?php

Template Tags are processed differently in static templates than...

continue reading ...

27. Movalog: Dynamic Archives

Movalog, Tutorials, 23 KB, 750 words

Page: 1 1 Page.

Dynamic Publishing - Pros and Cons

Discussion cross posted on Movalog and Learning Movable Type One of the key features that Six Apart promotes about Movable Type is MT's ability to publish dynamically. What is dynamic publishing? And what are the benefits (and downsides) to dynamic...

Continue reading "Dynamic Publishing - Pros and Cons"

Posted on 05/28/2005 | Permalink | Comments (1)

Troubleshooting Smarty Errors

Tutorial cross posted on Movalog and Learning Movable Type If you move from static publishing to dynamic publishing in Movable Type, you may encounter a variety of confusing error messages in Smarty, the system...

continue reading ...

28. Developing with the Movable Type Perl API

Six Apart User Manual, Manuals, 24 KB, 691 words

Developing with the Movable Type Perl API

Problems

You want to extend Movable Type and develop an extension to the base system.

Solutions

Six Apart provides numerous resources to get you started with developing including tutorials and MT source code documentation.

Discussion

Movable Type's open code base and APIs (Application Programmers Interface) make the browser-based tool quite flexible and easily modifiable, allowing it to adapt to any number of publishing applications. Here are some pointers to that will get you started.

Perl API

The Movable Type code is written in an...

continue reading ...

29. ProNet: August 2004 Archives

Six Apart ProNet Weblog, News, 17 KB, 615 words

08.31.2004

Dynamic Template Tutorials

If you're working with Movable Type 3.1's new support for dynamic templates, you'll want to check out some of the great tutorials created by community members during the beta. Gregory Blake has a good overview and tbuddy digs into the details of updating your .htaccess, if necessary. Nice work, guys!

Posted by Anil in at 01:00 PM | Permalink | Trackback (0)

08.30.2004

Plugins Directory Relaunches

The Movable Type Plugins Directory has relaunched as an official Six Apart website, featuring a whole new look, a simpler organization, and a list of plugins which have been tested with Movable Type 3.0.

Take a look through the new...

continue reading ...

30. Introduction

Six Apart User Manual, Manuals, 33 KB, 2011 words

Introduction

Movable Type is the premier weblog publishing platform for businesses, organizations, developers, and web designers. Powerful customization gives you control over everything you publish and the elegant interface keeps things simple and clear.

Features

• Unlimited Blogging

Movable Type offers the ability to publish an unlimited number of blogs quickly and easily through a single installation of the application. And the platform supports posting by as many authors as you need, with no limit on the numbers of entries, comments, or TrackBacks the system...

continue reading ...

31. Dynamic Templating

Movalog, Tutorials, 27 KB, 933 words

I further discussed my previous post with many pepole and felt I needed to clarify some doubts I and many others had about the new dynamic MT, so here's a follow up post ! Brad explained how the new MT/Smarty/PHP system will work. The template gets pulled from the database; there is a pass over it to make it smarty-compatible; then it gets executed by smarty. so if you have a real simple template like this: <MTEntries> <MTEntriesHeader><ul></MTEntriesHeader> <li><MTEntryTitle></li> <MTEntriesFooter></ul></MTEntriesFooter> </MTEntries>

it gets changed to this: {Entries} {EntriesHeader}<ul>{/EntriesHeader} <li>...

continue reading ...

32. An Overview of the MT Program File Directories

Learning Movable Type, Tutorials, 23 KB, 1236 words

What do all these folders do?

This tutorial is written by LMT guest author Arvind Satyanarayan of Movalog.

There are several folders in the default distribution of Movable Type. This tutorial will attempt to guide you through them all so that you feel more comfortable with what they do and contain.

extlib/

This directory contains perl libraries and files that support Movable Type. These are the modules that are needed by Movable Type to run (for example those modules listed in mt-check.cgi are normally found here) Some plugins also require some special perl modules to be installed, and normally you can install these perl modules into the extlib/ directory. For example, the BlogTimes plugin requires the GD perl module to be installed. Obviously you can get your host to install it and then that module would be available server wide. However, if you uploaded the files provided on the BlogTimes page into your extlib/ directory, you would have the GD module installed just for your installation without having to go to your host....

continue reading ...

33. Advanced Topics Archives

Six Apart User Manual, Manuals, 62 KB, 5230 words

With broad platform integration of all the leading open standards, Movable Type has the potential to do much more, given additional expertise and knowledge on the user's part.

This chapters covers some of the more advanced features in addition to providing a starting point for more advanced topics not covered in this publication.

Architectural Overview

Movable Type is written in a highly modular Perl object-oriented style with an open code base (it's not open source -- an important distinction) that makes the browser-based tool quite flexible and easily modifiable, allowing it to adapt to any number of...

continue reading ...

35. PHP, CGI, and MT: Together at Last

MezzoBlue, Tutorials, 17 KB, 1470 words

A long-standing problem with Movable Type's templating system is that the Perl-based .cgi files it relies on don't allow for the use of PHP. That's changing though.

The lovely and talented Shaun Inman wrote up his method of using PHP includes to pull in CGI data back in January, which allowed him to pass a query string to the script using HTTP GET. Technical details are at Shaun's, go read and come back when you're done.

Using his thinking as a starting point, I spent some time a few weeks back tweaking to solve another Movable Type problem - the comment preview pages that are so often the neglected children of sites like, say, this one.

The problem is that I use PHP...

continue reading ...

36. Dynamic Publishing Rocks

Don't Back Down, Tutorials, 11 KB, 626 words

I know. Movable Type isn't designed to be a completely dynamic publishing system. If you use dynamic publishing, you risk your site going down because it takes more resources or MySQL isn't running. While valid, I'm less concerned about that last point, as a part of the site that I enjoy is the commenting process. Without MySQL, comments won't happen either. Plus, I love what I can do with Smarty.

So I'm staking my hopes on my site, and more specifically, MySQL, continuing to run, and I'm making most of the site dynamic in nature. The biggest change recently was the introduction of comment pagination - this means if there are a billion comments on an entry, they don't all load at...

continue reading ...

37. The DB and Dynamic Publishing

Movalog, Tutorials, 34 KB, 1558 words

Seeing as how Elise is having fun with PHP and databases I though I'd show you how to easily play around with the database in dynamic publishing. This is all stuff I've picked up when talking to Brad Choate, the man behind the amazing dynamic system.

Movable Type 3.1+ comes with a dynamic publishing system that has EZSQL rolled in for all the SQL databases MT supports and as a result interaction with and manipulating of the DB becomes a piece of cake. At the moment, however, this system works only for MySQL databases.

First of all to call the DB, you just need three simple lines:

<?php include('<$MTCGIServerPath$>/php/mt.php'); $mt = new MT(<$MTBlogID$>, '<$MTCGIServerPath$>/mt.cfg...

continue reading ...

38. Publishing Archives

Six Apart User Manual, Manuals, 31 KB, 1746 words

While entries make up the content of a weblog and templates control how these entries are displayed, it is the process of publishing that makes a weblog go. Movable Type refers to the process of publishing as rebuilding -- a reference to its static page generation roots. When a rebuild is performed, templates and your content are merged to publish a page that visitors can view in their browsers.

Choosing Between a Static or Dynamic Publishing Model

Movable Type provides the flexibility to choose between either static page generation or dynamic pages to optimize weblog performance on a per-template...

continue reading ...

39. 3.2 (2005.08.25)

Six Apart User Manual, Manuals, 45 KB, 3336 words

3.2 (2005.08.25)

Major Features

• New dead-simple AJAX-powered installation/upgrade process (see screencast demo) which replaces mt-load.cgi and all mt-upgrade* scripts. Also eliminated the upgrade distribution since only the config file would be different. • Combined mt.cfg and mt-db-pass.cgi into mt-config.cgi. Shipping as mt-config.cgi-original so as to prevent overwriting when upgrading. • Introduced the new System Overview section which allows administrators to configure and manage aspects of the system across all weblogs • Introduced a plugin-based feedback rating framework which scores comments and TrackBacks upon submission on a scale from -10 (least desirable) to 10 (most desirable)...

continue reading ...

40. MTMacro

Brad Choate, Plugins, 388 KB, 19657 words

Sometimes it's nice to get a lot for a little. Macros let you do that. Instead of typing laborious HTML as you write your entries, a macro can do all the work for you so you can concentrate on writing. Perhaps you want to use a set of icons within your posts but don't care to write <img> tags all day long. Or maybe you'd like to link up to Google queries without having to type out the full URL. This plugin allows you to do that and much more.

...

continue reading ...

Comments

You want to post some comment? Please use the announcement post on the Movable Type Weblog.

If you want to give some feedback concerning a specific query, please use the feedback button that is shown after a search has completed.

mgs | September 27th 2005