FUEL CMS Forum
Discussions
Activity
Home
›
Development
›
Feature Requests
Sign In
·
Register
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
3.3K
All Categories
255
FUEL CMS News
112
News & Announcements
101
Share
273
Support
115
Bug Reports
90
Installation
242
Development
68
Feature Requests
117
Modules
CRITICAL SECURITY VERSION UPDATE:
https://github.com/daylightstudio/FUEL-CMS/releases/tag/1.4.13
Is there a hook for the CMS "duplicate" function?
pierlo
February 2013
edited February 2013
in
Feature Requests
Hello there,
is there a way to detect when an entry is being duplicated via the CMS action 'duplicate' so that certain actions can be taken?
thanks!
Comments
admin
February 2013
edited February 2013
There is not at the moment. It simply just looks for a $_POST key of "dup" on the controller's "create" method.
What are you needing to do on duplicate that's different?
pierlo
February 2013
edited 9:25AM
Well, i'd like to be able to also duplicate uploaded content via some of my own highly custom media uploads methods...
Thanks anyway, I think I'll implement my own 'Duplicate' button and add it to the 'Others' action in the top bar...
admin
February 2013
edited 9:25AM
I thought it a good idea to add. I've added it as an "on_duplicate" model hook so you can add that functionality to your model.
pierlo
February 2013
edited 9:25AM
Great! Thanks
Sign In
or
Register
to comment.
Forum Software Powered by Vanilla
Comments
What are you needing to do on duplicate that's different?
Thanks anyway, I think I'll implement my own 'Duplicate' button and add it to the 'Others' action in the top bar...