redmagic

Cloning the entry object

Vote 0 Votes

Hi,

I've been using MT since 3, and definitely enjoy using it although as I move more into the development side of things I feel as though the water gets too deep ;)

I've been looking for a plugin or instructions on how to duplicate the entry object. I would simply like an additional menu item under "Create" pulldown while on the dashboard. It would function just like an entry but be called "Video" or "Event." I am aware that it's possible and actually very easy to do this with categories but I'd like making posts of different sorts to be as dead simple as possible for my user base.

If this is miscategorized, please point me in the right direction as to where to post.

thanks!

peter

Reported on Movable Type 4.2

2 Replies

| Add a Reply
  • Adding a new menu item is easy enough: http://www.movabletype.org/documentation/developer/apps/building-menus.html. Building out your "Video" or "Event" types is where it gets more difficult.

    I wonder if Motion's entry type custom field wouldn't help here: just click an icon to create a text-type entry, video-type entry, URL-type, entry, etc.

  • Thanks Dan!

    I'm not out of the woods yet but this seems to be the right direction. I was looking around the templates and can't find a really clear or easy way to reference the entry type stuff that motion does. Do you have any suggestions for where to look and/or what the code will look like when I create the index templates? I'm assuming something like:


    // entry data

    Any advice will help!

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012