Help - Search - Members - Calendar
Full Version: Trimming an entry title?
Movable Type Community Forum > Additional Resources > Tips and Tricks
craig1972
Hi,

Does MT provide me any way to trim an entry's title? Something like this for instance:


CODE

 <MTEntries lastn="5" length="30">



Thanks for any ideas!
maddy
To trim the entry title to 30 characters you could use
CODE
<MTEntryTitle trim_to="30">
craig1972
Thanks!

Actually, a related question. Is there any way to alternate the background of entries? I mean, for each alternate entry I want a different background..
maddy
You might also like to check out this thread or this one. Oh, and possibly the FlipFlop plugin.

If you want to have a different colour based on category, you might like to check out the ideas in this thread.

There are probably a tonne of other ways you could do this, too! biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.