Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add action for clone page.
#1
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
Reply
#2
+1, & perhaps also make it obvious (eg. in docs) that $newxml can be accessed there.
Reply
#3
Exists in 3.4 but does not have access to any globals of use
Elaborate on what you want to be able to do
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#4
Has anyone responded to the add clone page? Redoing the work is not pleasing. Anyone with a way out?


https://minotaurfightstore.co.uk/mens-fi...ng-shorts/ | https://minotaurfightstore.co.uk/mens-fi...ht-shorts/
Reply
#5
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
Reply
#6
(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
Reply




Users browsing this thread: 1 Guest(s)