Search

Phrase

Display

 

Category

   

Order

 

Pagesize

Results

If the result list is too large, please consider these hints

  • Reduce the number of websites.
  • Add more keywords.
  • Use quotes for building terms from keywords. For example, the phrase banner image searches for all articles containing both words. However, "banner image" searches for the exact two-word phrase.
146 hits12345678

41. Displaying a Calendar Layout

Six Apart User Manual, Manuals, 26 KB, 854 words

Displaying a Calendar Layout

Problem

You want to create a calendar layout in your template.

Solution

Use the template tags prefixed with MTCalendar.

Discussion

Movable Type includes a collection of template tags prefixed with MTCalendar; these can be used for creating calendar layouts that serve either navigational or display purposes. MTCalendar tags are sufficiently generic to create calendars in many different formats; however, HTML tables are the most common, • MTCalendar

MTCalendar is a container tag representing a calendar month that lists a single calendar "cell" in...

continue reading ...

42. A Tag within a Tag

Movable Type Weblog, Tutorials, 21 KB, 1106 words

In Movable Type, we use tags for defining the flow within a template and for accessing the database. You can influence a tag's behavior with the help of attributes. These attributes define a value for some parameter.

Unfortunately, the value for an attribute may only be a constant. However, you will sometimes have the need for setting the value to the result of another tag. Movable Type will not support such a situation, but a plugin will help.

An Example

Suppose you have a template module that you want to include from many different places. For example, you want to call this module from both an individual entry archive and the main index. Inside the template, you then want to...

continue reading ...

43. Sliding Doors of CSS, Part II

A List Apart, Tutorials, 22 KB, 2653 words

Sliding Doors of CSS (Part I) introduced a new technique for creating visually stunning interface elements with simple, text-based, semantic markup. In Part II, we'll push the technique even further. If you haven't read Part I yet, you should read it now.

Here, we'll cover a new scenario where no tab is highlighted, combine Sliding Doors with a single-image rollover, provide a fix for the clickable region in IE/Win, and suggest an alternate method of targeting tabs. We'll skip a basic recap of the technique (see Part I for this) in favor of jumping right back in where we left off.

No Current Tab

In Part I, we didn't account for cases where...

continue reading ...

44. Publishing Custom Pages with Movable Type

Movalog, Tutorials, 29 KB, 1076 words

MT has had the ability to output any content in a template since version 1.0 in 2001, however it doesn't have the "push button" simplicity of Wordpress' Pages feature. For those of you unfamiliar with Wordpress, its Pages feature allows you to create individual static pages (index pages in MT) with the simplicity of the entry screen, i.e. you don't need to worry about the styling or markup – just type out the content and voila, you're done.

This tutorial describes the process to simplify the process of creating standalone pages so that, in essence, you simply need to type out your content. This is useful for using Movable Type as a powerful general content management system.

There are 3 main...

continue reading ...

45. Converting from Fixed to Fluid Style

Learning Movable Type, Tutorials, 24 KB, 1055 words

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

Updated Nov 16

The default styles that come with MT are known as 'fixed' styles. This means that size and position of layout elements, such as columns, are fixed and are defined in pixels (px). This also means that no matter what a person's screen resolution, everything will be the same width and in approximately the same position. The alternative to a fixed design is a fluid design. A fluid design uses percentages when defining size and positions, so the sizes of elements on the page are relative to the user's screen resolution. A fluid design also removes the horizontal scroll bar. With a fluid...

continue reading ...

46. Dynamic vs Static

Movalog, Tutorials, 28 KB, 1055 words

Preparing the way from the dynamic system that's going to be coming in MT 3.1 lets discuss the differences between a dynamic and static way of managing content and clear up any doubts.

Static templating is how MT has been all these years. Everytime you make the smallest change or post a new entry you need to rebuild every single page it is connected to for the change to show up. Rebuilding these pages cause physical files to appear in various directories.

With dynamic templating this is all resolved. No more files, no more rebuilding. With 3.1 you can chose how you want MT to act ie: •

Fully Dynamic - every single template is taken and parsed from the database when requested •

Fully Static - there are...

continue reading ...

47. Entry Archives

Six Apart User Manual, Manuals, 71 KB, 1457 words

A container tag whose contents will be displayed if the entry in context was posted on a different day than the following/next entry in the list.

Back to top | Permalink | Comments (0)

MTDateHeader

...

continue reading ...

48. 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 ...

49. Shuffling Atom with XML::Atom::Filter

Six Apart Pronet Articles, Tutorials, 15 KB, 1249 words

Atom is a standardized format for describing weblog content. With a standard format, you can exchange weblog content not only between web services but between command line tools--that's the idea behind some Java programs called "atomflow." To the same end as the atomflow project, I'm delighted to present a Perl module for creating command line Atom tools. I'm using it to post Flickr photos to a TypePad sidebar, but I'm sure you'll have many more ideas for it.

XML::Atom::Filter

The Atom format is being designed as a lingua franca of weblog content. Recognizing that a standard format makes meaningful integration between software programs easier, Diego Doval, Matt Webb, and Ben Hammersley invented...

continue reading ...

50. Game Design in Flash 5, Part II: Heroes & Villains

A List Apart, Tutorials, 23 KB, 3300 words

In Part One of this game-building tutorial, we created a hero ship and a bullet and programmed the two to work in tandem. The ship can be steered via the arrow keys, and the space bar launches the bullet from the ship's location.

Now it's time to start turning this experiment from a primitive environment simulator to a real game.

This game, like all others, involves conflict, rules, and the potential for loss as well as gain. Heroes alone make for boring games. We need a villain.

Rock show

Now we'll add a rock to the mix – yes, just one for now – and assign it the following script: onClipEvent (enterFrame) { _x += deltax; _y +=...

continue reading ...

51. FilterCategories

Staggernation, Plugins, 10 KB, 798 words

This Movable Type plugin implements a pair of template tags that allow you to filter a listing of categories by specifying the categories either to include in or to exclude from the listing.

Installation

To install the FilterCategories plugin, upload the file FilterCategories.pl to the plugins directory within your Movable Type directory. If you do not already have a plugins directory, create one before uploading the file. For more information about Movable Type plugins, see the documentation.

Contact

Please address questions, comments, bug reports, feature requests, interesting usage examples, etc., to mtplugins [AT] staggernation [DOT] com, or post them in the Plugin Development area of the Movable Type...

continue reading ...

52. Weblog Archives

Six Apart User Manual, Manuals, 39 KB, 609 words

The absolute URL to your weblog archives.

Back to top | Permalink | Comments (0)

MTBlogCCLicenseURL

The absolute URL corresponding to information about the Creative...

continue reading ...

53. BigTemplateWindow

alogblog, Plugins, 20 KB, 1292 words

I'm happy I could provide this plugin to the MT community.

This plugin, BigTemplateWindow, is for a really big template editing window. The size of template editing box is only limited by that of your monitor. :) First I developed this just for a big template box. In the process of doing it, several useful features was added. I hope almost all MT users could be a little happy by using this.

Requirement

IE or Firefox/Mozilla.

The use of TAB key and other features was developed and tested only on IE and Firefox/Mozilla browsers. Adaptation into Opera and other browsers are...

continue reading ...

54. TrackBack Archives

Six Apart User Manual, Manuals, 34 KB, 576 words

Conditional tag that displays its contents if TrackBack pings are enabled for the entry in context.

Back to top | Permalink | Comments (0)

MTIfPingsActive

Conditional tag that displays...

continue reading ...

55. Working with Category Tags

Six Apart User Manual, Manuals, 25 KB, 740 words

Working with Category Tags

Problems

You need to display category data in your published pages.

Solutions

Use the template tags prefixed with MTCategory.

Discussion

Category tags can be used to display a list of categories and their information in both hierarchical and non-hierarchical forms. These tags can be used in MTArchiveList archive_type="category", MTEntryCategories, MTCategories or MTSubCategories tag contexts. Category tags may also be used anywhere in a Category Archive template.

The basic tags when working with non-hierarchical data are as follows. (For an...

continue reading ...

56. Even More fun with Smarty

Don't Back Down, Tutorials, 10 KB, 393 words

One of the things that bothered me about the switch to dynamic archives is that I had to stop using the Compare plugin, since it doesn't support dynamic publishing (or didn't, at any rate). With the use of Smarty, you can very easily reproduce this functionality, and though I haven't done any benchmarks or anything, I suspect that the performance gains are dramatic.

For instance, I used to use something like this in my template to conditionally show text around comments: <MTIfEqual a="[MTEntryCommentCount]" b="0" numeric="1"> No comments yet! </MTIfEqual> <MTIfEqual a="[MTEntryCommentCount]" b="1" numeric="1"> 1 comment!...

continue reading ...

59. Loop

Staggernation, Plugins, 8 KB, 618 words

This Movable Type plugin implements a set of template tags for looping through a list of values, repeating a portion of a template for each value in the list.

Installation

To install the Loop plugin, upload the file Loop.pl to the plugins directory within your Movable Type directory. If you do not already have a plugins directory, create one before uploading the file. For more information about Movable Type plugins, see the documentation.

Contact

Please address questions, comments, bug reports, feature requests, interesting usage examples, etc., to mtplugins [AT] staggernation [DOT] com, or post them in the Plugin Development area of the Movable Type Support Forum.

MTLoo...

continue reading ...

60. FirstNWords

Staggernation, Plugins, 9 KB, 686 words

This very simple Movable Type plugin implements a template tag for displaying the first N words of an entry or any other text. While Movable Type's MTEntryExcerpt tag will automatically generate an excerpt consisting of the first N words of the entry body. However, you must configure the value of N for an entire blog, so you can't have excerpts of one length on one template and another length on another. This plugin allows you to display excerpts of different lengths in different places, and also lets you excerpt text other than an entry body.

Installation

To install the FirstNWords plugin, upload the file FirstNWords.pl to the plugins directory within your Movable Type directory. If you...

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