Page 1 of 1
duplicating content
Posted: Wed Apr 27, 2005 9:40 am
by filigraf
I chose CMS MS because I want my clients to be able to administer their content all by themselves. So far, CMS MS seems the best CMS for this purpose, however, there is one thing that I am missing:
I am missing the ability to duplicate a content page.
It is possible to duplicate a template, why is not possible to duplicate content?
All that I know is that the file responsible for duplicating a template is cms/admin/copytemplate.php
Is is possible to write a similar file responsible for copyiing content and include an icon in the content management section?
Could anyone offer help in coding?
I am a total PHP dummi

- sorry!
Without this vital function I fear my efforts in setting up CMS MS as my standard client-side CMS would have been in vain...
Re: duplicating content
Posted: Sun Apr 09, 2006 3:59 pm
by forreststevens
Anyone ever follow up on this? This seems like a crucial piece of functionality for keeping CMS administration simple for the non-technical user. I know there's a "Copy" command for stylesheets and other pieces of information but not a "Copy" or "Save-As" function for regular pages? Or am I just missing it?
Thanks for any information and for a wonderful piece of software. I've used and implemented many CMS options for my clients and CMSMS seems to have huge potential. If this duplication functionality isn't already there or isn't waiting in the wings I'll add it myself. Just let me know.

Re: duplicating content
Posted: Sun Apr 09, 2006 4:01 pm
by Ted
It's one of those little details that I keep forgetting about doing. In reality, it's not that hard to do. Load content object. Remove the id. Save it...
Though, the title and alias need to have _copy appeneded to them, or a separate screen to ask for the new ones would have to be put in as well.
Re: duplicating content
Posted: Sun Apr 09, 2006 4:06 pm
by forreststevens
Thank you so much for your prompt reply and the info... With this additional information I'm sure I could get it done, though in probably twice the time it would take someone familiar with the codebase. Shall I do this and submit a patch or assume it will make it's way into subversion soon?

Re: duplicating content
Posted: Sun Apr 09, 2006 6:59 pm
by Ted
Well, I probably won't get to it for a couple of days, so if you're feeling daring, I'd say go for it. I'll be around on and off all day on IRC, so you can jump on there (click the Chat button above) if you get stuck. And, yes, a patch against the latest svn checkout would be best.
Re: duplicating content
Posted: Tue May 23, 2006 5:21 pm
by forreststevens
So content duplication didn't make it into 13.0... Bummer. I still haven't had time to add it myself so I can't really complain. But it would be great if it were added to 13.1 in case you already have the patch laying around.

Thanks for all your hard work, 13.0 looks good!