Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2007-09-02 07:45:47

Splash
New member
Registered: 2007-09-02
Posts: 1

Save button - Start Maximised and "Decimal Numbers"

Hello,

I'm hoping somebody can help me with a problem I've been having, as well as a couple of questions.

I'm running PHP 5 and the latest stable release of Xinha (0.931)

Firstly the problem I'm having is that I can't seem to remove the "Decimal Numbers" drop down from my toolbar, I can't find any reference in the config code. My Toolbar Config code is as follows;

xinha_config.toolbar = [
           ["popupeditor"],
           ["separator","formatblock","bold","italic","underline","strikethrough"],
           ["separator","textindicator"],
           ["separator","justifyleft","justifycenter","justifyright","justifyfull"],
           ["separator","inserthorizontalrule","createlink","insertimage","inserttable"],
           ["linebreak","separator","undo","redo","selectall"], (Xinha.is_gecko ? [] : ["cut","copy","paste","overwrite","saveas"]),
           ["separator","removeformat","toggleborders"],
           ["separator","htmlmode","killword"]
];

The "Decimal Numbers" drop down is appearing as the very first item on the toolbar, anyone know how to remove it?


Also can anyone tell me if there is a way to add a 'Save' button to the toolbar that works as a submit button?

If so is there also a way to have Xinha start maximised?

Thanks for any help you can give me on this.

Splash

Offline

#2 2007-09-03 10:38:54

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: Save button - Start Maximised and "Decimal Numbers"

remove the "Decimal Numbers" drop down: Don't use the ListType plugin or set

xinha_config.ListType.mode = 'panel';

'Save' button: try the SaveSubmit plugin
Xinha start maximised:

xinha_config.fullScreen = true;

Offline

Board footer

Powered by FluxBB