You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by munish sharma <mu...@techblue.co.uk> on 2012/06/01 14:02:27 UTC
"tinymce editor" got successfully build
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
Re: "tinymce editor" got successfully build
Posted by munish sharma <mu...@techblue.co.uk>.
Apache need to provide full documentation about the groups(admin ,site
manager) ,which is very difficult for the nave user, exactly where
should we need to apply the permission.
On 01/06/12 18:43, munish sharma wrote:
> 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: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>
Re: "tinymce editor" got successfully build
Posted by munish sharma <mu...@techblue.co.uk>.
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: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
Re: "tinymce editor" got successfully build
Posted by florent andré <fl...@4sengines.com>.
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: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: "tinymce editor" got successfully build
Posted by munish sharma <mu...@techblue.co.uk>.
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?
Re: "tinymce editor" got successfully build
Posted by Vik Tara <vi...@propco.co.uk>.
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?