Tags:
create new tag
view all tags

Question

You can hit a button to use a different form, while editing a topic that has a form attached, in a web that has multiple forms. That button has the word "Change" on it, and is well positioned to act as a mouse magnet.

Sometimes people think it means save, especially in certain contexts. I want to change the word change on the change button for the change form that is seen on the " change topic " page when users make a change to the status of changes recorded in my change management setup... that word has gotta go! smile In fact I'd be happy with no button at all, or a global hack to its text.

"Remove Table" would do nicely. What file can I make that... err... change in?

  • TWiki version: Feb2003
  • Perl version: 5.00x
  • Web server & version: Apache
  • Server OS: FreeBSD
  • Web browser & version: Lynx
  • Client OS: FreeBSD

-- SueBlake - 20 Jul 2003

Answer

OK, some hours later I've found RenderFormAsRegularTable which might help me out. It does point me to the file where all the hard stuff happens, and there's a patch that might make it easier to configure, still more to investigate.

Any worthwhile alternative strategies are welcome.

-- SueBlake - 20 Jul 2003

No guru wanted to step in, so... I looked around, in lib/TWiki/Form.pm=, around line 230, is code:

    my $chooseForm = "";                                                                                                   
    if( TWiki::Prefs::getPreferencesValue( "WEBFORMS", "$web" ) ) {                                                        
        $chooseForm = chooseFormButton( "Change" );                                                                        
    }                                                                                                                      
You can change button name as you like. In my SimpleSkin I renamed the button and also moved %FORMFIELDS after "Preview/Save" button, so users are less tempted to click on it.

-- PeterMasiar - 24 Jul 2003

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2004-01-02 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.