Menu

#138 submission type

open
nobody
None
5
2006-06-20
2006-01-07
shane
No

The submission's type (text/html) is hard-coded into submit.pl. Please
add a var for submission_defaulttype.

Most sites really need to change their default submission type to 'text'
from 'html' because most users are confused when they type something
in, hit preview, and it's a ball of text instead of where they had hit enter af
ew times.

About the only way to make this modification now is 2 edit the
displayForm\;submit\;default template:

[% def_type = form.sub_type || 'plain'; sub_types = { "html" => "HTML
Formatted", "plain" => "P
lain Old Text" }; Slash.createSelect('sub_type', sub_types, def_type, 1) %]

it'd be nice if that was || constants.submission_defaulttype

Discussion

  • Rob Malda

    Rob Malda - 2006-06-20
    • labels: 310785 -->
    • milestone: 423525 -->
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.