Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Pierpaolo Cira
How can I copy a page?
July 7, 2010 5:22 AM
Answer

Pierpaolo Cira

Rank: Regular Member

Posts: 141

Join Date: February 26, 2010

Recent Posts

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
Dhrutika Vyas
RE: How can I copy a page?
July 7, 2010 6:06 AM
Answer

Dhrutika Vyas

Rank: Expert

Posts: 438

Join Date: February 9, 2009

Recent Posts

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
Pierpaolo Cira
RE: How can I copy a page?
July 7, 2010 6:44 AM
Answer

Pierpaolo Cira

Rank: Regular Member

Posts: 141

Join Date: February 26, 2010

Recent Posts

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
Dhrutika Vyas
RE: How can I copy a page?
July 7, 2010 11:02 AM
Answer

Dhrutika Vyas

Rank: Expert

Posts: 438

Join Date: February 9, 2009

Recent Posts

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
RE: How can I copy a page?
January 9, 2013 9:18 AM
Answer

Carolyn Curtis

Rank: New Member

Posts: 4

Join Date: September 4, 2012

Recent Posts

Did you ever find a way to do this? Or implement it yourself? I need to be able to do the same thing
Hitoshi Ozawa
RE: How can I copy a page?
January 9, 2013 1:55 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

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.