Announcement

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

#1 2005-02-25 17:30:13

dlst
Xinha Community Member
Registered: 2005-02-20
Posts: 33

best practice question - installing xinha

Hello,

Given the fluid nature of this project, I fully expect to perform upgrades, patches, and fixes as the excellent developers continue to contribute.  So...

What is the best way to install the package as a whole?  Can I simply put it in a /xinha/ directory, then call it from outside that directory, or will this cause problems?

I've no doubt that it's _possible_ to do it however I want... what I'm asking for here is the BEST way of doing it so that future upgrades are as painless as possible.

Thanks!

Offline

#2 2005-02-27 01:32:20

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

Re: best practice question - installing xinha

dlst wrote:

What is the best way to install the package as a whole?  Can I simply put it in a /xinha/ directory, then call it from outside that directory, or will this cause problems?

Yep that's the idea.

You just need to set _editor_url to the base URL where you put xinha before you load the javascript files

<script language="Javascript">
_editor_url = '/xinha/';
</script>
<script language="Javascript" src="/xinha/htmlarea.js"></script>

James Sleeman

Offline

Board footer

Powered by FluxBB