Foros de discusión

How can I copy a page?

thumbnail
Pierpaolo Cira, modificado hace 13 años.

How can I copy a page?

Regular Member Mensajes: 141 Fecha de incorporación: 26/02/10 Mensajes recientes
Hi,

does it exist a LR portal funcitonality or plugin that make me able to select a node and to duplicate its structure (it and its children)?

Thank you
thumbnail
Dhrutika Parekh, modificado hace 13 años.

RE: How can I copy a page?

Expert Mensajes: 435 Fecha de incorporación: 9/02/09 Mensajes recientes
Hi,

Do you mean like Copy one liferay page to another with same structure and content?

If yes then,there is option in Manage pages to copy required page.

Regards,
Dhrutika
thumbnail
Pierpaolo Cira, modificado hace 13 años.

RE: How can I copy a page?

Regular Member Mensajes: 141 Fecha de incorporación: 26/02/10 Mensajes recientes
Dhrutika Parekh:
Hi,

Do you mean like Copy one liferay page to another with same structure and content?

If yes then,there is option in Manage pages to copy required page.

Regards,
Dhrutika


Hi, and thanks for your attenction.
I assume you're speaking about the select list, but it isn't what I would like to get.

For example I can have this node structure:
a
-a1
-a2
b
-b1
-b2
--b21
--b22
--b23
-b3

E.g. I would like to select the node b2, to click a "copy" button and to get the structure like:
a
-a1
-a2
b
-b1
-b2
--b21
--b22
--b23
-b2 copy
--b21 copy
--b22 copy
--b23 copy
-b3

It is not important to get the content in the new nodes.

I use LR portal 5.1.2... and I'm thinking that I should write a plugin for this needs.

What do you think about?

Thank you
thumbnail
Dhrutika Parekh, modificado hace 13 años.

RE: How can I copy a page?

Expert Mensajes: 435 Fecha de incorporación: 9/02/09 Mensajes recientes
Hi,

Now I got your question.You should write your own code for this.

and please share it so it can be helpful in future.

Regards,
Dhrutika
Carolyn Curtis, modificado hace 11 años.

RE: How can I copy a page?

New Member Mensajes: 4 Fecha de incorporación: 4/09/12 Mensajes recientes
Did you ever find a way to do this? Or implement it yourself? I need to be able to do the same thing
thumbnail
Hitoshi Ozawa, modificado hace 11 años.

RE: How can I copy a page?

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
Seriously, you're not still using liferay 5.1. Why don't you create a new thread asking how to do this with liferay 6.1.1 GA2 instead of replying to an overly outdated thread.