You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by MShah <mo...@yahoo.com> on 2009/02/07 01:04:29 UTC
Configuring multiple editable bxe or kupu areas on a page in a
publication in Lenya?
In version 2.0 of lenya how to do configure it to have multiple bxe or kupu
editable areas on a page in a publication? Any inputs or direction in
doing this will be apreciated. I looked at the blog
http://wiki.apache.org/cocoon-lenya/MultipleEditAreasHowTo
and that is for an older version. I need some direction on how to go about
doing this. Any inputs will be much appreciated.
Best regards,
Monisha
--
View this message in context: http://www.nabble.com/Configuring-multiple-editable-bxe-or-kupu-areas-on-a-page-in-a-publication-in-Lenya--tp21883303p21883303.html
Sent from the Lenya - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Configuring multiple editable bxe or kupu areas on a page in
a publication in Lenya?
Posted by Andreas Hartmann <an...@apache.org>.
Hi Monisha,
btw, please invest a couple of minutes in reading the quoting guidelines
mentioned on the "Mailing Lists" page on the Lenya website. Thanks a lot!
MShah schrieb:
> In the Apache Lenya publication, we want restrict edit access based on the
> users. So we want the area on the right side of the page to be edited by
> one set of users and the area at the bottom to be edited by another set of
> users.
Since Lenya uses a per-document access control mechanism, the most
straightforward (and most secure) way to accomplish this is using
separate documents. This should probably be opaque to the user:
* The custom Create usecase would add all sub-documents when the main
document is created.
* You'd add a menu item for each sub-document: "Edit sidebar", "Edit
bottom area" etc.
Maybe it even makes sense to re-use sidebar documents on multiple pages,
e.g. via XInclude?
If you don't want to use this approach, you probably have to patch or
override (see fallback concept) the module(s) of the editor(s) you want
to use. This could be quite a complex task, though. I remember an
implementation of such a mechanism with Xopus, but that was years ago
and not a walk in the park.
I'd recommend the first approach (using multiple documents). This will
probably be easier to implement and doesn't require to dig into the
complicated editor code.
HTH,
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Configuring multiple editable bxe or kupu areas on a page in a
publication in Lenya?
Posted by MShah <mo...@yahoo.com>.
Andreas,
In the Apache Lenya publication, we want restrict edit access based on the
users. So we want the area on the right side of the page to be edited by
one set of users and the area at the bottom to be edited by another set of
users. The objective here is when we say edit using bxe or kupu we do not
want the entire page content to be displayed in that, only the content for
the portion that the users have access to edit. Is it possible to do this
and if so how? Any inputs will be much appreciated.
Best regards,
Monisha
Andreas Hartmann wrote:
>
> Hi Monisha,
>
> MShah schrieb:
>> In version 2.0 of lenya how to do configure it to have multiple bxe or
>> kupu
>> editable areas on a page in a publication? Any inputs or direction in
>> doing this will be apreciated. I looked at the blog
>> http://wiki.apache.org/cocoon-lenya/MultipleEditAreasHowTo
>>
>> and that is for an older version. I need some direction on how to go
>> about
>> doing this. Any inputs will be much appreciated.
>
> would you mind describing what you're trying to achieve in a bit more
> detail? There are multiple approaches, it depends on your intention.
>
> -- Andreas
>
>
> --
> Andreas Hartmann, CTO
> BeCompany GmbH
> http://www.becompany.ch
> Tel.: +41 (0) 43 818 57 01
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Configuring-multiple-editable-bxe-or-kupu-areas-on-a-page-in-a-publication-in-Lenya--tp21883303p21918264.html
Sent from the Lenya - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Configuring multiple editable bxe or kupu areas on a page in
a publication in Lenya?
Posted by Andreas Hartmann <an...@apache.org>.
Hi Monisha,
MShah schrieb:
> In version 2.0 of lenya how to do configure it to have multiple bxe or kupu
> editable areas on a page in a publication? Any inputs or direction in
> doing this will be apreciated. I looked at the blog
> http://wiki.apache.org/cocoon-lenya/MultipleEditAreasHowTo
>
> and that is for an older version. I need some direction on how to go about
> doing this. Any inputs will be much appreciated.
would you mind describing what you're trying to achieve in a bit more
detail? There are multiple approaches, it depends on your intention.
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org