Clone/Duplicate Content

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
konsument
Forum Members
Forum Members
Posts: 137
Joined: Thu Oct 26, 2006 9:20 am

Clone/Duplicate Content

Post by konsument »

Hi Folks,

after hours of searching...

Ive set up a page structure like this:

- John Doe
   - Contact
   - About me
   - Specials
   - Something
   - Something else
   - ...

now I need to duplicate this structure for about 120 Users:

- John Doe
   - 001 Contact
   - 001 About me
   - 001 Specials
   - 001 Something
   - 001 Something else
   - 001 ...
- Peter Doe
   - 002 Contact
   - 002 About me
   - 002 Specials
   - 002 Something
   - 002 Something else
   - ...
....

I found this Thread, but it seems like this issue wasnt posted as feature request.

I really need to get this issue solved somehow because I have 14 subpages for 120 Users. This means I have to set up about 1700 pages manually  :o

If this isnt possible with any module - is there a way to handle this issue by sql?  ???

Help would be highly appreciated!
Peciura

Re: Clone/Duplicate Content

Post by Peciura »

Why don't you want to create 

Code: Select all

List of users
-Dynamic Name and Last name
   - Contact
   - About me
   - Specials
   - Something
   - Something else
   - ...
You could pass User id as url parameter and that should be enough to show user specific content. Also Front End User Listing is doing thing similar thing you are asking. In addition user properties can be displayed in tabs, as seen in CMSms admin panel.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Clone/Duplicate Content

Post by Rolf »

Hello konsument

It is good to know that you can't have 120 pages with the same page-alias.
You will get f.i. contact, contact-2, contact-3, etc.

I would create in Excel a list of all the info you need, you can use copy and paste here:
John Doe
Contact
About me
Specials
Something
Something else
...
Peter Doe
Contact
About me
Specials
Something
Something else
...

Use a macro recorder, like: http://www.jitbit.com/macrorecorder.aspx Free trail.
You can record all handlings for creating one page, with subpages.
The macro recorder will duplicate these actions.
While it is creating the 1700 pages, you can drink a cup of coffee  ;)

You have to learn yourself which steps you need to create a working macro, but then it works great!!!
I used it several times and it saved me a lot of working hours.

Grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
konsument
Forum Members
Forum Members
Posts: 137
Joined: Thu Oct 26, 2006 9:20 am

Re: Clone/Duplicate Content

Post by konsument »

Hey Rolf,

Thanks for the hint to the macro-recorder. But untill Ive created a usefull record I could duplicate all the pages manually ;D

Seems like I have to insert all pages by sql. Then I also could assign some pages to special editors/users..

Wish I were a programmer .. I immediately would build a module just like Joomlas "Mass Content"  :-X
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Clone/Duplicate Content

Post by Rolf »

But untill Ive created a usefull record I could duplicate all the pages manually
Trust me, it isn't that hard   :D

Have you ever tried the combination of FrontEndUsers and the CGUserdirectory?
You can create very easily personal pages with text, links, images etc.
In the admin you can create new users, and the users can fill in forms on the frontend creating their own pages.
Just a thought  ;)

Greetz, Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
konsument
Forum Members
Forum Members
Posts: 137
Joined: Thu Oct 26, 2006 9:20 am

Re: Clone/Duplicate Content

Post by konsument »

Rolf wrote: Have you ever tried the combination of FrontEndUsers and the CGUserdirectory?
Yes. But I havent seen a possibility to assign fe-users as aditional editor or owner of pages in backend!?

So I guess a feu has to create pages in frontend to get assigned as owner of it? I played around a lot with the feu-module but didnt found a way to create or edit pages through frontend... ???
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Clone/Duplicate Content

Post by Rolf »

Yes. But I havent seen a possibility to assign fe-users as aditional editor or owner of pages in backend!?
No All is done on the frontend.
The only thing you need to do is create a feu account in the backend.
So I guess a feu has to create pages in frontend to get assigned as owner of it?
With CustomContent you can create a private page for changing the account and other content.

And you don't need to create pages for each member.
CGUserdirectory has a listtemplate and use a detailpage for the detailview of each user.
You need to set them up with fields like your own wishes.
With a few pages you can maintain the whole website.

You also don't need to give anybody an admin login.

R.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “CMSMS Core”