// you’re reading...

CMS

Plugin: Connect to Multiple Elements in Clipboard


It’s plugin time again folks!

This little script enables you to copy/connect multiple elements from one content class to another. It should save developers out there a considerable amount of time when you need to make changes to multiple templates within an existing project, or when you need to copy the elements from one template to another for use within a list.
(Anything to save you time is a win-win in my books.. it will also make your Project Manager happy too!)

Currently, the CMS only allows you to copy one element at a time which can be extremely frustrating if you have more than 2 or 3 elements you need to copy. For the life of me I don’t know why this is the case.. can anyone out there confirm if multi-copy of elements was available in CMS versions prior to 7.5?

How to use it:

  1. Within SmartTree mode, simply double click on the elements you wish to copy within a content class (either content, structural or meta) to add them to the clipboard.
  2. Ensure that all of the items in the clipboard have been selected. It doesn’t matter if you select other items like pages, publication packages etc. as the script will ignore these.
  3. Click on either the ‘Content Elements’, ‘Structural Elements’ or ‘Meta Elements’ node within the target content class and click on the ‘Connect to Multiple Elements in Clipboard’ link within the Action Menu.
  4. The plugin will open in a pop up window and will let you know when all elements have been processed.
    Plugin screenshot

PLEASE NOTE:
The plugin has been tested within CMS v7.5 and v9.0 only – and will copy all types of content, structural and meta elements. The script will not copy the option list entries for Option List elements and the default & sample text values for Text elements. These items will need to be managed manually.

To install the plugin:

  • Copy the “rdUIConnectMultipleElements” folder into the RedDot plugins folder
  • Install the plugin via the Server Manager

PLUGIN: Connect to Multiple Elements in Clipboard (ZIP, 38K)

Share and Enjoy:
  • Print
  • email
  • Twitter
  • Digg
  • Reddit
  • StumbleUpon
  • Google Bookmarks
  • del.icio.us
  • MisterWong
  • Facebook
  • LinkedIn
Related posts:
  1. Export RedDot CMS content to Excel
  2. Getting a Page Preview from outside the CMS
  3. 5 Template Tips – How to use HTML and CSS within RedDot CMS – Best practice for RedDot Consultants
  4. Two free RedDot CMS plugins – CMS User Chat & Batch Publish
  5. Debugging PreExecute ASP – Reloaded

About the author:

Kim Dezen Kim Dezen lives in Melbourne, Australia where he works as a Senior RedDot Development Consultant. A dedicated RedDot developer who thinks its time spread the word... share the info.. let it out to breathe..

Discussion

5 comments for “Plugin: Connect to Multiple Elements in Clipboard”

  1. [...] Zum Open Text Management Server Plugin. [...]

    Posted by RedDot CMS Plugin: Copy/Paste multiple template elements | RedDot CMS developer & TYPO3 freelancer blog - Markus Giesen | July 6, 2009, 4:21 am
  2. [...] This post was Twitted by markusgiesen [...]

    Posted by Twitted by markusgiesen | July 6, 2009, 4:28 am
  3. Thanks Kim, it is going to be good plug in to install to the CMS. Good work.

    Posted by Jamie Benoit | July 6, 2009, 1:37 pm
  4. Hi Kim,

    Thanks for this plugin!! Saves a lot of time.

    I do think I may have found a bug though. When you connect multiple option elements to a different content class, their values do not seem to be copied over as well.

    This is not a deal-breaker, but it is more work then I thought would be needed.

    Just wanted to give you a heads-up.

    Thanks Again!
    Ashley

    Posted by Ashley Doughty | September 9, 2009, 3:17 pm
  5. Hi Ashley,

    Glad the plugin is saving you a lot of time!

    Unfortunately the option list values are tricky to copy across.. its not impossible, but it will require extra development work.

    I was aware of this issue when i was working on the plugin, however I decided to leave it out – since the default ‘copy element’ functionality within the CMS doesnt copy the option list values either.

    Will let you know when the plugin is updated…

    Cheers,
    Kim

    Posted by Kim Dezen | September 10, 2009, 2:06 am

Post a comment



Stay up to date! - Get notified about followup comments

If you don't feel the urge to comment but wish to stay in the loop:
Just enter your email and subscribe to new comments.

Subscribe without commenting

Shoutbox, have your say!

Recent Tweets