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.
191 hits12345678910

61. Troubleshooting Smarty Errors

Movalog, Tutorials, 32 KB, 1577 words

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 MT uses to create its dynamic pages. This tutorial will explore several of the errors you may experience, explain what they mean, and show you how to solve them. This is by no means a complete guide to every error you may experience; I will continue to add to this tutorial as I come by more of them.

The Basics

Many of the error messages you may see will take the format: Smarty Error: [in mt:## line:##]

This error message provides useful information that can help you...

continue reading ...

62. The New Themes - Making Sense of it all

Movalog, Tutorials, 33 KB, 1540 words

Tutorial cross posted on Learning Movable Type and Movalog.

With Movable Type 3.2, Six Apart launched a new markup and stylesheet structure that has also unified their three platforms. These new templates and stylesheets (from now on referred to as themes) have been called tag soup due to the sheer number of <div>s and indents.

What a mess - why did they do it?

The new themes can be quite intimidating the first time you come across them however Six Apart have created these new themes for several reasons: • First of all, Typepad, LiveJournal and Movable Type now share exactly the same markup. This means that a theme will work on any of these three platforms and designers can...

continue reading ...

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

64. Dynamic Publishing - Pros and Cons

Movalog, Tutorials, 33 KB, 1633 words

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 publishing over static publishing?

Elise Bauer, editor of Learning Movable Type and Arvind Satyanarayan, author of Movalog, discuss some of the pros and cons of dynamic publishing. Non-techie luddite-wannabe Elise shies away from anything that seems like it might not be worth the effort and so far hasn't even tried dynamic publishing. Plugin creator and MT hack-master Arvind has embraced dynamic publishing with his usual boundless...

continue reading ...

65. Scheduled Postings and Cron Jobs

Movalog, Tutorials, 33 KB, 1698 words

Co-authored by Arvind Satyanarayan and Elise Bauer Tutorial cross posted on Movalog and Learning Movable Type

Future posting is a convenient new feature in MT3.1x, allowing you to create an entry and have it automatically post at a future time. But before you can use this feature you need to set up a Cron Job on your server.

What is a Cron Job?

Cron is a task scheduler for unix servers. A cron job is a specific task that runs a certain number of times per minute, day, week, or month on your server. For example, you can use a cron job to automate a daily MySQL database backup. The main problem with cron jobs is that if they aren't properly configured they can cause high server loads...

continue reading ...

66. Securing your weblog - CGIWrap and SuEXEC

Movalog, News, 35 KB, 1825 words

Co-authored by Arvind Satyanarayan and Elise Bauer Tutorial cross posted on Movalog and Learning Movable Type

The installation instructions in the Movable Type Install Guide contain a section in the Configuration area called Enable Security Features. These instructions tell you to uncomment the Umask lines in your mt.cfg if your server is running cgiwrap or suexec. If you don't know what CGIwrap or suEXEC are, you may be tempted to skip this step. Don't. This step gives your MT installation extra security, which we will explain. (Note that this tutorial is only appropriate for MT installations on Linux/Apache web servers.)

What is CGIWrap or suEXEC?

CGIWrap and suEXEC are features...

continue reading ...

67. Quicktags with 3.12

Movalog, Tutorials, 37 KB, 1971 words

UPDATE: Make your own

With Movable Type 3.12, Six Apart built in a more powerful set of quicktags and on the whole they worked pretty well and looked quite nice too. I didn't really want to go back to the clunky Quicktags of before. So here are a few hacks to port some of the most useful features (in my opinion) from the old quicktags, to the new. You will need the following files • edit_entry.tmpl, this is found in MTDIR/tmpl/cms • mt.js, this is found in your StaticWebPath (or if you have none in your root MTDIR folder)

I have decided to port over four functions, Spell Check, Encoding HTML and Insert Image

Spell Check

Add the following to the end of your mt.js file

function Spell(myField)...

continue reading ...

68. Password Protect Entries

Movalog, Tutorials, 36 KB, 1821 words

This hack is deprecated in favour of the MT Protect plugin. Please use the plugin instead of this hack!

One of the biggest wants with MT is to password protect individual entries. There are several hacks and bits of code that allow you to password protect entries but many of them are long winded and many involve separate categories. I wanted a simple way to selectively password protect entries no matter what the category, what blog etc.

So I created a new field on the entry screen (click screenshot for a larger view) that would contain the password. For this to work you will need to be using MT 3.1x, mySQL and PHP. To see this in action see the front page on my blog, enter the password "password" and you will be granted access for 10 days....

continue reading ...

69. Dynamic Pages & The .htaccess

Movalog, Tutorials, 37 KB, 2028 words

Co-authored by Arvind Satyanarayan and Elise Bauer Tutorial cross posted on Movalog and Learning Movable Type

With the release of Movable Type 3.1 comes a new and powerful feature - Dynamic Publishing. To take advantage of Dynamic Publishing, you need to edit or create a file on your Apache server called .htaccess as explained in the Movable Type Manual. htaccess files can give you extra control over your server, allowing you to password protect directories, enable server side includes, generate custom error messages, and block users by IP address among other things. (See this Guide to .htaccess for more information.)

Note: You should really know what you are doing before...

continue reading ...

70. PerlScript Plugin

Brad Choate, Plugins, 141 KB, 5891 words

<MTPerlScript> is tag for Movable Type templates. If you know how to write Perl code, this custom tag gives you remarkable flexibility in producing pages from Movable Type. You can literally do any kind of manipulation you can think of using your Movable Type data.

This tag was written with a 'trust-the-programmer' mentality (or in this case, the template writer). There aren't any restrictions...

continue reading ...

71. Expandable List Menus

Learning Movable Type, Tutorials, 36 KB, 2476 words

If you have a lot of content - entries, categories, sidebar information - sooner or later things may begin to look a little cluttered on your weblog. One way to address this is to make some of your lists expandable and collapsible, as I have done with LMT's Table of Contents. There are probably many different ways to do this. I have found one method, based on Javascript, that is simple to implement and appears to work fine, from Bleeding Ego.

1. Upload listmenu.js to your server.

Copy the following script into a new file with a texteditor. Save the script as "listmenu.js". Upload the script to a location within the public directory of your server using an FTP program. (You can...

continue reading ...

72. Blogs, Bandwidth and Banjos: Tightly knit bonds in weblogging.

Six Apart Mena's Corner, News, 43 KB, 2721 words

Ben and I gave a talk at BlogTalk in Vienna on Tuesday. Unfortunately, because of jetlag and some bad timing, we weren't able to convey all the points we wanted to make in the talk itself. So, I'm posting a transcript of the speech we prepared.

I realize that we've never really communicated these messages. I feel strongly — and have always — that personal weblogs are often marginalized because of their presumed triviality. Weblogs are going to hit the mainstream and they're going to be a new method for communicating with small, intimate groups in a more optimized manner.

---

Good morning. My name is Mena Trott and this is Ben Trott, my husband and co-founder of Six...

continue reading ...

73. Content from Multiple Blogs with Dynamic Publishing

Movalog, Tutorials, 26 KB, 776 words

Multiblog is an indespensible plugin that allows you to display content from other blogs. Unfortunately, in its current version it doesn't work with dynamic publishing. A few days ago I was investigating the best way to duplicate MultiBlog's functions in the dynamic templating system. As it turns out, Movable Type's powerful dynamic templating system makes it easy to include content from other blogs.

With dynamic publishing all you need to do to pull content from other blogs is to change the blog context of the page. Every tag is parsed within a context which affects the content it outputs. For example, with the MTEntries tag the correct entries are outputted because Movable Type...

continue reading ...

74. Unapprove Comment

Movalog, Tutorials, 28 KB, 840 words

UPDATE Fixed a bug with moderation set on Typekey users. Bit to be edited is the code in edit_comment.tmpl

The moderation queue is one of the most powerful features that MT 3 has, and some advocate an aggresive use of it when paired with plugins. Currently, you are able to approve a comment but not unapprove a comment. This hack will add an unapprove button to the edit comment screen that will throw the comment back into moderation.

Open lib/MT/App/CMS.pm and around line 32 find

'approve_comment' => &approve_comment,

and add beneath it

'unapprove_comment' => &unapprove_comment,

Next find

sub list_commenters {

and add above it

sub unapprove_comment { my $app = shift; my $perms = $app->{perms}...

continue reading ...

75. Build All Templates Dynamically

Movalog, Tutorials, 28 KB, 789 words

I really like the "Build All Templates Statically" option on the Templates page, however I really wanted a Build All Templates Dynamically option. I posted a feature request on the subject but I don't think it was taken any further, so I took the matter into my own hands, see the screenshot (click for larger image).

Open up MT/App/CMS.pm and search for the following block of text, line #4842.

} elsif ($dcty eq 'archives') { require MT::Template; my @templates = MT::Template->load({ blog_id => $blog->id }); for my $tmpl (@templates) { $tmpl->build_dynamic($tmpl->type ne 'index'); $tmpl->save(); } } elsif ($dcty eq 'custom') {...

continue reading ...

76. Hurricane Katrina Donation

Movalog, News, 24 KB, 367 words

As the image above shows, $40 (20% of the Dropcash campaign) has been donated to the American Red Cross to help with the victims of Hurricane Katrina. A big Thank You to all the donors of the CustomFields Dropcash campaign that made this possible.

continue reading ...

77. The Power of TrackBack

Six Apart ProNet Weblog, News, 14 KB, 146 words

Johnathon Williams just described his experience with TrackBack on his TypePad blog in The Power of TrackBack, where he was able to promote the ideas in his post just through the linking and networking that comes naturally through use of TrackBack. As Johnathan says:

TrackBack is one of most democratic features of blogging, because it allows small voices to speak alongside big ones. Instead of being based on who you know (like most blogrolls) TrackBack is based on what you have to say.

Trackbacks:

BlogBites - TrackBack is one of most democratic features of blogging, because it allows small voices to speak alongside big ones. - September 17, 2004 03:24 PMJohnathon Williams...

continue reading ...

78. MT-Protect Plugin

Learning Movable Type, News, 15 KB, 218 words

Arvind Satyatanarayan, author of Movalog and creator of MT-Blogroll, has released a new Movable Type plugin - MT-Protect - which allows you to protect individual weblog entries via password or via a Typekey identity. This plugin may prove especially useful for those wanting to charge for access, or to restrict access in some way, to specific parts of their blog.

Arvind has also initiated a Drop-Cash campaign to help support his efforts as a developer for this plugin. Even if you don't plan to use the Protect plugin, I encourage you to make a donation, now! Arvind has spent several hundreds of hours providing useful tips, hacks, and plugins for the Movable Type community. I believe...

continue reading ...

79. Activity Log Plugin Errors

geekmum {movable cafe}, Tutorials, 17 KB, 223 words

My MT Activity Logs were FULL of plugin errors pointing to Blacklist, BookQueueToo, Blogroll, and QuickLinks. (essentially, any plugins that are in their own dedicated directories inside mt/plugins) These plugins have always worked without fail from the front end, so I was mystified at the copious error messages suggesting they could not be found.

Here is just one sample of a variety of similar messages:

Plugin error: /home/user/domains/domain.net/public_html/mt/plugins/Blacklist/Blacklist.pl Can't locate Blacklist/Plugin.pm in @INC (@INC contains: plugins/Blacklist/lib ./plugins/BookQueueToo/lib /home/user/domains/domain.net/public_html/mt/

Searching the MT Support Forums and google pointed me to a very simple solution. In each plugins .pl file I edited the "use lib" line to include the full path per the following example:...

continue reading ...

80. Upgrading

Movalog, News, 24 KB, 364 words

I may experience a bit of downtime or things may seem out of flux for a while (don't quite know how long) as my host shifts me to a new server and hosting package. Please bear with me !

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