Announcement

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

#1 2010-10-21 17:34:13

zerok
Xinha Community Member
Registered: 2010-10-21
Posts: 24

How to change config file ?

I have XinhaConfig.js  with loading plugins:

  xinha_plugins = xinha_plugins ? xinha_plugins :
  [
   'CharacterMap',
   'ContextMenu',
   'SmartReplace',
   'Stylist',
   'ExtendedFileManager',
   'Linker',
   'SuperClean',
   'TableOperations'
  ];

if I change it to:


  xinha_plugins = xinha_plugins ? xinha_plugins :
  [
   'CharacterMap',
   'ContextMenu',
   'SmartReplace',
   'ExtendedFileManager',
   'Linker',
   'SuperClean',
   'TableOperations'
  ];

& editor dont work
Where is my mistake?

Offline

#2 2010-10-21 19:59:28

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: How to change config file ?

Looks fine, you must have introduced another error or bad file permissions.


James Sleeman

Offline

#3 2010-10-22 05:45:54

zerok
Xinha Community Member
Registered: 2010-10-21
Posts: 24

Re: How to change config file ?

this is only one change that I do and Xinha stop working

Offline

#4 2010-10-22 06:59:52

zerok
Xinha Community Member
Registered: 2010-10-21
Posts: 24

Re: How to change config file ?

I find!

xinha_config.stylistLoadStylesheet(_editor_url + "examples/files/stylist.css");

was wrong after removing  stylist!

Offline

#5 2010-10-22 07:13:00

zerok
Xinha Community Member
Registered: 2010-10-21
Posts: 24

Re: How to change config file ?

Some suggestion: I can't find in any xinha list type dl (dd, dt) I often use it in my html code. Why xinha not have it?

Offline

#6 2010-10-22 21:31:23

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: How to change config file ?

Because nobody made it.  Feel free to make a plugin to do it.


James Sleeman

Offline

#7 2010-10-24 16:17:10

zerok
Xinha Community Member
Registered: 2010-10-21
Posts: 24

Re: How to change config file ?

gogo wrote:

Because nobody made it.  Feel free to make a plugin to do it.

my knowledge of JavaScript is inferior to your.
I'm afraid this plugin will ruin the work of the whole editor

by the way my english not good at all.

Last edited by zerok (2010-10-24 16:38:03)

Offline

#8 2010-11-15 13:04:48

ejucovy
Xinha Community Member
From: NY
Registered: 2010-11-15
Posts: 35
Website

Re: How to change config file ?

zerok,

There is an existing plugin called DefinitionList -- have you tried it?

Offline

#9 2010-11-15 14:36:55

zerok
Xinha Community Member
Registered: 2010-10-21
Posts: 24

Re: How to change config file ?

tanx, I'll try it.

Offline

#10 2010-11-15 14:48:31

zerok
Xinha Community Member
Registered: 2010-10-21
Posts: 24

Re: How to change config file ?

thanx it work but have't english lang, but I can translate it easy.

Offline

#11 2010-11-16 22:46:02

ejucovy
Xinha Community Member
From: NY
Registered: 2010-11-15
Posts: 35
Website

Re: How to change config file ?

if you do make a translation, it would be great if you could submit a ticket at trac.xinha.org with the translation files smile

Offline

#12 2010-11-17 07:11:47

zerok
Xinha Community Member
Registered: 2010-10-21
Posts: 24

Re: How to change config file ?

I haven't user \ password to login in trac.xinha.org

Offline

#13 2010-11-17 07:50:47

zerok
Xinha Community Member
Registered: 2010-10-21
Posts: 24

Re: How to change config file ?

I add it vith guest login
http://trac.xinha.org/ticket/1557

Offline

#14 2010-11-18 13:03:10

ejucovy
Xinha Community Member
From: NY
Registered: 2010-11-15
Posts: 35
Website

Re: How to change config file ?

thanks zerok, i added the russian translation.

i listed "zerok" as the author in the file itself -- if you want more information included (full name, email, whatever) let me know.

Offline

#15 2010-11-18 14:02:47

zerok
Xinha Community Member
Registered: 2010-10-21
Posts: 24

Re: How to change config file ?

Use pls Helen Mitkina e.mitkina[()]gmail.com

Offline

#16 2010-11-18 21:25:57

ejucovy
Xinha Community Member
From: NY
Registered: 2010-11-15
Posts: 35
Website

Re: How to change config file ?

OK, done smile

Offline

Board footer

Powered by FluxBB