Re: "tinymce editor" got successfully build

munish sharma <[email protected]> Fri, 01 Jun 2012 18:43:40 +0530
Newsgroups gmane.comp.cms.lenya.user
Message-ID <[email protected]>
--------------090300000901090501020402
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit

Hi,

check this out, the actual documentation which has provided by the 
apache lenya:

http://lenya.apache.org/docu20/standardmodules/tinymcemodulesection/tinymcemoduleoverview.html

and see the step no 4, what does it says.


On 01/06/12 18:30, florent andré wrote:
> I don't see anywhere in the documentation something about adding / 
> modifying usecase...
> As far as I understand you do this for solving the problem (and in 
> fact don't seems to solve it), but are you sure this is the solution 
> of this problem ?
> Also as it's seems to be credential related, are you sure you are 
> logged with an ID that can "edit" ?
>
> ++
>
> On 06/01/2012 02:54 PM, munish sharma wrote:
>> Exactly , any nave who want to use "tinymce" will definitely get
>> confuse, while reading that documentation.
>>
>>
>> On 01/06/12 17:49, Vik Tara wrote:
>>> On 06/01/2012 01:02 PM, munish sharma wrote:
>>>> Hi,
>>>>
>>>> Done with the whole process of configuration and running of "tinymce".
>>>> Now its working fine, Trying to learn next process of my task "Apache
>>>> Lenya Content Editable Module".
>>>>
>>>> Whole process that i have follow:
>>>>
>>>> *For apache-lenya-2.0.4 with tinymce 2.1.2*
>>>>
>>>> 1) Download a fresh copy of tinymce 2.1.2
>>>>
>>>> 2)Unpack the archive in the resources directory of the tinymce module
>>>> (|lenya/src/modules/tinymce/resources/|) to make it globally 
>>>> available.
>>>>
>>>> 3) Check the file permissions of the new "tinymce" directory. It
>>>> should not be world-writable for security reasons.
>>>> we can fix that with following command :
>>>>
>>>> chmod -R og-w tinymce/
>>>>
>>>> 4) Add the appropriate permissions to
>>>> |$PUB_HOME/config/access-control/usecase-policies.xml| (or use the
>>>> usecase administration GUI), for example:
>>>>
>>>> <usecase id="tinymce.edit">
>>>> <role id="admin" method="grant"/>
>>>> <role id="edit" method="grant"/> </usecase>
>>>>
>>>> ( Note :If the permissions exits in the same file, no need to edit.)
>>>>
>>>> 5) For adding up a menu entry, in |$PUB_HOME/config/publication.xml|
>>>> add follow code in <module/> :
>>>>
>>>> <module name="tinymce"/>
>>>>
>>>> Now build the lenya again, it will definitely work and run smoothly.
>>>>
>>>>
>>>> ------------------------------------------------------------------------------------------------------------------------------------------------------------- 
>>>>
>>>>
>>>>
>>>> Actually the issue was compatibility between *TinyMCE 3.x in Lenya
>>>> 2.0.X*, I follow the procedure given in :
>>>> http://wiki.apache.org/lenya/HowToInstallTinyMCE3.x
>>>>
>>>> It wont work, then again i try to configure with "*TinyMCE**2.1.2"*.
>>>>
>>>> Please check my previous mail's steps no 4, there I mention a NOTE.
>>>>
>>>> *Issue was :*
>>>>
>>>> If we add the new permission in existing xml file, editor will stay
>>>> disable on lenya.
>>>> Reason we have existing usecase with*sitemanager* :
>>>>
>>>> <usecase id="tinymce.edit">
>>>> <role id="*sitemanager*" method="grant"/>
>>>> <role id="edit" method="grant"/>
>>>> </usecase>
>>>>
>>>> If we add new usecase with *"admin"*:
>>>> <usecase id="tinymce.edit">
>>>> <role id="admin" method="grant"/>
>>>> <role id="edit" method="grant"/> </usecase>
>>>>
>>>> It make conflict ion with two , so no need to retain both usecase.
>>>> We can use only one from above at a time.
>>>>
>>>> ------
>>>> Thanks & regard ,
>>>>
>>>> Munish Sharma
>>> Munish, I think you are trying to say there is something wrong in the
>>> documentation for installing tinymce in lenya?
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>


--------------090300000901090501020402
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi,<br>
    <br>
    check this out, the actual documentation which has provided by the
    apache lenya:<br>
    <br>
    <small><a class="moz-txt-link-freetext" href="http://lenya.apache.org/docu20/standardmodules/tinymcemodulesection/tinymcemoduleoverview.html">http://lenya.apache.org/docu20/standardmodules/tinymcemodulesection/tinymcemoduleoverview.html</a></small><br>
    <br>
    and see the step no 4, what does it says.<br>
    <br>
    <br>
    On 01/06/12 18:30, florent andré wrote:
    <blockquote cite="mid:[email protected]" type="cite">I
      don't see anywhere in the documentation something about adding /
      modifying usecase...
      <br>
      As far as I understand you do this for solving the problem (and in
      fact don't seems to solve it), but are you sure this is the
      solution of this problem ?
      <br>
      Also as it's seems to be credential related, are you sure you are
      logged with an ID that can "edit" ?
      <br>
      <br>
      ++
      <br>
      <br>
      On 06/01/2012 02:54 PM, munish sharma wrote:
      <br>
      <blockquote type="cite">Exactly , any nave who want to use
        "tinymce" will definitely get
        <br>
        confuse, while reading that documentation.
        <br>
        <br>
        <br>
        On 01/06/12 17:49, Vik Tara wrote:
        <br>
        <blockquote type="cite">On 06/01/2012 01:02 PM, munish sharma
          wrote:
          <br>
          <blockquote type="cite">Hi,
            <br>
            <br>
            Done with the whole process of configuration and running of
            "tinymce".
            <br>
            Now its working fine, Trying to learn next process of my
            task "Apache
            <br>
            Lenya Content Editable Module".
            <br>
            <br>
            Whole process that i have follow:
            <br>
            <br>
            *For apache-lenya-2.0.4 with tinymce 2.1.2*
            <br>
            <br>
            1) Download a fresh copy of tinymce 2.1.2
            <br>
            <br>
            2)Unpack the archive in the resources directory of the
            tinymce module
            <br>
            (|lenya/src/modules/tinymce/resources/|) to make it globally
            available.
            <br>
            <br>
            3) Check the file permissions of the new "tinymce"
            directory. It
            <br>
            should not be world-writable for security reasons.
            <br>
            we can fix that with following command :
            <br>
            <br>
            chmod -R og-w tinymce/
            <br>
            <br>
            4) Add the appropriate permissions to
            <br>
            |$PUB_HOME/config/access-control/usecase-policies.xml| (or
            use the
            <br>
            usecase administration GUI), for example:
            <br>
            <br>
            &lt;usecase id="tinymce.edit"&gt;
            <br>
            &lt;role id="admin" method="grant"/&gt;
            <br>
            &lt;role id="edit" method="grant"/&gt; &lt;/usecase&gt;
            <br>
            <br>
            ( Note :If the permissions exits in the same file, no need
            to edit.)
            <br>
            <br>
            5) For adding up a menu entry, in
            |$PUB_HOME/config/publication.xml|
            <br>
            add follow code in &lt;module/&gt; :
            <br>
            <br>
            &lt;module name="tinymce"/&gt;
            <br>
            <br>
            Now build the lenya again, it will definitely work and run
            smoothly.
            <br>
            <br>
            <br>
-------------------------------------------------------------------------------------------------------------------------------------------------------------
            <br>
            <br>
            <br>
            Actually the issue was compatibility between *TinyMCE 3.x in
            Lenya
            <br>
            2.0.X*, I follow the procedure given in :
            <br>
            <a class="moz-txt-link-freetext" href="http://wiki.apache.org/lenya/HowToInstallTinyMCE3.x">http://wiki.apache.org/lenya/HowToInstallTinyMCE3.x</a>
            <br>
            <br>
            It wont work, then again i try to configure with
            "*TinyMCE**2.1.2"*.
            <br>
            <br>
            Please check my previous mail's steps no 4, there I mention
            a NOTE.
            <br>
            <br>
            *Issue was :*
            <br>
            <br>
            If we add the new permission in existing xml file, editor
            will stay
            <br>
            disable on lenya.
            <br>
            Reason we have existing usecase with*sitemanager* :
            <br>
            <br>
            &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>
            If we add new usecase with *"admin"*:
            <br>
            &lt;usecase id="tinymce.edit"&gt;
            <br>
            &lt;role id="admin" method="grant"/&gt;
            <br>
            &lt;role id="edit" method="grant"/&gt; &lt;/usecase&gt;
            <br>
            <br>
            It make conflict ion with two , so no need to retain both
            usecase.
            <br>
            We can use only one from above at a time.
            <br>
            <br>
            ------
            <br>
            Thanks &amp; regard ,
            <br>
            <br>
            Munish Sharma
            <br>
          </blockquote>
          Munish, I think you are trying to say there is something wrong
          in the
          <br>
          documentation for installing tinymce in lenya?
          <br>
        </blockquote>
        <br>
        <br>
      </blockquote>
      <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>

--------------090300000901090501020402--