We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Duplicate Entry

Development and Programming

Mark Huot's avatar
Mark Huot
587 posts
15 years ago
Mark Huot's avatar Mark Huot

I’ve created a simple extension that adds a “Duplicate” button to the Edit form. Right now it uses JS to redirect the page so you’ll nee JS to use it.

EDIT: This extension ‘duplicated’ (;-)) the cloner extension and has since been retired and it’s jersey hung up in the gym.

       
Paul Burdick's avatar
Paul Burdick
480 posts
15 years ago
Paul Burdick's avatar Paul Burdick

Is this basically cloning a currently existing entry?

       
Mark Huot's avatar
Mark Huot
587 posts
15 years ago
Mark Huot's avatar Mark Huot

Yup, same as what you made, I just hadn’t seen your extension.

       
Rob Quigley's avatar
Rob Quigley
236 posts
15 years ago
Rob Quigley's avatar Rob Quigley

I can’t seem to make this work. Latest build of EE and 1.0 version of your extension. I disabled all extensions and hacks but the duplicate extension and no luck. I click duplicate and the page refreshes and I notice at the bottom of the publishing page brackets “<>” shows up and when I go to the Edit page to find a duplicate entry none exist. Strange. I realize theres the cloner extension by Paul but I’d prefer yours as it doesn’t take up Edit page real estate.

If you want to take a look I can PM you access to the site pages.

       
Mark Huot's avatar
Mark Huot
587 posts
15 years ago
Mark Huot's avatar Mark Huot

Yea, if you can PM me a login i’ll take a look.

       
Rob Quigley's avatar
Rob Quigley
236 posts
15 years ago
Rob Quigley's avatar Rob Quigley

Ok, thanks, you should have a pm there.

       
Rob Quigley's avatar
Rob Quigley
236 posts
15 years ago
Rob Quigley's avatar Rob Quigley

Thanks Mark for helping me. For those like me that don’t pick up on the obvious that quickly, It works juuuust fine if you hit the “Submit” button after hitting Duplicate. DOH!! 😊

       
Oldtimer's avatar
Oldtimer
10 posts
15 years ago
Oldtimer's avatar Oldtimer

Looks great, installed!

       
Ryan M.'s avatar
Ryan M.
1,511 posts
about 15 years ago
Ryan M.'s avatar Ryan M.

What are the main differences between this and the Cloner extension? I can never keep these two straight, and I actually have to install one for a client today.

       
Mark Huot's avatar
Mark Huot
587 posts
about 15 years ago
Mark Huot's avatar Mark Huot

No difference, I’d probably use the cloner extension though since it’ll probably get better support being a 1st party extension.

       
Ryan M.'s avatar
Ryan M.
1,511 posts
about 15 years ago
Ryan M.'s avatar Ryan M.

Thanks, Mark.

I just installed Cloner and it’s working OK, although it does conflict with my own “Add Site Name” extension, apparently on the show_full_control_panel_end hook. Changing the priority of that hook in the Cloner extension to ‘9’ makes them work well together. I’m not sure if that’s the best way to get extensions to play nice - but it’s working!

       
Mark Huot's avatar
Mark Huot
587 posts
about 15 years ago
Mark Huot's avatar Mark Huot

huh, that’s strange. i guess it works to just change the priority.

       
johnnyb's avatar
johnnyb
45 posts
13 years ago
johnnyb's avatar johnnyb

Hi Mark, hope you get this. How do I download and install this? I downloaded the Cloner extension files to my local computer but I don’t know what to do beyond that to install them either. FTP to site? Where exactly? I’ve never used an extension or plugin before and I’m using v.1.4.1. too.
Thanks jb

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.