Re: Hit a problem while configuration and using of "tinymce editor"

munish sharma <[email protected]> Thu, 31 May 2012 19:18:24 +0530
Newsgroups gmane.comp.cms.lenya.user
Message-ID <[email protected]>
--------------070809010902010200040603
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

I have try to rebuild it with clean all  and try to sort out the 
compatibility issue, but at last result was same(not showing me the 
editor).
I tried to make compatible*TinyMCE 3.x in Lenya 2.0.4* which can be done 
with very simple steps :

    * TinyMCE will not work if uploads are disabled. So either you set
      uploads.enable in local.build.properties, *or* you modify the
    * build/lenya/webapp/WEB-INF/web.xml
    * file as follows
    *

      <init-param>

          o

            <param-name>enable-uploads</param-name>
            <param-value>true</param-value>

      </init-param>

    * and restart lenya.
    *

      Get the TinyMCE Main package and Language packs from the Download
      page <http://tinymce.moxiecode.com/download.php>.

    * If you upgrade from tiny 2.x, make sure to delete all old files
      before installing.
    * Unpack the main package in
    * ..../modules/tinymce/resources/
    * Unpack the language packs in
    * ..../modules/tinymce/resources/tinymce/jscripts/tiny_mce/

so can any body put some light on it ?






On 31/05/12 17:40, munish sharma wrote:
> Hi,
>
> Now I have install and configure fresh copy of "tinymce 2.1.2" , which 
> has been specified by the apache-lenya installation file.
> But still it won't work !
>
> I have found bit confliction  in  :
>
> /home/dev02/Desktop/Propcoworkspace/apache-lenya-2.0.4-src/src/pubs/0019/config/access-control/usecase-policies.xml 
>
>
> There are two usecase :
> 1)<usecase id="tinymce.edit">
> <role id="sitemanager" method="grant"/>
> <role id="edit" method="grant"/>
> </usecase>
>
> 2) <usecase id="tinymce.edit">
> <role id="admin" method="grant"/>
> <role id="edit" method="grant"/>
> </usecase>
>
> Is that necessary to retain both usecase for "tinymce editor"?
>
>
>
>
> On 31/05/12 16:43, munish sharma wrote:
>> On 31/05/12 15:41, munish sharma wrote:
>>> Hi,
>>>
>>>  After installation&   configuration of "tinymce". I created new 
>>> demo page  of XHTML ,
>>>  when I tried to edit the same with "tinymce editor" it is just showing
>>>  me two button nothing else :
>>>  1) save
>>>  2) cancel
>>>
>>> But i didn't found any editor right there,can any body help ?
>>> I am working on LINUX.
>>>
>>>  Thanks :
>>>
>>>  Munish Sharma
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>


--------------070809010902010200040603
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi,<br>
    <br>
    I have try to rebuild it with clean all&nbsp; and try to sort out the
    compatibility issue, but at last result was same(not showing me the
    editor). <br>
    I tried to make compatible<small><small> <b><big><big>TinyMCE 3.x
              in Lenya 2.0.4</big></big></b></small></small> which can
    be done with very simple steps :<br>
    <ul>
      <li><small>TinyMCE will not work if uploads are disabled. So
          either you set uploads.enable in local.build.properties, <b>or</b>
          you modify the <span class="anchor" id="line-5"></span><span
            class="anchor" id="line-6"></span></small></li>
      <li class="gap" style="list-style-type: none;"><small>build/lenya/webapp/WEB-INF/web.xml
          <span class="anchor" id="line-7"></span><span class="anchor"
            id="line-8"></span></small></li>
      <li class="gap" style="list-style-type: none;"><small>file as
          follows <span class="anchor" id="line-9"></span><span
            class="anchor" id="line-10"></span></small></li>
      <li class="gap" style="list-style-type: none;">
        <p class="line891"><small>&lt;init-param&gt; <span
              class="anchor" id="line-11"></span></small></p>
        <ul>
          <li style="list-style-type: none;">
            <p class="line891"><small>&lt;param-name&gt;enable-uploads&lt;/param-name&gt;
                &lt;param-value&gt;true&lt;/param-value&gt; <span
                  class="anchor" id="line-12"></span></small></p>
          </li>
        </ul>
        <p class="line891"><small>&lt;/init-param&gt; <span
              class="anchor" id="line-13"></span><span class="anchor"
              id="line-14"></span></small></p>
      </li>
      <li class="gap" style="list-style-type: none;"><small>and restart
          lenya. </small></li>
      <li>
        <p class="line862"><small>Get the TinyMCE Main package and
            Language packs from the <a class="http"
              href="http://tinymce.moxiecode.com/download.php">Download
              page</a>. <span class="anchor" id="line-22"></span><span
              class="anchor" id="line-23"></span></small></p>
      </li>
      <li class="gap"><small>If you upgrade from tiny 2.x, make sure to
          delete all old files before installing. <span class="anchor"
            id="line-24"></span><span class="anchor" id="line-25"></span></small></li>
      <li class="gap"><small>Unpack the main package in <span
            class="anchor" id="line-26"></span><span class="anchor"
            id="line-27"></span></small></li>
      <li class="gap" style="list-style-type: none;"><small>..../modules/tinymce/resources/
          <span class="anchor" id="line-28"></span><span class="anchor"
            id="line-29"></span></small></li>
      <li class="gap"><small>Unpack the language packs in <span
            class="anchor" id="line-30"></span><span class="anchor"
            id="line-31"></span></small></li>
      <li class="gap" style="list-style-type: none;"><small>..../modules/tinymce/resources/tinymce/jscripts/tiny_mce/
        </small></li>
    </ul>
    so can any body put some light on it ?<br>
    <br>
    <br>
    <h2 id="HowTo_Install_TinyMCE_3.x_in_Lenya_2.0.X"><br>
    </h2>
    <br>
    <br>
    <br>
    On 31/05/12 17:40, munish sharma wrote:
    <blockquote cite="mid:[email protected]" type="cite">Hi,
      <br>
      <br>
      Now I have install and configure fresh copy of "tinymce 2.1.2" ,
      which has been specified by the apache-lenya installation file.
      <br>
      But still it won't work !
      <br>
      <br>
      I have found bit confliction&nbsp; in&nbsp; :
      <br>
      <br>
      /home/dev02/Desktop/Propcoworkspace/apache-lenya-2.0.4-src/src/pubs/0019/config/access-control/usecase-policies.xml
      <br>
      <br>
      There are two usecase :
      <br>
      1)&lt;usecase id="tinymce.edit"&gt;
      <br>
      &lt;role id="sitemanager" method="grant"/&gt;
      <br>
      &lt;role id="edit" method="grant"/&gt;
      <br>
      &lt;/usecase&gt;
      <br>
      <br>
      2) &lt;usecase id="tinymce.edit"&gt;
      <br>
      &lt;role id="admin" method="grant"/&gt;
      <br>
      &lt;role id="edit" method="grant"/&gt;
      <br>
      &lt;/usecase&gt;
      <br>
      <br>
      Is that necessary to retain both usecase for "tinymce editor"?
      <br>
      <br>
      <br>
      <br>
      <br>
      On 31/05/12 16:43, munish sharma wrote:
      <br>
      <blockquote type="cite">On 31/05/12 15:41, munish sharma wrote:
        <br>
        <blockquote type="cite">Hi,
          <br>
          <br>
          &nbsp;After installation&amp;&nbsp;&nbsp; configuration of "tinymce". I
          created new demo page&nbsp; of XHTML ,
          <br>
          &nbsp;when I tried to edit the same with "tinymce editor" it is
          just showing
          <br>
          &nbsp;me two button nothing else :
          <br>
          &nbsp;1) save
          <br>
          &nbsp;2) cancel
          <br>
          <br>
          But i didn't found any editor right there,can any body help ?
          <br>
          I am working on LINUX.
          <br>
          <br>
          &nbsp;Thanks :
          <br>
          <br>
          &nbsp;Munish Sharma
          <br>
        </blockquote>
        <br>
        <br>
---------------------------------------------------------------------
        <br>
        To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
        <br>
        For additional commands, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
        <br>
        <br>
      </blockquote>
      <br>
      <br>
---------------------------------------------------------------------
      <br>
      To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
      <br>
      For additional commands, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
      <br>
      <br>
    </blockquote>
    <br>
  </body>
</html>

--------------070809010902010200040603--