Duplicate Entry
Posted: 26 October 2006 03:51 PM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  2006-01-05

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.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 26 October 2006 11:46 PM   [ Ignore ]   [ # 1 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  7534
Joined  2002-08-05

Is this basically cloning a currently existing entry?

 Signature 
Profile
 
 
Posted: 26 October 2006 11:49 PM   [ Ignore ]   [ # 2 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  2006-01-05

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

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 20 November 2006 07:12 PM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  380
Joined  2004-10-10

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.

Profile
 
 
Posted: 20 November 2006 08:20 PM   [ Ignore ]   [ # 4 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  2006-01-05

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

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 20 November 2006 11:59 PM   [ Ignore ]   [ # 5 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  380
Joined  2004-10-10

Ok, thanks, you should have a pm there.

Profile
 
 
Posted: 21 November 2006 11:55 AM   [ Ignore ]   [ # 6 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  380
Joined  2004-10-10

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!! smile

Profile
 
 
Posted: 08 January 2007 12:14 PM   [ Ignore ]   [ # 7 ]  
Grad Student
Rank
Total Posts:  79
Joined  2002-01-22

Looks great, installed!

Profile
 
 
Posted: 19 July 2007 08:17 AM   [ Ignore ]   [ # 8 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1394
Joined  2006-03-26

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.

 Signature 

ryan masuga
Masuga DesignMember, EE Pro Network
Peruse my EE Plugins & Extensions

Profile
 
 
Posted: 19 July 2007 08:21 AM   [ Ignore ]   [ # 9 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  2006-01-05

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

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 19 July 2007 08:32 AM   [ Ignore ]   [ # 10 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1394
Joined  2006-03-26

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!

 Signature 

ryan masuga
Masuga DesignMember, EE Pro Network
Peruse my EE Plugins & Extensions

Profile
 
 
Posted: 19 July 2007 08:46 AM   [ Ignore ]   [ # 11 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  2006-01-05

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

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 59014 Total Logged-in Users: 24
Total Topics: 69969 Total Anonymous Users: 11
Total Replies: 376984 Total Guests: 531
Total Posts: 446953    
Members ( View Memberlist )
Newest Members:  abahkinezoAdnan RajabrasstunerjishiHa.ahn.Mnmakoto kuwatawstuckey81unexpectedlyBelle