user-pic

Configuration Directive: DefaultEntryPrefs Help please

Vote 0 Votes

Can anyone help on the correct use of the DefaultEntryPrefs [configuration directive][1] please?

I have this

                 DefaultEntryPrefs Button=Both Type=Custom
                 DefaultEntryPrefs Excerpt=0
                 DefaultEntryPrefs Keywords=0
                 DefaultEntryPrefs Category=1
                 DefaultEntryPrefs ExtendedEntry=0
                 DefaultEntryPrefs Tags=0
                 DefaultEntryPrefs TextFormatting=1
                 DefaultEntryPrefs AllowComments=0
                 DefaultEntryPrefs AllowTrackBacks=0
                 DefaultEntryPrefs Date=1
                 DefaultEntryPrefs Basename=1
                 DefaultEntryPrefs TrackBackURLs=0

Which should give me:

  • save/preview buttons top and bottom
  • turn off trackback urls, comments, trackbacks, tags, the extended entry, keywords, excerpt.

It doesn't, however, seem to have any effect. Is there some system-level setting that also needs to be set to get this to work?

Reported on Movable Type 4.2

7 Replies

| Add a Reply
  • Markdown! Forget the url. Post should be thus

    Can anyone help on the correct use of the DefaultEntryPrefs [configuration directive][1] please?

    [1]: http://www.movabletype.org/documentation/appendices/config-directives/defaultentryprefs.html

    I have this

    DefaultEntryPrefs Button=Both Type=Custom
    DefaultEntryPrefs Excerpt=0
    DefaultEntryPrefs Keywords=0
    DefaultEntryPrefs Category=1
    DefaultEntryPrefs ExtendedEntry=0
    DefaultEntryPrefs Tags=0
    DefaultEntryPrefs TextFormatting=1
    DefaultEntryPrefs AllowComments=0
    DefaultEntryPrefs AllowTrackBacks=0
    DefaultEntryPrefs Date=1
    DefaultEntryPrefs Basename=1
    DefaultEntryPrefs TrackBackURLs=0
    Which should give me:

    save/preview buttons top and bottom
    turn off trackback urls, comments, trackbacks, tags, the extended entry, keywords, excerpt.
    It doesn't, however, seem to have any effect. Is there some system-level setting that also needs to be set to get this to work?

    We really, really need a preview feature for posts and new topics, not just replies.

  • First thing to check, I don't think any of the DefaultEntryPrefs options allow for doubling up. Are you sure about that first line with Button and Custom? (And if it's pasted from somewhere, that should probably be corrected.) Given it's the line that says you want custom settings in the first place, it probably follows that if it's messed up everything else would also fail.

    If that still doesn't do anything, there was a bug a while back with custom prefs that might not have gotten entirely squashed, and you should probably throw your situation out at the dev list for reproduction and then file a new bug if necessary.

  • Many thanks Su. I tried the first line without the doubling, in separate lines, but that has no effect either.

    I'll now try it on a fresh install, with no plugins, and see if there's something in one of the plugins that's causing this.

    Do you think I should post the result of that test here?

    Also, thanks for the link to the bugz. Checked that and found the CMS.pm code is the [updated one][1].

    [1]: http://code.sixapart.com/trac/movabletype/changeset/1396

  • CMS.pm appears to be the updated one in MT4.21, that is

  • Reporting back. Tried on a fresh install. No luck. This thing is broke, I think. Will put in a line at the dev list. Thanks again Su.

Add a Reply

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

Forum Groups

1773 6162

Last Topic: Excluding categories from blog by kholechek on Feb 9, 2012

86 302

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

1429 5077

Last Topic: What apocalypse hit this community in the middle of 2011? by 75th on Feb 10, 2012

695 2910

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

173 737

Last Topic: About the MT version stated in HTML source by Alex E. Schneider on Feb 7, 2012

190 567

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