Changes between Version 28 and Version 29 of Documentation/OldNewbieGuide


Ignore:
Timestamp:
01/26/08 23:02:38 (12 years ago)
Author:
ray
Comment:

changed some misunderstandable lines see #813

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/OldNewbieGuide

    v28 v29  
    3434If you are using a different directory, make sure you change both _editor_url and the location of !XinhaCore.js in the above code accordingly. 
    3535 
    36 You will also need some config code included in the page too - there are two ways of doing this: 
    37  
    38  
    39 '''1)''' copying the text below into a new file called "my_config.js" and including this file using 
     36You will also need some config code included in the page too. Either put the code below into a new file called "my_config.js" and including this file using 
    4037{{{ 
    4138#!text/html 
    4239<script type="text/javascript" src="/xinha/my_config.js"></script> 
    4340}}} 
    44  This allows you to use many X-Areas on many pages all with the same configuration. 
    45  
    46 '''2)''' just copy the code below into your page - this will need to be done on every page you want an editor on, and will allow you to customise each one as you want.  '''You will need to surround the code below with <script type="text/javascript"> </script> tags if you use this second option.''' 
     41or just copy it into your page and wrap it in <script type="text/javascript"> </script> tags - this will need to be done on every page you want an editor on, and will allow you to customise each one as you want.  
    4742 
    4843{{{