GetSimple Support Forum
Add action for clone page. - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Feature Requests (http://get-simple.info/forums/forumdisplay.php?fid=7)
+--- Thread: Add action for clone page. (/showthread.php?tid=10001)



Add action for clone page. - dazz13 - 2017-10-02

Could you please add to "exec_action('page-clone');" to pages.php?

Code:
if ($status) {
            exec_action('page-clone');  <-- ADD THIS LINE
            create_pagesxml('true');
            header('Location: pages.php?upd=clone-success&id='.$newurl);

Thank you


RE: Add action for clone page. - Tyblitz - 2017-10-02

+1, & perhaps also make it obvious (eg. in docs) that $newxml can be accessed there.


RE: Add action for clone page. - shawn_a - 2017-10-02

Exists in 3.4 but does not have access to any globals of use
Elaborate on what you want to be able to do


RE: Add action for clone page. - OttoGabriel - 2021-04-09

Has anyone responded to the add clone page? Redoing the work is not pleasing. Anyone with a way out?


https://minotaurfightstore.co.uk/mens-fight-gear/training/boxing-shorts/ | https://minotaurfightstore.co.uk/mens-fight-gear/training/fight-shorts/


RE: Add action for clone page. - Felix - 2021-04-09

Hi

Copying - Cloning - Creating Pages is already in the Get-Simple API

Check these posts about it:

http://get-simple.info/forums/showthread.php?tid=7886
http://get-simple.info/forums/showthread.php?tid=5753
http://get-simple.info/forums/showthread.php?tid=10591

Zekoolweb and Shawn created a script


RE: Add action for clone page. - Oleg06 - 2021-04-10

(2021-04-09, 22:41:36)OttoGabriel Wrote: Has anyone responded to the add clone page? Redoing the work is not pleasing. Anyone with a way out?

https://prnt.sc/1188xrl