Jasha, Steven,
Thanks for both you reactions.
So it basically comes down to creating a copy of Xinha in extensions
and then do my thing?
Could also get a newer version then, as the one currently used seems a bit
stale.
Or are there known problems with that?
Reinier
Jasha Joachimsthal wrote:
The location of the Xinha configuration is done in the business logic of
your template.
The default location (in the samples is):
<libs>
<!-- declare a code library
'src' is a html uri, in this case we use the default library
-->
<lib src="/editing/cf2/js/htmlarea.js"/>
</libs>
All lib's are converted into script tags.
Jasha Joachimsthal
[EMAIL PROTECTED] - [EMAIL PROTECTED]
www.onehippo.com
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466
San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA
94952-3329 +1 (707) 773-4646
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Steven Grijzenhout
Sent: vrijdag 10 oktober 2008 11:04
To: Hippo CMS development public mailinglist
Subject: RE: [HippoCMS-dev] Xinha questions
Hi Reinier,
If I'm correct, xinha is configured in
editor\src\site\cforms\resources\xinha\htmlarea.js. You can
override this file with your own configuration by creating
the file
extensions\project-specific\cforms\resources\xinha\htmlarea.js.
In the project-specific folder you have to add this pipeline to your
sitemap:
<map:match pattern="cforms/**">
<map:read src="cforms/{1}"/>
</map:match>
This way, you can also add plugins. For example by adding
project-specific\cforms\resources\xinha\plugins\InsertLink\ins
ert-links.
js.
Steven
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Reinier van den Born
Sent: woensdag 8 oktober 2008 17:43
To: Hippo CMS development public mailinglist
Subject: [HippoCMS-dev] Xinha questions
Hi,
I have a couple of questions about Xinha:
Q1:
I would like to add some plugins to Xinha that don't come
standard with the Hippo editor (eg. definition lists).
And fiddle with/replace some that are standard (because they
don't place themselves correctly on the toolbar).
I was hoping to be able to add the plugins somewhere down my
extensions folder and tell Xinha to look there, but haven't
found a way to do this.
Any suggestions?
Q2.
Looking through the Xinha docs I don't see any reference to
the type of HTML it generates:
XHTML, HTML 4.01, or some older version.
It looks like it is XHTML. If so, is there a way to tell it
to generate HTML 4.01?
Q3.
I noticed some keyboard shortcuts are defined for Xinha
(<ctrl-1> for H1, etc).
They have apparently nothing to do with the plugin that
allows changes like that from the toolbar.
So is there a way to disable these boys?
(I don't want to allow content editor anything but entering
plain text, lists, emphasis etc.)
Any help is greatly appreciated.
Thanks,
Reinier van den Born
--
Reinier van den Born
HintTech B.V.
Rotterdamseweg 183c, 2629 HD Delft
T: +31(0)15 268 2573
F: +31(0)15 268 2567
M: +31(0)6 494 171 36
--
HintTech levert specialisten op het gebied van
softwareontwikkeling (.NET en Java), projectmanagement,
informatiebeveiliging en business consulting.
KvK Den Haag nr. 27242282 | BTW nr. NL8062.16.396.B01
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
--
Reinier van den Born
HintTech B.V.
Rotterdamseweg 183c, 2629 HD Delft
T: +31(0)15 268 2573
F: +31(0)15 268 2567
M: +31(0)6 494 171 36
--
HintTech levert specialisten op het gebied van softwareontwikkeling (.NET en
Java),
projectmanagement, informatiebeveiliging en business consulting.
KvK Den Haag nr. 27242282 | BTW nr. NL8062.16.396.B01
begin:vcard
fn:Reinier van den Born
n:van den Born;Reinier
org:HintTech B.V.
adr:;;Rotterdamseweg 183c;Delft;;2629HD;Netherlands
email;internet:[EMAIL PROTECTED]
tel;work:+31-15-268 2573
tel;fax:+31-15-268 2567
tel;cell:+31-6 494 171 36
note;quoted-printable:KvK Den Haag nr. 27242282 | BTW nr. NL8062.16.396.B01=0D=0A=
=0D=0A=
HintTech levert specialisten op het gebied van softwareontwikkeling (.NET=
en Java), projectmanagement, informatiebeveiliging en business consulting=
.=0D=0A=
=0D=0A=
url:www.hinttech.com
version:2.1
end:vcard
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html