duplicating 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.
Locked
filigraf

duplicating content

Post 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...
forreststevens

Re: duplicating content

Post 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.  ;D
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: duplicating content

Post 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.
forreststevens

Re: duplicating content

Post 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?  :)
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: duplicating content

Post 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.
forreststevens

Re: duplicating content

Post 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!
Locked

Return to “CMSMS Core”